This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-aarch64-lts-defconfig in repository toolchain/ci/llvm-project.
from 010f329803c8 [RISCV][Clang] Support policy function for all vector segm [...] adds 4038c859e58c [libc++][ranges] Implement `ranges::is_permutation` adds 52d4c5016c4f [libc++] Fix a hard error in `contiguous_iterator<NoOperat [...] adds 7d855bb8e133 [libc++][NFC] Remove outdated comment in CI pipeline definition adds cf08452e918e [libc++] Clarify comment in CI pipeline definition adds f6bd0a8f2bc4 [ELF] Add makeThreadLocal/makeThreadLocalN and remove Inpu [...] adds bad95b72eed0 [MLIR][Presburger] fourier-motzkin: check if all LCMs are [...] adds 1486a2eaf0bd [MLIR][Presburger] SlowMPInt::gcd: fix crash when sizes differ adds befa77e59a77 [lldb] Filter DIEs based on qualified name where possible adds a2de12c98733 [RISCV] Relax a one use restriction performSRACombine adds ffb8d4a958ac [gn build] Port 4038c859e58c adds db5a2afa6242 [OpenMP][DeviceRTL] Implement libc function `memcmp` adds 2515cb80cd3b [ELF] Parallelize input section initialization adds 0e051c02d51d Revert "[mlir][test] Fix IR/AttributeTest.cpp compilation [...] adds 459e3c51840a [OpenMP] Fix the test case issue that printf cannot be use [...] adds 967df65a3610 Revert "[lldb] Filter DIEs based on qualified name where p [...] adds 9a5b34be157d [InstSimplify] add tests for or-of-icmps; NFC adds d1a9ba7b6703 [libc] Prevent overflow from intermediate results when add [...] adds 9dbe839627be [Docs] Fix missing docs strings for CallingConv.h adds 35cc1738468e [gn build] port 976f37050dbd more adds 63295622491a [mlir][AMDGPU] Explicitly truncate memory addresses in buffer ops adds f81a209337bb [Attributor][FIX] Deal with implicit `undef` in AAPotentia [...] adds 6ff873ac8689 [AArch64] Add some extra GlobalISel CCMP tests coverage. NFC adds 6e193b5cbb6d Prepare for inlining of SUM intrinsic adds bc8f2f36496a [AArch64][TTI][NFC] Overload method 'getVectorInstrCost' t [...] adds 6e45162adfec [InstrProf] Set prof global variables to internal linkage [...] adds 7f5b16733651 [mlir][sparse] fix bug in complex zero detection adds 49d2071572d4 [compiler-rt] Don't build builtins beyond macOS 10.7 adds 657bfa364f3d [ValueTracking] reduce code in isImpliedCondICmps; NFC adds 12a1ca9c42c4 [RISCV] Relax another one use restriction in performSRACombine. adds 8e7acb670b38 [ValueTracking] improve readability in isImpliedCond helpe [...] adds adea1fa047af [orc-rt] Fix swift protocol metadata registration adds a1a71b7dc97b [Clang] Fix capture of values initialized by bitfields adds 7d6017fd3112 [TTI] Change new getVectorInstrCost overload to use const [...] adds 1d2a62afaf75 Re-submit "[lldb] Filter DIEs based on qualified name wher [...] adds 33171df9cc7f Revert "[clang][Darwin] Always set the default C++ Standar [...] adds c5b36ab1d6a6 AMDGPU/clang: Remove dead code adds e38b0fb008e5 [MLIR] Fix arith.cmpf assembly syntax in the doc to match [...] adds 1bfc05270576 [MLIR] Fix arith.cmpi assembly syntax in the doc to match [...] adds 2e4ef9b6efca [libc][NFC] Add a few compiler warning flags. adds 4982d8ac7694 [test][llvm-reduce] Use opaque pointers in tests adds 8a27a2f89f83 [HLSL] Support -E option for HLSL. adds 73b62f813550 Fix parsing of comma fold-expressions as the operand of a [...] adds 6f4c3c0f6463 [InstrProf][attempt 2] Add new format for -fprofile-list= adds 6fb744be7670 [trace][intel pt] Support a new kernel section in LLDB’s t [...] adds c308a8871642 [libc] Add subtraction for UInt<N> class. adds 7f648d27a85a Reland "[X86][MC] Always emit `rep` prefix for `bsf`" adds 40d74fcb552c [mlir][Math] Add constant folder for Atan2Op. adds 3b631e47fe4c [libc] Trivial implementation of std::optional adds fc6a6ee507ec [libunwind] undef NDEBUG for assert.h in tests. adds a812b39e8c4f [llvm][ir] Add missing license to ProfDataUtils adds 294bbdc0b88b [NFC] Fix wrong header in `LibC.cpp` adds 906e41f4e34d [HLSL] clang codeGen for HLSLShaderAttr. adds 8b74074731ee [clang][sema] Fix collectConjunctionTerms() adds d1942855c431 [clang] Consider array filler in MaybeElementDependentArra [...] adds b568cb10648f [AMDGPU] Pre-commit tests for D130797 adds 6134629af087 [NFC][HLSL] Fix typo in CGHLSLRuntime. adds b2c9ff727379 [NFC][HLSL] Fix build error caused missing typo update. adds 38c2366b3ffc [AArch64][GlobalISel] Recognise some CCMPri adds 230d6f93aaab [Coroutines] Remove lifetime intrinsics for spliied alloca [...] adds 408378a0b3b0 [AArch64] Tone down the number of repeated fmov N2 schedul [...] adds 57eb77d4112b [LoongArch] Implement more of the ABI adds 4c106c93eb68 [clangd] Change the url for clang-tidy check documentation adds 501faaa0d65e [clang][analyzer] Add more wide-character functions to CSt [...] adds 809b4166413f [NFC] Requires x86-registered-target for test/pr56919.cpp adds 45c056b1fb5a [CMake] Find python before searching for python modules adds 2312b747b873 [X86] Move getting module flag into `runOnMachineFunction` [...] adds c401dbde71fd [llvm][IROutliner] Account for return void in sort comparator adds b2de84633a0a [ConstProp] Don't fallthorugh for poison constants on vctp [...] adds 1bd31a689844 [NFC] Add SmallVector constructor to allow creation of Sma [...] adds 6b03bae34682 Revert "[mlir] Extract offsets-sizes-strides computation f [...] adds 4bc9e603065b Removing redundant code; NFC adds 19bb535ed994 [AMDGPU] Remove unused MIMG tablegen variants adds 131dda9acc69 [libc] Implement sincosf function correctly rounded to all [...] adds 542977d43841 Revert "[compiler-rt][CMake] Enable TF intrinsics on power [...] adds 249a7ed75072 [x86] add tests for bitwise logic of funnel shifts; NFC adds 019d76196f79 [InstSimplify] use isImpliedCondition() instead of semi-du [...] adds 24a62bfe9a49 tsan: fix bug in shadow reset introduced in D128909 adds 0533c39a7653 [SVE] Expand DUPM patterns to handle all integer vector types. adds b63fc26d33e1 [InstSimplify] make uses of isImpliedCondition more effici [...] adds 713f85d5952a [mlir][spirv] Add a pass to map memref memory space adds 1f7544a6797a [mlir][spirv] Add default Vulkan memory space to storage c [...] adds 292e8ed49a8a [mlir] Use SymbolUserOpInterface in LLVM::AddressOfOp verifier adds 0948f1cf8177 Reapply the commits to enable accurate hit-count detection [...] adds f493b21e1695 [libc] Update look and feel of libc.llvm.org adds 9c81b743e31a [lldb] Improve EXC_RESOURCE exception reason adds f1eb945f9a50 [flang] Propagate lowering options from driver. adds 99e50e583867 [WinEH][ARM64] Split Unwind Info for Fucntions Larger than 1MB adds 9a9848f4b958 [RISCVInsertVSETVLI] Remove an unsound optimization adds 3e0e5568a6a8 [CUDA] Fixed sm version constrain for __bmma_m8n8k128_mma_ [...] adds d038bb196c51 [clang] Fix redirection behaviour for cached FileEntryRef adds fb89cc0ddbd9 [clang][modules] Don't depend on sharing FileManager durin [...] adds 13bc71310920 fixes clang-tidy/checks/list.rst: a line was accidentally [...] adds 4b8db17c32e0 [llvm][macos] Fix usage of std::shared_mutex on old macOS [...] adds 75c64c7c4e40 [RISCV] Don't use li+sh3add for constants that can use lui+add. adds 1b9faafe911e [flang] Lower MOD to Fortran runtime call. adds cbd2b7cda45b [NFC] Regenerates X86's win64-bool.ll adds 29ff262761af [HWASan] Remove incorrect unreachable. adds b5244fb71cae [test][SimpleLoopUnswitch] Precommit test for D129599 adds 8d2901d53708 [NFC][Inliner] Add Load/Store handler adds 5c16eeb7ee13 [mlir][spirv] Define spv.IAddCarry adds 51bc82d147f8 [mlir] Implement SymbolUserOpInterface in LLVM::CallOp adds 424626953e89 [examples][ORC] Add missing call to LLVMDisposeBuilder to [...] adds bc062e034fbd [ORC] Fix a memory leak in LLVMOrcIRTransformLayerSetTransform. adds 8ac015caf627 [libc++][ranges][NFC] Make sure all implemented algorithms [...] adds c55899f763b6 [DAGCombiner] Hoist funnel shifts from logic operation adds 3fa291fa925d [libc++][ranges][NFC] Mark the completed Ranges papers and [...] adds 5f1c7e2cc5a3 [mlir] Use SymbolTableCollection to lookup referenced symb [...] adds 28d05d672300 [ELF][PPC64] Fix potentially corrupted section content wit [...] adds 9ec4ddd224f4 [Sanitizer][Darwin] Support OS versions before DRIVERKIT adds 6635f48e4aba [Serialization] Remove `ORIGINAL_PCH_DIR` record adds 3b52341116b7 [CUDA] Fix output name being replaced in device-only mode adds 549542b494f4 [HLSL] emit-obj when set output. adds 3fbbf2817340 unbreak Modules/cxx20-export-import.cpp with LLVM_APPEND_V [...] adds abd9807590fc [ELF] mergeCmp: work around irreflexivity bug adds 7b12e561ac7a [test/Modules/cxx20-export-import.cpp] Pre-clean the modul [...] adds e89d6d2ac527 [ELF] Keep only getTarget() call. NFC adds d7cbfcf36ace [ELF][AArch64] Fix potentially corrupted section content for PAC adds bcac7b3acb19 [LLDB] Missing break in a switch statement alters the ex [...] adds e99ffe6ae864 [NFC] add test case for D129558 adds 786b503f66b1 [Clang][Lex] Extend HeaderSearch::LookupFile to control Op [...] adds b1356504e63a [LLVM] Update C++ standard to 17 adds 6a275cd53cc9 Transform illegal intrinsics to V_ILLEGAL adds e45a5696bb2a [ELF] toString(const InputFile *): synchronize toStringCache adds e0807b0d7ef9 [bazel] Add missing dependency after 713f85d5952ab27d474ab [...] adds 51a91d6c5d87 [gn build] port b1356504e63ae (c++17) adds c59c8a515f54 [gn build] port b1356504e63ae better (c++17) adds 1c5a50e32815 [mlir][tblgen] Refact mlir-tblgen main into its own library adds f7b73b7e8e67 [llvm] Remove uses of deprecated `std::iterator` adds 547c551925c8 [gn build] Try to fix build on linux after std=c++17 switch adds f4892975014a [gn build] fix 547c551925c8f4dd adds ef60e44fe874 [PowerPC] fix stack size allocated for float point argument adds 13016f1f1be5 [NFC] add test cases for D123366 adds 735240b38fd7 [libc++] Implement `operator<=>` for `unique_ptr` adds 619e8f46f3c7 [libc++] Remove `operator!=` from `type_info` in C++20 adds d6eea96b8e04 [bazel] Port 1c5a50e32815a49a41d79ff529ca8611ee49c5c8 adds 486a3c4662cb Update the status of some more C DRs adds 9750648cb44e [mlir, flang] Use has_value instead of hasValue (NFC) adds c8e6ebd74e54 Use value instead of getValue (NFC) adds ede96de75122 [RDF] Remove explicit template arguments from Print adds 0c9258612b67 [bolt] silence unused variables warnings adds 2bc390bdd66c [RDF] Use default TargetOperandInfo if not given in constructor adds a6cb8419b175 clang: fix typo availbility adds 2d2ad02f43bd [bazel] Switch to C++17 adds d2b158e29eed clang/cmake: Drop use of llvm-config for LLVM install discovery adds 91f3f0bf31d6 lld/cmake: Drop use of llvm-config for LLVM install discovery adds e21202dac18e [Clang][OpenMP] Fix the issue that `llvm.lifetime.end` is [...] adds bf5550b6790b [ADT] Fix signature of StringSet::insert adds c7ec86b13c46 [clang-tidy] Fix g++ -DCMAKE_CXX_STANDARD=17 build adds bccdf9197b6d Revert "[lld-macho] Work around odr-use of const non-inlin [...] adds 5deb678289df Revert "[SampleProfileInference] Work around odr-use of co [...] adds ec04e45c0358 [lld] LLVM_FALLTHROUGH => [[fallthrough]]. NFC adds fa66789d06be [llvm] LLVM_NODISCARD => [[nodiscard]]. NFC adds 4401bde31755 [mlir][tosa] Flip to prefixed form. adds 1f54006bcacf [clang][docs] use `Fixes` instead of `This fixes` in Relea [...] adds 5e9b6a224319 [MLIR] Add MlirValue to PybindAdapters adds aa4977f2e135 [LLDB][NFC] Reliability fixes to TCPSocket code adds 3b114087c34b [llvm] Drop unnecessary const from return types (NFC) adds af2d2d775908 [mlir] Remove redundaunt return statements (NFC) adds a2d45017182a [llvm] Fix comment typos (NFC) adds d0ec61c9ffb3 [Target] Remove unused forward declarations (NFC) adds 7542e72188cb Use llvm::is_contained (NFC) adds 54199d805a54 [x86] Remove unused declaration processWaitCnt (NFC) adds ba0407ba86d0 [llvm] Use range-based for loops (NFC) adds fdc950958ed0 Added warning about outdated feature into Kaleidoscope tut [...] adds f0f1bcadc74f [demangler] Add getters for Qual/Vector/Pointer types adds 26d811b3ecd2 [mlir] Make use of C++17 language features adds 6bb51bf06214 [libc++][test] Fix MSVC warnings C6054, C6001, C4242 in fo [...] adds b02c7e2b630a [Polly] Generalize the pattern matching to the case of ten [...] adds f8d976171f2a [ARM] Regenerate vector_store.ll tests. NFC adds d3b3f7653dd4 [mlir] Flip to prefixed accessors (NFC) adds e8c9eb49ead0 [Polly] Suppress the LLVM-IR output for pattern matching t [...] adds 32fd0b7fd5ab Revert "[RDF] Remove explicit template arguments from Print" adds 82439b201a01 [clang-tidy] Fix a forwarding-reference-overload crash aft [...] adds ea540bc21078 [polly] Fixed a number of typos. NFC adds 7602e285f69c [mlir] Flip to prefixed accessors (NFC) adds 3f10091c04e1 [flang] Allow pure function references in expandable scalar adds dbff03b85840 [X86] Add test case to recombine LEA from OR. adds 87dc7d4b619d [clang][CodeGen] Factor out Swift ABI hooks (NFCI) adds 1dcff823db9f [ORC-RT] Drop __orc_rt::string_view now that we have c++17. adds 6ea5bf436a98 [JITLink] Fix some C++17 related fixmes. adds 2843a1d87d95 [InstCombine] add tests for bitwise logic; NFC adds 8148c28fad49 [ConstFolding] fix overzealous assert when converting FP half adds 5b14c7aee82e [mlir] Fix a warning adds fc40804a5a1d [libc++][NFC] Fix `the the` in comment in `__format/buffer.h` adds e49c1568b616 [lldb] Dynamically generate enum names in lldbutil adds 87990fd8f4ba [lldb] Fix formatting in python-reference.rst adds c615e467dbaf [lldb] Hoist TraceOn check out of loop (NFC) adds aa2a3196e284 [ORC-RT] Remove a stray __orc_rt::string_view helper. adds b5f8d42efe3e [ADT] Deprecate Optional::{hasValue,getValue} (NFC) adds f616a63db255 [mlir] Use value instead of getValue adds 41c41fcbc036 Revert "[JITLink] Fix some C++17 related fixmes." adds 921316af6e6b [flang][runtime] Catch & report attempts at recursive I/O adds 34a785fee747 [InstSimplify] add test for over-shift of scalable vector; NFC adds 74b5e797d5c9 [InstSimplify] fold scalable vectors with over-shift splat [...] adds d446d91aa39d [lldb] Use single-argument static_assert where applicable (NFC) adds 608131b1f94d [ORC-RT] Fix missing #include <string_view>s. adds e6373de53d35 [flang] Allow assignment to host association in BLOCK in P [...] adds 10de55129710 [mlir][python] Address deprecation warning for hasValue adds d1bb3016ddc8 [mlir] fix `add_tablegen()` macro to allow installing mlir-pdll adds 1d1f5a5251f7 [flang] Handle subnormals while folding SCALE, SET_EXPONEN [...] adds 98339ac7af30 [Support] move llvm::llvm_is_multithread to header, NFC adds ace6e172bd2c [RISCV] Support fe_getround and fe_raise_inexact in builtins adds cf7c8bd74ecc [gn build] (manually) port ace6e172bd2c adds 64d326c33c6d [M68k] Add MC support for link/unlk adds 350f17ab52ec [llvm-ar] Remove unused parameter. NFC adds 0c2b738f8f1d [LoongArch] Support for varargs adds d3651aa697c6 [BOLT] Upgrade to C++17 adds 0e37ef0186ac [Transforms] Fix comment typos (NFC) adds 1dd8a318544b [clang-tidy] Use is_contained (NFC) adds e20d210eef92 [llvm] Qualify auto (NFC) adds 7042417ef11c [NFC][clang] Bring `and_present` and `if_present` casting [...] adds a3f7a2c18345 [CodeView] Add function to get size in bytes for TypeIndex [...] adds 8342ea6eac85 [scudo] Try to fix standalone build on armv7 adds e3ef7295ed5d [mailmap] Add entry for myself adds 17ac26a78eaa [AArch64][SVE] NFC: Add tests for masked FP arith patterns [...] adds a6dec9f5b284 [AArch64][SVE] Add patterns to select masked FP arith adds 061e0189a3da [DAG] Ensure Legal BUILD_VECTOR elements types in shuffle- [...] adds 5512f398a039 [ADT] Update Optional Deprecation with fix-it adds 1eee6de87397 [Orc][JITLink] Slab based memory allocator to reduce RPC calls adds 72017e9b16b7 [llvm-objdump,ARM] Fix big-endian AArch32 disassembly. adds fb10bb0d2c50 ProcessTest.cpp - replace Optional::hasValue() with Option [...] adds e5e93b6130bd [DAG] FoldConstantArithmetic - add initial support for und [...] adds b4e9977fc184 Remove C++17 #ifdefs around the implicit conversion betwee [...] adds ab4fc87a9d96 [DAG] Emit table lookup from TargetLowering::expandCTTZ() adds bf20d43f8263 [lld/mac] Use C++17 nested namespace syntax in most places adds b334709467bf Remove superfluous ; outside of a function adds 7a66fe1075cf Wrap `llvm_unreachable` macro in do-while loop adds 8805cf2660d2 [mlir] Remove redundant `inline` from D131323 adds b99da9d255e9 [lld/mac] Use C++17 structured bindings adds 090bdaad3486 [Support] Use std::shared_mutex when we're not on old MacOS adds 99a5a029e666 [ASTMatchers] Replace hand-coded copy of std::apply with t [...] adds bce3da9b8996 [X86] Add 32-bit test coverage to or-lea.ll adds 7dc410cbff28 [clang-tidy] Fix a regression of readability-container-siz [...] adds e36f9e13bca4 [libc++] Allow enabling assertions when back-deploying adds 0a5c344a84a4 [libc++] Add missing <stdbool.h> to the modulemap adds d4abdd2e3dda [CMake] Check CMAKE_CXX_STANDARD and error if it's to old adds 36cc533471cb [EarlyCSE][OpaquePointers]Replace assert with return for m [...] adds b53d44fe4741 [EarlyCSE][ConstantFolding] add tests for atan/atan2; NFC adds 27442728cd2e [libc++][NFC] Fix signature of main in test adds 9ea54ac9cea6 [X86] X86ISelDAGToDAG.cpp - use auto for all values derive [...] adds 3354644aad90 [libc++][doc] Update `SpaceshipProjects` status to reflect [...] adds dc07d2c91dfd [MLIR][Presburger] make sample test with integer lexmin us [...] adds 576375a2d670 [LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL adds af8205d0eb47 Revert "XFAIL some PGO tests on AIX until the new linker b [...] adds fc470013d13f [Docs] Add HLSL ResourceType documentation adds 59f3b3d7963b [EarlyCSE][ConstantFolding] move test files to dir of pass [...] adds 59bb9e37c66b [llvm-dwarfutil] Remove unnecessarily dependency. adds 9641a201a565 [DAG] Add initial SelectionDAG::canCreateUndefOrPoison support adds ba9dc5f57738 [ADT] Add is_splat overload accepting initializer_list adds 5784199dd1c1 [NFC][Flang][OpenMP] Refactor OpenMP.cpp::genOpenMPReduction adds 0f5385b70edd Recommit [RDF] Remove explicit template arguments from Print adds 81c4e58e2ada [StandardInstrumentations] Handle case where block order changes adds 2d20fb00b3c7 [X86] Add test coverage for sext/zext/bswap/bitreverse wit [...] adds 00f7096d31cc [mlir][math] Rename math.abs -> math.absf adds 7d9fc95b85c4 [mlir][math] Add `math.absi` op adds 2f3256a02ec3 [lld/mac] Use C++17 structured bindings in two more places adds 104f11630ae8 [nfc][openmp] clang-format system.cpp prior to D131401 adds e64025045457 Update the C status page from the latest working draft adds 9b031d5e3a7b [lldb] Make Process and subclass constructors protected adds e4b2c5242001 [DAG] canCreateUndefOrPoison - add freeze(sext(x)) -> sext [...] adds 7c26641d9dce [lld/win] Use C++17 nested namespace syntax in most places adds aa1abd7684b6 [lld/win] Use C++17 structured bindings adds 06ff46d2d77f [LLDB][NFC] Fix suspicious bitwise expression in PrintBTEntry() adds af28b27d31a5 Move openmp from -std=c++14 to -std=c++17 adds 521a5c11acb4 Rename OPENMP_HAVE_STD_CPP14_FLAG to match c++17 adds 3f18f7c0072b [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC adds 4bd25d0b81d1 [mlir][spirv] Refresh base definitions to latest spec (v1.6) adds 296029998698 [ADT] Retire llvm::apply_tuple in favor of C++17 std::apply adds fb33b406df90 [MLIR][Linalg] Remove `TiledLoops` from tiling options adds 6f2bee667ad9 [DAG] canCreateUndefOrPoison - add freeze(bswap(x)) -> bsw [...] adds e2bfbed2bb64 [RISCV] Add ReadFStoreData as a SchedRead. adds c1f65df19c0f [flang] Add an explicit condition for the BITS=0 case in t [...] adds 333f98b4b688 [mlir][sparse][nfc] Use tensor.generate in sparse integrat [...] adds 1f30ebc898b7 [llvm-tblgen] Fix copy+paste typo in CodeGenSchedModels::c [...] adds 95b3ff08f5de [mlir][doc] Cross link the dependent dialect section to th [...] adds 706b3951b389 [libc++] Implement `operator==` for `filesystem::space_info` new 2cbfa93f4293 [mlir][math] Fix pythong bindings after 00f7096d31cc7896ff [...] new aa173573198e [llvm-ranlib] Support more than one input file new de907138ec96 [mlir][sparse] Add new concatente operator to sparse tensor new 1b349bdaaa54 [X86] Add test coverage for ctpop/parity with freeze new be8bacfd93ec [flang] Replace more pgmath with libm.
The 5 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .mailmap | 1 + bolt/CMakeLists.txt | 2 +- bolt/lib/Core/BinaryContext.cpp | 2 + bolt/lib/Core/Exceptions.cpp | 1 + bolt/runtime/CMakeLists.txt | 2 +- bolt/unittests/Core/MCPlusBuilder.cpp | 2 +- .../bugprone/EasilySwappableParametersCheck.cpp | 12 +- .../bugprone/ForwardingReferenceOverloadCheck.cpp | 9 +- .../bugprone/MoveForwardingReferenceCheck.cpp | 2 +- .../clang-tidy/bugprone/SignalHandlerCheck.cpp | 20 +- .../clang-tidy/bugprone/SignalHandlerCheck.h | 2 +- .../cert/ProperlySeededRandomGeneratorCheck.cpp | 2 +- .../clang-tidy/misc/NoRecursionCheck.cpp | 4 +- .../clang-tidy/objc/NSDateFormatterCheck.cpp | 4 +- .../readability/ContainerSizeEmptyCheck.cpp | 10 +- .../readability/DuplicateIncludeCheck.cpp | 2 +- clang-tools-extra/clangd/Diagnostics.cpp | 16 +- .../clangd/test/diagnostics-tidy.test | 2 +- clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + .../bugprone/forwarding-reference-overload.cpp | 11 + .../checkers/readability/container-size-empty.cpp | 13 + clang/CMakeLists.txt | 78 +- clang/docs/HLSL/HLSLDocs.rst | 14 + clang/docs/{ => HLSL}/HLSLSupport.rst | 0 clang/docs/HLSL/ResourceTypes.rst | 34 + clang/docs/ReleaseNotes.rst | 8 +- clang/docs/UsersManual.rst | 75 +- clang/docs/analyzer/checkers.rst | 2 +- clang/docs/index.rst | 2 +- clang/include/clang/AST/JSONNodeDumper.h | 2 +- .../clang/ASTMatchers/ASTMatchersInternal.h | 19 +- clang/include/clang/Basic/Attr.td | 29 +- clang/include/clang/Basic/BuiltinsNVPTX.def | 2 +- clang/include/clang/Basic/DiagnosticSemaKinds.td | 3 +- clang/include/clang/Basic/LLVM.h | 3 + clang/include/clang/Basic/ProfileList.h | 23 +- clang/include/clang/Basic/TargetOptions.h | 3 + clang/include/clang/Driver/Options.td | 15 +- clang/include/clang/Frontend/FrontendOptions.h | 14 +- clang/include/clang/Lex/DirectoryLookup.h | 3 +- clang/include/clang/Lex/HeaderSearch.h | 6 +- clang/include/clang/Lex/Preprocessor.h | 3 +- clang/include/clang/Sema/Sema.h | 1 + clang/include/clang/Serialization/ASTBitCodes.h | 5 +- clang/include/clang/Serialization/ASTWriter.h | 11 +- clang/include/clang/Serialization/ModuleFile.h | 4 - clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp | 2 +- clang/lib/ARCMigrate/TransformActions.cpp | 2 +- clang/lib/AST/APValue.cpp | 2 +- clang/lib/AST/ASTContext.cpp | 6 +- clang/lib/AST/ASTDiagnostic.cpp | 2 +- clang/lib/AST/ASTDumper.cpp | 2 +- clang/lib/AST/ASTStructuralEquivalence.cpp | 2 +- clang/lib/AST/Comment.cpp | 2 +- clang/lib/AST/Expr.cpp | 6 +- clang/lib/AST/ExprCXX.cpp | 4 +- clang/lib/AST/ExprConstant.cpp | 19 +- clang/lib/AST/FormatString.cpp | 2 +- clang/lib/AST/ItaniumMangle.cpp | 4 +- clang/lib/AST/Mangle.cpp | 4 + clang/lib/AST/NestedNameSpecifier.cpp | 2 +- clang/lib/AST/PrintfFormatString.cpp | 2 +- clang/lib/AST/ScanfFormatString.cpp | 4 +- clang/lib/AST/TypeLoc.cpp | 4 +- clang/lib/AST/TypePrinter.cpp | 2 +- clang/lib/Analysis/CalledOnceCheck.cpp | 2 +- clang/lib/Analysis/ReachableCode.cpp | 2 +- clang/lib/Analysis/ThreadSafety.cpp | 4 +- clang/lib/Basic/BuiltinTargetFeatures.h | 2 +- clang/lib/Basic/FileManager.cpp | 8 +- clang/lib/Basic/ProfileList.cpp | 53 +- clang/lib/Basic/TargetInfo.cpp | 4 +- clang/lib/Basic/Targets/AMDGPU.cpp | 16 +- clang/lib/Basic/Targets/OSTargets.h | 2 +- clang/lib/Basic/Targets/PPC.h | 4 +- clang/lib/Basic/Targets/SystemZ.cpp | 2 +- clang/lib/Basic/Targets/WebAssembly.cpp | 6 +- clang/lib/Basic/Targets/X86.cpp | 42 +- clang/lib/CodeGen/ABIInfo.h | 46 +- clang/lib/CodeGen/CGAtomic.cpp | 38 +- clang/lib/CodeGen/CGBuiltin.cpp | 130 +- clang/lib/CodeGen/CGCall.cpp | 6 +- clang/lib/CodeGen/CGClass.cpp | 2 +- clang/lib/CodeGen/CGCoroutine.cpp | 2 +- clang/lib/CodeGen/CGDebugInfo.cpp | 2 +- clang/lib/CodeGen/CGDecl.cpp | 2 +- clang/lib/CodeGen/CGException.cpp | 2 +- clang/lib/CodeGen/CGExprAgg.cpp | 2 +- clang/lib/CodeGen/CGExprCXX.cpp | 2 +- clang/lib/CodeGen/CGExprScalar.cpp | 8 +- clang/lib/CodeGen/CGHLSLRuntime.cpp | 9 + clang/lib/CodeGen/CGHLSLRuntime.h | 5 + clang/lib/CodeGen/CGObjCRuntime.cpp | 2 +- clang/lib/CodeGen/CGStmtOpenMP.cpp | 13 +- clang/lib/CodeGen/CodeGenFunction.cpp | 13 +- clang/lib/CodeGen/CodeGenFunction.h | 9 +- clang/lib/CodeGen/CodeGenModule.cpp | 46 +- clang/lib/CodeGen/CodeGenModule.h | 9 +- clang/lib/CodeGen/ItaniumCXXABI.cpp | 4 +- clang/lib/CodeGen/MacroPPCallbacks.cpp | 2 +- clang/lib/CodeGen/SwiftCallingConv.cpp | 16 +- clang/lib/CodeGen/TargetInfo.cpp | 229 +-- clang/lib/CodeGen/TargetInfo.h | 13 + clang/lib/CodeGen/VarBypassDetector.cpp | 2 +- clang/lib/Driver/Driver.cpp | 3 + clang/lib/Driver/ToolChains/Clang.cpp | 8 +- clang/lib/Driver/ToolChains/Cuda.cpp | 4 +- clang/lib/Driver/ToolChains/Darwin.cpp | 7 +- clang/lib/Driver/ToolChains/Gnu.cpp | 2 +- clang/lib/Driver/ToolChains/HLSL.cpp | 15 + clang/lib/Driver/ToolChains/Myriad.cpp | 2 +- clang/lib/Edit/RewriteObjCFoundationAPI.cpp | 8 +- clang/lib/ExtractAPI/DeclarationFragments.cpp | 2 +- .../Serialization/SymbolGraphSerializer.cpp | 2 +- clang/lib/Format/FormatTokenLexer.cpp | 2 +- clang/lib/Format/TokenAnnotator.cpp | 2 +- clang/lib/Format/UnwrappedLineParser.cpp | 12 +- clang/lib/Frontend/CompilerInstance.cpp | 25 +- clang/lib/Frontend/CompilerInvocation.cpp | 4 + clang/lib/Frontend/FrontendActions.cpp | 7 +- clang/lib/Frontend/SerializedDiagnosticReader.cpp | 2 +- clang/lib/Index/USRGeneration.cpp | 2 +- clang/lib/Interpreter/IncrementalParser.cpp | 14 +- clang/lib/Lex/HeaderSearch.cpp | 25 +- clang/lib/Lex/InitHeaderSearch.cpp | 2 +- clang/lib/Lex/Lexer.cpp | 6 +- clang/lib/Lex/LiteralSupport.cpp | 8 +- clang/lib/Lex/ModuleMap.cpp | 2 +- clang/lib/Lex/PPDirectives.cpp | 4 +- clang/lib/Lex/Preprocessor.cpp | 4 +- clang/lib/Lex/TokenConcatenation.cpp | 2 +- clang/lib/Parse/ParseCXXInlineMethods.cpp | 8 +- clang/lib/Parse/ParseDecl.cpp | 16 +- clang/lib/Parse/ParseDeclCXX.cpp | 6 +- clang/lib/Parse/ParseExpr.cpp | 18 +- clang/lib/Parse/ParseInit.cpp | 2 +- clang/lib/Parse/ParseOpenMP.cpp | 8 +- clang/lib/Parse/ParseStmt.cpp | 4 +- clang/lib/Parse/ParseTentative.cpp | 12 +- clang/lib/Parse/Parser.cpp | 8 +- clang/lib/Rewrite/HTMLRewrite.cpp | 4 +- clang/lib/Sema/CodeCompleteConsumer.cpp | 2 +- clang/lib/Sema/JumpDiagnostics.cpp | 2 +- clang/lib/Sema/SemaChecking.cpp | 11 +- clang/lib/Sema/SemaCodeComplete.cpp | 12 +- clang/lib/Sema/SemaDecl.cpp | 44 +- clang/lib/Sema/SemaDeclAttr.cpp | 6 +- clang/lib/Sema/SemaDeclCXX.cpp | 6 +- clang/lib/Sema/SemaExpr.cpp | 38 +- clang/lib/Sema/SemaExprCXX.cpp | 2 +- clang/lib/Sema/SemaExprMember.cpp | 2 +- clang/lib/Sema/SemaInit.cpp | 8 +- clang/lib/Sema/SemaLambda.cpp | 2 +- clang/lib/Sema/SemaLookup.cpp | 2 +- clang/lib/Sema/SemaOpenMP.cpp | 13 +- clang/lib/Sema/SemaOverload.cpp | 8 +- clang/lib/Sema/SemaStmt.cpp | 2 +- clang/lib/Sema/SemaStmtAsm.cpp | 2 +- clang/lib/Sema/SemaTemplate.cpp | 9 +- clang/lib/Sema/SemaTemplateDeduction.cpp | 8 +- clang/lib/Sema/SemaTemplateInstantiate.cpp | 2 +- clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 2 +- clang/lib/Sema/SemaType.cpp | 20 +- clang/lib/Serialization/ASTReader.cpp | 59 +- clang/lib/Serialization/ASTWriter.cpp | 28 +- clang/lib/Serialization/GeneratePCH.cpp | 7 +- .../lib/StaticAnalyzer/Checkers/CStringChecker.cpp | 98 +- .../StaticAnalyzer/Checkers/DeadStoresChecker.cpp | 2 +- clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp | 4 +- .../RetainCountChecker/RetainCountChecker.cpp | 2 +- clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 2 +- clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp | 4 +- clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp | 8 +- .../Core/ExprEngineCallAndReturn.cpp | 2 +- clang/lib/StaticAnalyzer/Core/RegionStore.cpp | 4 +- clang/lib/StaticAnalyzer/Core/SValBuilder.cpp | 2 +- .../lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp | 6 +- clang/test/Analysis/wstring.c | 251 ++- clang/test/C/drs/abc_123.h | 1 + clang/test/C/drs/dr3xx.c | 93 + clang/test/ClangScanDeps/modulemap-via-vfs.m | 10 +- clang/test/CodeGen/builtins-nvptx-mma.cu | 20 +- clang/test/CodeGen/builtins-nvptx-mma.py | 4 +- clang/test/CodeGen/profile-filter-new.c | 29 + clang/test/CodeGen/profile-function-groups.c | 12 +- clang/test/CodeGenCoroutines/pr56919.cpp | 122 ++ clang/test/CodeGenHLSL/entry.hlsl | 10 + clang/test/CodeGenHLSL/shader_type_attr.hlsl | 11 + clang/test/Driver/cuda-bindings.cu | 11 + clang/test/Driver/darwin-iphone-defaults.m | 2 +- clang/test/Driver/darwin-stdlib.cpp | 15 +- clang/test/Driver/dxc_E.hlsl | 4 + clang/test/Driver/dxc_Fo.hlsl | 15 + clang/test/Driver/hlsl-entry.cpp | 3 + clang/test/Modules/cxx20-export-import.cpp | 1 + clang/test/Modules/relative-original-dir.m | 7 - clang/test/Modules/submodule-in-private-mmap-vfs.m | 38 + clang/test/OpenMP/bug56913.c | 32 + clang/test/OpenMP/for_linear_codegen.cpp | 18 +- ...el_master_taskloop_simd_lastprivate_codegen.cpp | 8 +- clang/test/PCH/pch-output-path-independent.c | 4 +- clang/test/Parser/cxx1z-fold-expressions.cpp | 8 +- clang/test/SemaCXX/constexpr-array-init.cpp | 24 + clang/test/SemaCXX/cxx1z-decomposition.cpp | 6 +- clang/test/SemaHLSL/entry.hlsl | 15 + clang/test/SemaHLSL/prohibit_pointer.hlsl | 2 +- clang/test/SemaHLSL/shader_type_attr.hlsl | 9 +- clang/test/VFS/module-import.m | 6 +- clang/unittests/Basic/FileManagerTest.cpp | 6 + clang/utils/TableGen/CMakeLists.txt | 2 +- clang/utils/TableGen/NeonEmitter.cpp | 6 +- clang/utils/TableGen/RISCVVEmitter.cpp | 6 +- clang/utils/TableGen/SveEmitter.cpp | 2 +- clang/www/c_dr_status.html | 22 +- clang/www/c_status.html | 155 +- compiler-rt/cmake/builtin-config-ix.cmake | 2 +- compiler-rt/lib/builtins/CMakeLists.txt | 17 +- compiler-rt/lib/builtins/int_types.h | 2 +- compiler-rt/lib/builtins/riscv/fp_mode.c | 42 + compiler-rt/lib/hwasan/hwasan.cpp | 1 - compiler-rt/lib/orc/adt.h | 65 - compiler-rt/lib/orc/elfnix_platform.cpp | 29 +- compiler-rt/lib/orc/macho_platform.cpp | 73 +- compiler-rt/lib/orc/run_program_wrapper.cpp | 2 +- compiler-rt/lib/orc/simple_packed_serialization.h | 9 +- compiler-rt/lib/orc/unittests/adt_test.cpp | 80 - .../unittests/simple_packed_serialization_test.cpp | 2 +- .../lib/sanitizer_common/sanitizer_platform.h | 2 +- compiler-rt/lib/scudo/standalone/CMakeLists.txt | 2 +- compiler-rt/lib/tsan/rtl/tsan_rtl.cpp | 4 +- compiler-rt/test/profile/Posix/gcov-destructor.c | 1 - compiler-rt/test/profile/Posix/gcov-execlp.c | 1 - compiler-rt/test/profile/Posix/gcov-fork.c | 1 - .../profile/Posix/instrprof-gcov-parallel.test | 1 - .../Posix/instrprof-get-filename-merge-mode.c | 1 - .../test/profile/gcov-__gcov_flush-terminate.c | 1 - compiler-rt/test/profile/gcov-basic.c | 1 - compiler-rt/test/profile/gcov-complex-line.c | 1 - compiler-rt/test/profile/gcov-dump-and-remove.c | 1 - compiler-rt/test/profile/infinite_loop.c | 1 - compiler-rt/test/profile/instrprof-coverage.c | 1 - .../test/profile/instrprof-gcov-exceptions.test | 1 - .../instrprof-gcov-multiple-bbs-single-line.test | 1 - .../profile/instrprof-gcov-multithread_fork.test | 1 - .../profile/instrprof-gcov-one-line-function.test | 1 - .../test/profile/instrprof-gcov-switch.test | 1 - .../test/profile/instrprof-gcov-two-objects.test | 1 - compiler-rt/test/profile/instrprof-get-filename.c | 1 - .../test/profile/instrprof-icall-promo.test | 1 - .../test/profile/instrprof-merge-entry-cover.c | 1 - compiler-rt/test/profile/instrprof-path.c | 1 - compiler-rt/test/profile/instrprof-set-dir-mode.c | 1 - compiler-rt/test/profile/runtime_infinite.c | 1 - flang/include/flang/Evaluate/call.h | 1 + flang/include/flang/Evaluate/real.h | 12 +- flang/include/flang/Evaluate/tools.h | 18 +- flang/include/flang/Frontend/CompilerInvocation.h | 13 + flang/include/flang/Lower/AbstractConverter.h | 16 + flang/include/flang/Lower/Bridge.h | 14 +- flang/include/flang/Lower/LoweringOptions.h | 36 + flang/include/flang/Lower/OpenMP.h | 14 + .../flang/Optimizer/Builder/Runtime/Numeric.h | 4 + flang/include/flang/Optimizer/Transforms/Passes.h | 2 + flang/include/flang/Optimizer/Transforms/Passes.td | 14 + flang/include/flang/Semantics/tools.h | 1 + flang/lib/Evaluate/call.cpp | 14 + flang/lib/Evaluate/real.cpp | 4 +- flang/lib/Frontend/CompilerInstance.cpp | 2 + flang/lib/Frontend/CompilerInvocation.cpp | 9 + flang/lib/Frontend/FrontendActions.cpp | 2 +- flang/lib/Lower/Bridge.cpp | 8 +- flang/lib/Lower/ConvertExpr.cpp | 44 +- flang/lib/Lower/IntrinsicCall.cpp | 63 +- flang/lib/Lower/OpenMP.cpp | 86 +- flang/lib/Optimizer/Builder/Runtime/Numeric.cpp | 60 + flang/lib/Optimizer/Dialect/FIROps.cpp | 4 +- flang/lib/Optimizer/Dialect/FIRType.cpp | 2 +- flang/lib/Optimizer/Transforms/CMakeLists.txt | 1 + .../Optimizer/Transforms/SimplifyIntrinsics.cpp | 237 +++ flang/lib/Semantics/assignment.cpp | 2 +- flang/lib/Semantics/expression.cpp | 2 +- flang/lib/Semantics/tools.cpp | 6 + flang/runtime/io-api.cpp | 53 +- flang/runtime/unit.cpp | 3 +- flang/runtime/unit.h | 16 +- flang/test/Evaluate/folding07.f90 | 1 + flang/test/Intrinsics/math-codegen.fir | 13 +- flang/test/Lower/Intrinsics/abs.f90 | 10 +- flang/test/Lower/Intrinsics/acos.f90 | 22 + flang/test/Lower/Intrinsics/acosh.f90 | 22 + flang/test/Lower/Intrinsics/asin.f90 | 22 + flang/test/Lower/Intrinsics/asinh.f90 | 22 + flang/test/Lower/Intrinsics/atanh.f90 | 22 + flang/test/Lower/Intrinsics/bessel_j0.f90 | 22 + flang/test/Lower/Intrinsics/bessel_j1.f90 | 22 + flang/test/Lower/Intrinsics/bessel_jn.f90 | 24 + flang/test/Lower/Intrinsics/bessel_y0.f90 | 22 + flang/test/Lower/Intrinsics/bessel_y1.f90 | 22 + flang/test/Lower/Intrinsics/bessel_yn.f90 | 24 + flang/test/Lower/Intrinsics/erfc.f90 | 22 + flang/test/Lower/Intrinsics/gamma.f90 | 22 + flang/test/Lower/Intrinsics/log_gamma.f90 | 22 + flang/test/Lower/Intrinsics/maskl.f90 | 25 +- flang/test/Lower/Intrinsics/maskr.f90 | 25 +- flang/test/Lower/Intrinsics/mod.f90 | 54 + flang/test/Lower/Intrinsics/transpose.f90 | 1 + flang/test/Lower/Intrinsics/transpose_opt.f90 | 4 + flang/test/Lower/array-expression.f90 | 32 +- flang/test/Lower/dummy-procedure.f90 | 2 +- flang/test/Lower/math-lowering.f90 | 12 +- flang/test/Transforms/simplifyintrinsics.fir | 319 +++ flang/tools/bbc/bbc.cpp | 4 +- libc/cmake/modules/LLVMLibCObjectRules.cmake | 17 +- .../lldb.css => libc/docs/_static/custom.css | 0 libc/docs/conf.py | 23 +- libc/docs/index.rst | 68 +- libc/docs/math.rst | 4 +- libc/src/__support/CPP/CMakeLists.txt | 6 + libc/src/__support/CPP/UInt.h | 77 +- libc/src/__support/CPP/optional.h | 81 + libc/src/__support/CPP/stringstream.h | 2 +- libc/src/__support/FPUtil/PolyEval.h | 2 +- libc/src/__support/str_to_float.h | 4 +- libc/src/math/generic/CMakeLists.txt | 36 +- libc/src/math/generic/common_constants.cpp | 17 - libc/src/math/generic/common_constants.h | 7 +- libc/src/math/generic/cosf.cpp | 73 +- libc/src/math/generic/sincosf.cpp | 235 ++- libc/src/math/generic/sincosf_data.cpp | 51 - libc/src/math/generic/sincosf_utils.h | 188 +- libc/src/math/generic/sinf.cpp | 59 +- libc/src/pthread/pthread_attr_destroy.cpp | 2 +- libc/src/pthread/pthread_create.cpp | 4 +- libc/src/pthread/pthread_mutexattr_destroy.cpp | 3 +- libc/src/stdio/fopencookie.cpp | 2 +- libc/src/string/memory_utils/elements.h | 16 +- libc/src/threads/mtx_destroy.cpp | 2 +- libc/test/src/__support/CPP/CMakeLists.txt | 10 + libc/test/src/__support/CPP/optional_test.cpp | 62 + libc/test/src/__support/uint128_test.cpp | 40 +- libc/test/src/math/exhaustive/CMakeLists.txt | 17 + libc/test/src/math/exhaustive/sincosf_test.cpp | 77 + libc/test/src/math/sincosf_test.cpp | 118 +- libc/test/src/time/asctime_test.cpp | 74 +- libc/utils/UnitTest/LibcTest.cpp | 2 + libcxx/docs/Status/Cxx20Issues.csv | 8 +- libcxx/docs/Status/Cxx20Papers.csv | 14 +- libcxx/docs/Status/Cxx2bIssues.csv | 2 +- libcxx/docs/Status/RangesAlgorithms.csv | 2 +- libcxx/docs/Status/RangesIssues.csv | 12 +- libcxx/docs/Status/SpaceshipProjects.csv | 19 +- libcxx/docs/UsingLibcxx.rst | 25 +- libcxx/include/CMakeLists.txt | 1 + libcxx/include/__algorithm/find_first_of.h | 3 +- libcxx/include/__algorithm/is_permutation.h | 259 ++- libcxx/include/__algorithm/ranges_is_permutation.h | 89 + libcxx/include/__availability | 24 +- libcxx/include/__filesystem/space_info.h | 4 + libcxx/include/__format/buffer.h | 2 +- libcxx/include/__iterator/iterator_traits.h | 6 + libcxx/include/__memory/pointer_traits.h | 25 +- libcxx/include/__memory/unique_ptr.h | 30 + libcxx/include/__verbose_abort | 25 +- libcxx/include/algorithm | 16 + libcxx/include/filesystem | 2 + libcxx/include/memory | 18 +- libcxx/include/module.modulemap.in | 6 +- libcxx/include/typeinfo | 6 +- ...ges_robust_against_copying_comparators.pass.cpp | 10 +- ...ges_robust_against_copying_projections.pass.cpp | 4 +- .../robust_against_copying_comparators.pass.cpp | 2 +- .../default_verbose_abort.availability.verify.cpp | 20 - .../assertions/default_verbose_abort.pass.cpp | 4 - .../headers_declare_verbose_abort.sh.cpp | 4 - .../libcxx/assertions/single_expression.sh.cpp | 4 - libcxx/test/libcxx/private_headers.verify.cpp | 1 + .../ranges.is_permutation.pass.cpp | 281 +++ .../alg.sort/sort/sort_constexpr.pass.cpp | 26 +- .../alg.sort/sort/sort_constexpr_comp.pass.cpp | 26 +- ...nges_result_alias_declarations.compile.pass.cpp | 4 +- .../ranges_robust_against_dangling.pass.cpp | 6 +- ...s_robust_against_differing_projections.pass.cpp | 2 +- ...nges_robust_against_nonbool_predicates.pass.cpp | 2 +- .../ranges_robust_against_omitting_invoke.pass.cpp | 2 +- .../ranges_robust_against_proxy_iterators.pass.cpp | 9 +- .../fs.filesystem.synopsis/space_info.pass.cpp | 40 + .../contiguous_iterator.compile.pass.cpp | 45 + .../niebloid.compile.pass.cpp | 9 +- .../format/format.functions/format_tests.h | 59 +- .../unique.ptr/unique.ptr.special/cmp.pass.cpp | 164 ++ .../unique.ptr.special/cmp_nullptr.pass.cpp | 83 +- .../unique.ptr/unique.ptr.special/eq.pass.cpp | 88 - .../unique.ptr/unique.ptr.special/rel.pass.cpp | 102 - .../test/support/test.support/test_proxy.pass.cpp | 2 +- libcxx/utils/ci/buildkite-pipeline.yml | 18 +- libcxx/utils/ci/run-buildbot | 42 + libunwind/test/forceunwind.pass.cpp | 1 + libunwind/test/libunwind_02.pass.cpp | 1 + libunwind/test/signal_frame.pass.cpp | 1 + libunwind/test/signal_unwind.pass.cpp | 1 + libunwind/test/unw_getcontext.pass.cpp | 1 + libunwind/test/unwind_leaffunction.pass.cpp | 1 + lld/CMakeLists.txt | 67 +- lld/COFF/COFFLinkerContext.cpp | 6 +- lld/COFF/COFFLinkerContext.h | 6 +- lld/COFF/CallGraphSort.h | 6 +- lld/COFF/Chunks.cpp | 6 +- lld/COFF/Chunks.h | 6 +- lld/COFF/Config.h | 6 +- lld/COFF/DLL.cpp | 6 +- lld/COFF/DLL.h | 6 +- lld/COFF/DebugTypes.cpp | 6 +- lld/COFF/DebugTypes.h | 14 +- lld/COFF/Driver.cpp | 8 +- lld/COFF/Driver.h | 6 +- lld/COFF/DriverUtils.cpp | 30 +- lld/COFF/ICF.cpp | 6 +- lld/COFF/ICF.h | 6 +- lld/COFF/LLDMapFile.h | 4 +- lld/COFF/LTO.h | 8 +- lld/COFF/MapFile.h | 4 +- lld/COFF/MarkLive.cpp | 4 +- lld/COFF/MarkLive.h | 6 +- lld/COFF/MinGW.h | 6 +- lld/COFF/PDB.cpp | 4 + lld/COFF/PDB.h | 4 +- lld/COFF/SymbolTable.cpp | 58 +- lld/COFF/SymbolTable.h | 6 +- lld/COFF/TypeMerger.h | 6 +- lld/COFF/Writer.cpp | 7 +- lld/COFF/Writer.h | 6 +- lld/ELF/Arch/AArch64.cpp | 20 +- lld/ELF/Arch/ARM.cpp | 10 +- lld/ELF/Arch/Mips.cpp | 6 +- lld/ELF/Arch/PPC64.cpp | 2 +- lld/ELF/Driver.cpp | 23 +- lld/ELF/InputFiles.cpp | 262 +-- lld/ELF/InputFiles.h | 5 +- lld/ELF/InputSection.cpp | 3 +- lld/ELF/Relocations.cpp | 3 +- lld/ELF/SyntheticSections.cpp | 5 +- lld/MachO/Arch/ARM64Common.h | 6 +- lld/MachO/ConcatOutputSection.h | 6 +- lld/MachO/Driver.cpp | 5 +- lld/MachO/Driver.h | 6 +- lld/MachO/Dwarf.h | 6 +- lld/MachO/EhFrame.h | 6 +- lld/MachO/ExportTrie.h | 6 +- lld/MachO/ICF.h | 6 +- lld/MachO/LTO.h | 12 +- lld/MachO/MachOStructs.h | 8 +- lld/MachO/MapFile.cpp | 3 +- lld/MachO/MapFile.h | 6 +- lld/MachO/MarkLive.cpp | 6 +- lld/MachO/MarkLive.h | 6 +- lld/MachO/ObjC.h | 6 +- lld/MachO/OutputSection.h | 6 +- lld/MachO/OutputSegment.h | 6 +- lld/MachO/Relocations.h | 6 +- lld/MachO/SectionPriorities.h | 6 +- lld/MachO/SymbolTable.cpp | 27 +- lld/MachO/SymbolTable.h | 6 +- lld/MachO/SyntheticSections.cpp | 3 +- lld/MachO/SyntheticSections.h | 6 +- lld/MachO/Target.h | 6 +- lld/MachO/UnwindInfoSection.h | 6 +- lld/MachO/Writer.h | 6 +- lld/include/lld/Common/Memory.h | 26 + lld/test/COFF/pdb-unknown-subsection.s | 4 +- lld/test/COFF/pdb-xfg-section.s | 47 + lldb/CMakeLists.txt | 2 +- lldb/docs/use/python-reference.rst | 4 +- lldb/include/lldb/Breakpoint/Watchpoint.h | 5 +- lldb/include/lldb/Core/Module.h | 24 + lldb/include/lldb/Symbol/SymbolFile.h | 4 +- lldb/include/lldb/Symbol/SymbolFileOnDemand.h | 3 +- lldb/include/lldb/Target/PostMortemProcess.h | 2 +- lldb/include/lldb/Target/Process.h | 19 +- lldb/include/lldb/Target/StopInfo.h | 2 +- lldb/include/lldb/Target/Thread.h | 14 +- lldb/include/lldb/Target/ThreadPlan.h | 2 + lldb/include/lldb/Utility/Log.h | 8 +- lldb/include/lldb/Utility/Scalar.h | 2 +- lldb/packages/Python/lldbsuite/test/lldbutil.py | 171 +- lldb/source/Breakpoint/BreakpointResolverName.cpp | 5 +- lldb/source/Core/Module.cpp | 107 +- lldb/source/Core/ModuleList.cpp | 5 +- lldb/source/Host/common/TCPSocket.cpp | 23 +- lldb/source/Plugins/ABI/ARM/ABISysV_arm.cpp | 4 +- lldb/source/Plugins/ABI/Mips/ABISysV_mips.cpp | 8 +- .../Hexagon-DYLD/HexagonDYLDRendezvous.cpp | 6 +- .../DynamicLoader/POSIX-DYLD/DYLDRendezvous.cpp | 6 +- .../ObjectFile/Breakpad/BreakpadRecords.cpp | 2 +- .../Platform/MacOSX/PlatformAppleSimulator.cpp | 2 +- lldb/source/Plugins/Process/Utility/ARMUtils.h | 7 +- .../Process/Utility/StopInfoMachException.cpp | 15 +- .../Process/Windows/Common/ProcessWindows.h | 5 +- .../Process/gdb-remote/ProcessGDBRemote.cpp | 21 +- .../Plugins/Process/gdb-remote/ProcessGDBRemote.h | 4 +- .../minidump/RegisterContextMinidump_ARM64.cpp | 2 +- .../Plugins/Process/scripted/ScriptedProcess.cpp | 4 +- .../Plugins/Process/scripted/ScriptedProcess.h | 8 +- .../SymbolFile/Breakpad/SymbolFileBreakpad.cpp | 5 +- .../SymbolFile/Breakpad/SymbolFileBreakpad.h | 3 +- .../Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp | 9 +- .../Plugins/SymbolFile/DWARF/AppleDWARFIndex.h | 4 +- lldb/source/Plugins/SymbolFile/DWARF/DIERef.h | 2 +- .../Plugins/SymbolFile/DWARF/DWARFASTParser.h | 3 + .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 63 +- .../Plugins/SymbolFile/DWARF/DWARFASTParserClang.h | 3 + .../SymbolFile/DWARF/DWARFDebugInfoEntry.cpp | 1 + .../source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp | 24 +- lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.h | 7 +- .../SymbolFile/DWARF/DebugNamesDWARFIndex.cpp | 13 +- .../SymbolFile/DWARF/DebugNamesDWARFIndex.h | 4 +- .../Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp | 6 +- .../Plugins/SymbolFile/DWARF/ManualDWARFIndex.h | 4 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 37 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.h | 5 +- .../SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp | 10 +- .../SymbolFile/DWARF/SymbolFileDWARFDebugMap.h | 3 +- .../SymbolFile/NativePDB/SymbolFileNativePDB.cpp | 9 +- .../SymbolFile/NativePDB/SymbolFileNativePDB.h | 3 +- .../Plugins/SymbolFile/PDB/SymbolFilePDB.cpp | 13 +- lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h | 3 +- .../source/Plugins/Trace/intel-pt/TraceIntelPT.cpp | 16 +- lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h | 23 +- .../Trace/intel-pt/TraceIntelPTBundleLoader.cpp | 149 +- .../Trace/intel-pt/TraceIntelPTBundleLoader.h | 8 + .../Trace/intel-pt/TraceIntelPTBundleSaver.cpp | 53 +- .../Plugins/Trace/intel-pt/TraceIntelPTConstants.h | 7 + .../Trace/intel-pt/TraceIntelPTJSONStructs.cpp | 39 +- .../Trace/intel-pt/TraceIntelPTJSONStructs.h | 13 +- lldb/source/Symbol/SymbolFile.cpp | 3 +- lldb/source/Symbol/SymbolFileOnDemand.cpp | 8 +- lldb/source/Target/StopInfo.cpp | 271 ++- lldb/source/Target/Thread.cpp | 32 +- lldb/source/Target/ThreadList.cpp | 69 +- lldb/test/API/commands/trace/TestTraceLoad.py | 32 +- lldb/test/API/commands/trace/TestTraceSave.py | 19 + .../commands/trace/intelpt-kernel-trace/trace.json | 29 + .../trace_kernel_with_process.json | 53 + .../intelpt-kernel-trace/trace_kernel_wo_cpus.json | 20 + .../trace_with_loadAddress.json | 30 + .../condition/TestWatchpointConditionCmd.py | 2 +- .../TestConcurrentDelayWatchBreak.py | 4 - .../TestConcurrentManyWatchpoints.py | 4 - .../TestConcurrentNWatchNBreak.py | 4 - .../TestConcurrentSignalNWatchNBreak.py | 4 - .../concurrent_events/TestConcurrentSignalWatch.py | 4 - .../TestConcurrentSignalWatchBreak.py | 4 - .../TestConcurrentTwoWatchpointThreads.py | 4 - .../TestConcurrentTwoWatchpointsOneBreakpoint.py | 4 - ...stConcurrentTwoWatchpointsOneDelayBreakpoint.py | 4 - .../TestConcurrentTwoWatchpointsOneSignal.py | 4 - .../concurrent_events/TestConcurrentWatchBreak.py | 4 - .../cpp/class_types/TestClassTypesDisassembly.py | 29 +- .../debugserver/source/MacOSX/MachVMRegion.cpp | 2 +- .../intel-mpx/cli-wrapper-mpxtable.cpp | 2 +- lldb/tools/lldb-test/lldb-test.cpp | 5 +- lldb/unittests/Expression/DWARFExpressionTest.cpp | 4 +- lldb/unittests/Process/ProcessEventDataTest.cpp | 3 +- lldb/unittests/Target/ExecutionContextTest.cpp | 3 +- lldb/unittests/Thread/ThreadTest.cpp | 3 +- llvm/CMakeLists.txt | 35 +- llvm/cmake/modules/CheckCompilerVersion.cmake | 24 +- llvm/cmake/modules/HandleLLVMOptions.cmake | 8 - llvm/cmake/modules/TableGen.cmake | 9 +- llvm/docs/CodingStandards.rst | 10 +- llvm/docs/CommandGuide/llvm-ranlib.rst | 4 +- llvm/docs/ReleaseNotes.rst | 12 + .../MyFirstLanguageFrontend/LangImpl04.rst | 5 + .../OrcV2CBindingsIRTransforms.c | 1 + llvm/include/llvm/ADT/APInt.h | 2 +- llvm/include/llvm/ADT/APSInt.h | 2 +- llvm/include/llvm/ADT/ArrayRef.h | 6 +- llvm/include/llvm/ADT/DenseMap.h | 4 +- llvm/include/llvm/ADT/ImmutableList.h | 10 +- llvm/include/llvm/ADT/ImmutableMap.h | 6 +- llvm/include/llvm/ADT/ImmutableSet.h | 4 +- llvm/include/llvm/ADT/Optional.h | 45 +- llvm/include/llvm/ADT/PriorityWorklist.h | 2 +- llvm/include/llvm/ADT/STLExtras.h | 28 +- llvm/include/llvm/ADT/ScopeExit.h | 2 +- llvm/include/llvm/ADT/SetVector.h | 2 +- llvm/include/llvm/ADT/SmallPtrSet.h | 2 +- llvm/include/llvm/ADT/SmallSet.h | 4 +- llvm/include/llvm/ADT/SmallVector.h | 12 +- llvm/include/llvm/ADT/StringRef.h | 241 +-- llvm/include/llvm/ADT/StringSet.h | 2 +- llvm/include/llvm/ADT/StringSwitch.h | 6 +- llvm/include/llvm/ADT/TypeSwitch.h | 7 +- llvm/include/llvm/ADT/simple_ilist.h | 6 +- llvm/include/llvm/Analysis/AliasAnalysis.h | 38 +- .../include/llvm/Analysis/BlockFrequencyInfoImpl.h | 4 +- llvm/include/llvm/Analysis/LoopAccessAnalysis.h | 2 +- llvm/include/llvm/Analysis/LoopInfoImpl.h | 7 +- llvm/include/llvm/Analysis/ScalarEvolution.h | 22 +- .../llvm/Analysis/ScalarEvolutionExpressions.h | 18 +- llvm/include/llvm/Analysis/TargetTransformInfo.h | 18 + .../llvm/Analysis/TargetTransformInfoImpl.h | 13 +- llvm/include/llvm/BinaryFormat/ELF.h | 1 + llvm/include/llvm/Bitstream/BitstreamReader.h | 7 +- llvm/include/llvm/Bitstream/BitstreamWriter.h | 7 +- llvm/include/llvm/CodeGen/BasicTTIImpl.h | 5 + llvm/include/llvm/CodeGen/MachineFunction.h | 2 +- llvm/include/llvm/CodeGen/RDFGraph.h | 7 + llvm/include/llvm/CodeGen/SelectionDAG.h | 26 + llvm/include/llvm/CodeGen/TargetLowering.h | 18 +- llvm/include/llvm/DebugInfo/CodeView/CodeView.h | 3 + .../llvm/DebugInfo/CodeView/TypeRecordHelpers.h | 21 + llvm/include/llvm/Demangle/ItaniumDemangle.h | 12 + llvm/include/llvm/ExecutionEngine/Orc/Core.h | 4 +- .../ExecutionEngine/Orc/ExecutorProcessControl.h | 2 +- .../llvm/ExecutionEngine/Orc/IndirectionUtils.h | 2 +- .../Orc/MapperJITLinkMemoryManager.h | 18 +- .../llvm/ExecutionEngine/Orc/ThreadSafeModule.h | 2 +- llvm/include/llvm/IR/Attributes.h | 170 +- llvm/include/llvm/IR/CallingConv.h | 38 +- llvm/include/llvm/IR/ConstantRange.h | 2 +- llvm/include/llvm/IR/IRBuilder.h | 2 +- llvm/include/llvm/IR/InstrTypes.h | 4 +- llvm/include/llvm/IR/ModuleSummaryIndex.h | 6 +- llvm/include/llvm/IR/ModuleSummaryIndexYAML.h | 4 +- llvm/include/llvm/IR/PassManager.h | 10 +- llvm/include/llvm/IR/ProfDataUtils.h | 14 + llvm/include/llvm/MC/MCWinEH.h | 16 + llvm/include/llvm/Object/ELFObjectFile.h | 2 +- llvm/include/llvm/ProfileData/InstrProf.h | 2 +- llvm/include/llvm/Support/Casting.h | 40 +- llvm/include/llvm/Support/Compiler.h | 6 + llvm/include/llvm/Support/Error.h | 4 +- llvm/include/llvm/Support/ErrorHandling.h | 6 +- llvm/include/llvm/Support/FormatVariadic.h | 4 +- .../Support/GenericIteratedDominanceFrontier.h | 2 +- llvm/include/llvm/Support/Mutex.h | 26 +- llvm/include/llvm/Support/RWMutex.h | 8 +- llvm/include/llvm/Support/Threading.h | 2 +- llvm/include/llvm/Support/raw_ostream.h | 8 +- .../llvm/Transforms/IPO/SampleContextTracker.h | 14 +- llvm/include/llvm/Transforms/Utils/Evaluator.h | 2 +- .../Transforms/Utils/ScalarEvolutionExpander.h | 4 +- llvm/lib/Analysis/ConstantFolding.cpp | 6 +- llvm/lib/Analysis/InlineCost.cpp | 13 + llvm/lib/Analysis/InstructionSimplify.cpp | 107 +- llvm/lib/Analysis/MemoryProfileInfo.cpp | 2 +- llvm/lib/Analysis/TargetTransformInfo.cpp | 14 + llvm/lib/Analysis/ValueTracking.cpp | 88 +- llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 +- llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h | 4 +- llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 +- llvm/lib/CodeGen/InlineSpiller.cpp | 2 +- .../CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 2 +- llvm/lib/CodeGen/MachineFunction.cpp | 2 +- llvm/lib/CodeGen/RDFGraph.cpp | 52 +- llvm/lib/CodeGen/RDFLiveness.cpp | 43 +- llvm/lib/CodeGen/RegisterCoalescer.cpp | 36 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 38 +- .../CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 74 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 67 +- llvm/lib/CodeGen/VLIWMachineScheduler.cpp | 2 +- llvm/lib/DebugInfo/CodeView/TypeDumpVisitor.cpp | 2 +- llvm/lib/DebugInfo/CodeView/TypeRecordHelpers.cpp | 132 +- llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp | 7 + .../DebugInfo/PDB/Native/PDBStringTableBuilder.cpp | 2 +- .../lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp | 14 +- llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp | 2 +- llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp | 5 +- llvm/lib/ExecutionEngine/Orc/Core.cpp | 2 +- .../Orc/MapperJITLinkMemoryManager.cpp | 115 +- llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp | 5 +- .../ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h | 2 +- llvm/lib/IR/BuiltinGCs.cpp | 2 +- llvm/lib/IR/ProfDataUtils.cpp | 12 + llvm/lib/MC/MCParser/AsmLexer.cpp | 2 +- llvm/lib/MC/MCWin64EH.cpp | 414 ++-- llvm/lib/MC/SubtargetFeature.cpp | 2 +- llvm/lib/ObjectYAML/ELFYAML.cpp | 1 + llvm/lib/Passes/StandardInstrumentations.cpp | 8 +- llvm/lib/Support/Threading.cpp | 8 - llvm/lib/Target/AArch64/AArch64FrameLowering.h | 2 - llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 2 +- llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 41 +- .../Target/AArch64/AArch64TargetTransformInfo.h | 1 + .../AArch64/GISel/AArch64InstructionSelector.cpp | 14 +- .../AArch64/MCTargetDesc/AArch64MCTargetDesc.h | 1 - llvm/lib/Target/AArch64/SVEInstrFormats.td | 9 +- llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h | 1 + .../AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h | 1 - .../Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.h | 1 - llvm/lib/Target/AMDGPU/MIMGInstructions.td | 28 +- llvm/lib/Target/AMDGPU/R600TargetTransformInfo.h | 1 + llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 27 +- llvm/lib/Target/AMDGPU/SIISelLowering.h | 2 + llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 7 +- llvm/lib/Target/AMDGPU/SIInstructions.td | 22 + llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp | 2 +- llvm/lib/Target/ARM/ARM.td | 18 + llvm/lib/Target/ARM/ARMISelLowering.cpp | 4 +- llvm/lib/Target/ARM/ARMTargetTransformInfo.h | 1 + llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 2 +- .../Target/ARM/Disassembler/ARMDisassembler.cpp | 20 +- llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp | 8 +- llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp | 2 +- llvm/lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp | 8 +- llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp | 2 +- llvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp | 3 +- llvm/lib/Target/Hexagon/HexagonRDFOpt.cpp | 3 +- .../Target/Hexagon/HexagonTargetTransformInfo.h | 1 + .../Hexagon/MCTargetDesc/HexagonMCInstrInfo.h | 9 +- .../Target/LoongArch/LoongArchFrameLowering.cpp | 61 +- llvm/lib/Target/LoongArch/LoongArchFrameLowering.h | 5 +- .../lib/Target/LoongArch/LoongArchISelLowering.cpp | 546 ++++- llvm/lib/Target/LoongArch/LoongArchISelLowering.h | 14 +- llvm/lib/Target/M68k/M68kFrameLowering.cpp | 26 +- llvm/lib/Target/M68k/M68kInstrData.td | 29 + llvm/lib/Target/PowerPC/PPCCallingConv.td | 9 +- llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 2 +- llvm/lib/Target/PowerPC/PPCMIPeephole.cpp | 2 +- llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp | 2 +- llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h | 1 + llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 24 +- llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp | 25 +- llvm/lib/Target/RISCV/RISCVInstrInfoF.td | 2 +- llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | 8 +- llvm/lib/Target/RISCV/RISCVSchedRocket.td | 1 + llvm/lib/Target/RISCV/RISCVSchedSiFive7.td | 1 + llvm/lib/Target/RISCV/RISCVSchedule.td | 1 + .../lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp | 2 +- .../Target/SystemZ/SystemZTargetTransformInfo.h | 1 + .../WebAssembly/WebAssemblyTargetTransformInfo.cpp | 2 +- .../WebAssembly/WebAssemblyTargetTransformInfo.h | 1 + llvm/lib/Target/X86/MCA/X86CustomBehaviour.h | 2 - llvm/lib/Target/X86/X86AsmPrinter.cpp | 5 + llvm/lib/Target/X86/X86AsmPrinter.h | 1 + llvm/lib/Target/X86/X86CmovConversion.cpp | 3 +- llvm/lib/Target/X86/X86FrameLowering.cpp | 6 +- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 49 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 30 +- llvm/lib/Target/X86/X86InstrInfo.cpp | 4 +- .../X86/X86LoadValueInjectionLoadHardening.cpp | 3 +- llvm/lib/Target/X86/X86MCInstLower.cpp | 20 +- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 2 +- llvm/lib/Target/X86/X86TargetTransformInfo.h | 1 + llvm/lib/Target/X86/X86VZeroUpper.cpp | 5 +- llvm/lib/Transforms/Coroutines/CoroElide.cpp | 2 +- llvm/lib/Transforms/Coroutines/CoroFrame.cpp | 21 +- llvm/lib/Transforms/IPO/Attributor.cpp | 2 +- llvm/lib/Transforms/IPO/AttributorAttributes.cpp | 26 +- llvm/lib/Transforms/IPO/ConstantMerge.cpp | 2 +- llvm/lib/Transforms/IPO/FunctionImport.cpp | 38 +- llvm/lib/Transforms/IPO/GlobalDCE.cpp | 4 +- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 4 +- llvm/lib/Transforms/IPO/IROutliner.cpp | 10 +- llvm/lib/Transforms/IPO/PartialInlining.cpp | 2 +- llvm/lib/Transforms/IPO/PruneEH.cpp | 2 +- llvm/lib/Transforms/IPO/SampleContextTracker.cpp | 2 +- .../Transforms/InstCombine/InstCombineInternal.h | 10 +- .../Transforms/InstCombine/InstCombineNegator.cpp | 10 +- .../Instrumentation/AddressSanitizer.cpp | 2 +- .../Instrumentation/ControlHeightReduction.cpp | 2 +- .../Instrumentation/DataFlowSanitizer.cpp | 6 +- .../Transforms/Instrumentation/GCOVProfiling.cpp | 10 +- .../Instrumentation/HWAddressSanitizer.cpp | 4 +- .../Instrumentation/IndirectCallPromotion.cpp | 2 +- .../Transforms/Instrumentation/InstrProfiling.cpp | 8 +- .../lib/Transforms/Instrumentation/MemProfiler.cpp | 2 +- .../Transforms/Instrumentation/ThreadSanitizer.cpp | 6 +- llvm/lib/Transforms/Scalar/ConstantHoisting.cpp | 4 +- .../Scalar/CorrelatedValuePropagation.cpp | 4 +- llvm/lib/Transforms/Scalar/EarlyCSE.cpp | 6 +- llvm/lib/Transforms/Scalar/GVN.cpp | 2 +- llvm/lib/Transforms/Scalar/JumpThreading.cpp | 4 +- llvm/lib/Transforms/Scalar/LICM.cpp | 2 +- llvm/lib/Transforms/Scalar/LoopFlatten.cpp | 4 +- llvm/lib/Transforms/Scalar/LoopFuse.cpp | 4 +- llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp | 2 +- llvm/lib/Transforms/Scalar/LoopSink.cpp | 4 +- llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 2 +- llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp | 2 +- .../lib/Transforms/Scalar/LowerExpectIntrinsic.cpp | 2 +- llvm/lib/Transforms/Scalar/Reassociate.cpp | 2 +- llvm/lib/Transforms/Scalar/SCCP.cpp | 2 +- llvm/lib/Transforms/Scalar/StructurizeCFG.cpp | 2 +- llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | 8 +- llvm/lib/Transforms/Utils/CanonicalizeAliases.cpp | 2 +- llvm/lib/Transforms/Utils/CloneFunction.cpp | 4 +- llvm/lib/Transforms/Utils/CodeLayout.cpp | 2 +- llvm/lib/Transforms/Utils/FixIrreducible.cpp | 14 +- llvm/lib/Transforms/Utils/FunctionComparator.cpp | 2 +- llvm/lib/Transforms/Utils/LoopPeel.cpp | 2 +- llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | 2 +- llvm/lib/Transforms/Utils/LoopUtils.cpp | 2 +- llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp | 2 +- llvm/lib/Transforms/Utils/PredicateInfo.cpp | 4 +- .../Transforms/Utils/SampleProfileInference.cpp | 2 +- .../Transforms/Utils/ScalarEvolutionExpander.cpp | 6 +- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 2 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 2 +- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 19 +- llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp | 2 +- llvm/lib/Transforms/Vectorize/VectorCombine.cpp | 17 +- llvm/test/CodeGen/AArch64/DAGCombine_vscale.ll | 3 +- llvm/test/CodeGen/AArch64/andcompare.ll | 2105 ++++++++++++++------ llvm/test/CodeGen/AArch64/andorbrcompare.ll | 365 +++- llvm/test/CodeGen/AArch64/arm64-ccmp.ll | 650 ++---- llvm/test/CodeGen/AArch64/cmp-chains.ll | 208 +- llvm/test/CodeGen/AArch64/dag-combine-select.ll | 67 +- llvm/test/CodeGen/AArch64/sve-fp-combine.ll | 154 ++ llvm/test/CodeGen/AArch64/sve-fptosi-sat.ll | 144 +- llvm/test/CodeGen/AArch64/sve-fptoui-sat.ll | 11 +- llvm/test/CodeGen/AArch64/sve-int-arith-imm.ll | 24 +- .../AArch64/sve-intrinsics-int-arith-imm.ll | 21 +- .../CodeGen/AArch64/sve-intrinsics-logical-imm.ll | 3 +- llvm/test/CodeGen/AArch64/sve-vector-splat.ll | 38 +- llvm/test/CodeGen/AArch64/sve-vselect-imm.ll | 20 +- llvm/test/CodeGen/AArch64/sve2-fcopysign.ll | 27 +- llvm/test/CodeGen/AArch64/sve2-int-mul.ll | 6 +- .../AMDGPU/llvm.amdgcn.sched.group.barrier.ll | 625 +++++- llvm/test/CodeGen/AMDGPU/v_illegal-atomics.ll | 63 + llvm/test/CodeGen/AMDGPU/v_illegal-image_sample.ll | 40 + llvm/test/CodeGen/ARM/cttz.ll | 381 ++-- llvm/test/CodeGen/ARM/srem-seteq-illegal-types.ll | 8 +- llvm/test/CodeGen/ARM/vector-store.ll | 291 ++- llvm/test/CodeGen/LoongArch/calling-conv-lp64d.ll | 529 +++++ llvm/test/CodeGen/LoongArch/vararg.ll | 356 ++++ llvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll | 7 +- llvm/test/CodeGen/M68k/link-unlnk.ll | 96 + llvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll | 449 +++++ llvm/test/CodeGen/PowerPC/fminnum.ll | 14 +- llvm/test/CodeGen/PowerPC/pr56469.ll | 34 + llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll | 750 +++---- llvm/test/CodeGen/RISCV/rv32zba.ll | 10 + llvm/test/CodeGen/RISCV/rv32zbb.ll | 115 +- llvm/test/CodeGen/RISCV/rv64i-shift-sext.ll | 50 + llvm/test/CodeGen/RISCV/rv64zba.ll | 22 + llvm/test/CodeGen/RISCV/rv64zbb.ll | 224 +-- .../CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll | 2 +- llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.ll | 11 +- .../test/CodeGen/RISCV/srem-seteq-illegal-types.ll | 22 +- llvm/test/CodeGen/SPARC/cttz.ll | 77 + .../CodeGen/Thumb2/srem-seteq-illegal-types.ll | 2 +- llvm/test/CodeGen/X86/clz.ll | 107 +- llvm/test/CodeGen/X86/freeze-unary.ll | 277 +++ llvm/test/CodeGen/X86/fshl-splat-undef.ll | 4 +- llvm/test/CodeGen/X86/funnel-shift-logic-fold.ll | 151 ++ llvm/test/CodeGen/X86/icmp-shift-opt.ll | 71 +- llvm/test/CodeGen/X86/or-lea.ll | 440 +++- .../CodeGen/X86/peephole-na-phys-copy-folding.ll | 2 + llvm/test/CodeGen/X86/stack-folding-x86_64.ll | 4 +- llvm/test/CodeGen/X86/win64-bool.ll | 22 +- llvm/test/Instrumentation/InstrProfiling/comdat.ll | 23 +- .../Instrumentation/InstrProfiling/profiling.ll | 2 +- llvm/test/MC/AArch64/seh-large-func-multi-epilog.s | 308 +++ llvm/test/MC/AArch64/seh-large-func.s | 212 ++ llvm/test/MC/AMDGPU/v_illegal-atomics.s | 14 + llvm/test/MC/Disassembler/M68k/data.txt | 9 + llvm/test/MC/M68k/Data/Classes/MxLink.s | 13 + .../print-changed-diff-block-ordering-changed.ll | 20 + .../Coroutines/coro-split-no-lieftime.ll | 62 + llvm/test/Transforms/EarlyCSE/atan.ll | 127 ++ .../{InstSimplify/ConstProp => EarlyCSE}/math-1.ll | 0 .../{InstSimplify/ConstProp => EarlyCSE}/math-2.ll | 0 llvm/test/Transforms/EarlyCSE/opaque-ptr.ll | 20 + llvm/test/Transforms/InstCombine/and-or-not.ll | 228 +++ .../InstSimplify/ConstProp/ARM/mve-vctp.ll | 9 +- .../InstSimplify/ConstProp/active-lane-mask.ll | 10 +- .../InstSimplify/ConstProp/convert-from-fp16.ll | 121 +- .../Transforms/InstSimplify/and-icmps-same-ops.ll | 6 +- .../Transforms/InstSimplify/or-icmps-same-ops.ll | 9 + llvm/test/Transforms/InstSimplify/shift.ll | 10 + .../SimpleLoopUnswitch/PGO-nontrivial-unswitch.ll | 142 ++ .../AArch64/Neoverse/N2-sve-instructions.s | 1526 +------------- .../test/tools/llvm-objdump/ELF/ARM/be-disasm.test | 91 + llvm/test/tools/llvm-ranlib/D-flag.test | 6 +- .../llvm-ranlib/error-opening-permission.test | 41 + .../no-replace-intrinsic-callee-with-undef.ll | 16 +- llvm/test/tools/llvm-reduce/operands-skip.ll | 68 +- .../tools/llvm-reduce/operands-to-args-metadata.ll | 2 +- llvm/test/tools/llvm-reduce/operands-to-args.ll | 47 +- llvm/test/tools/llvm-reduce/reduce-operands.ll | 14 +- llvm/test/tools/llvm-reduce/remove-alias.ll | 20 +- llvm/test/tools/llvm-reduce/remove-args-2.ll | 10 +- .../remove-args-fn-passed-through-call.ll | 10 +- .../tools/llvm-reduce/remove-bbs-unwinded-to.ll | 4 +- ...tion-arguments-of-funcs-used-in-blockaddress.ll | 6 +- .../remove-function-bodies-used-in-globals.ll | 4 +- llvm/test/tools/llvm-reduce/remove-global-vars.ll | 34 +- llvm/test/tools/llvm-reduce/remove-instructions.ll | 12 +- .../tools/llvm-reduce/remove-invoked-functions.ll | 12 +- .../test/tools/llvm-reduce/remove-metadata-args.ll | 6 +- ...tiple-use-of-global-vars-in-same-instruction.ll | 10 +- .../temporary-files-as-bitcode-split.ll | 6 +- llvm/tools/llvm-ar/llvm-ar.cpp | 33 +- llvm/tools/llvm-cxxdump/llvm-cxxdump.cpp | 2 +- llvm/tools/llvm-dwarfutil/CMakeLists.txt | 1 - llvm/tools/llvm-dwarfutil/llvm-dwarfutil.cpp | 1 - llvm/tools/llvm-objdump/llvm-objdump.cpp | 34 +- .../PrettyClassLayoutGraphicalDumper.cpp | 6 +- llvm/tools/llvm-profgen/PerfReader.h | 2 +- llvm/tools/llvm-readobj/ARMWinEHPrinter.cpp | 2 +- llvm/tools/llvm-tli-checker/llvm-tli-checker.cpp | 4 +- .../verify-uselistorder/verify-uselistorder.cpp | 2 +- llvm/unittests/ADT/IteratorTest.cpp | 5 +- llvm/unittests/ADT/STLExtrasTest.cpp | 52 +- llvm/unittests/ADT/SmallVectorTest.cpp | 50 + .../Orc/MapperJITLinkMemoryManagerTest.cpp | 106 +- llvm/unittests/ProfileData/CoverageMappingTest.cpp | 2 +- llvm/unittests/ProfileData/InstrProfTest.cpp | 2 +- llvm/unittests/Support/FormatVariadicTest.cpp | 2 +- llvm/unittests/Support/ProcessTest.cpp | 8 +- llvm/utils/TableGen/CMakeLists.txt | 2 +- llvm/utils/TableGen/CodeGenSchedule.cpp | 2 +- llvm/utils/TableGen/DecoderEmitter.cpp | 2 +- .../UnicodeData/UnicodeNameMappingGenerator.cpp | 2 +- llvm/utils/git/github-automation.py | 2 +- llvm/utils/gn/build/BUILD.gn | 3 +- .../gn/secondary/compiler-rt/lib/builtins/BUILD.gn | 1 + llvm/utils/gn/secondary/libcxx/include/BUILD.gn | 2 +- .../gn/secondary/lldb/include/lldb/Host/BUILD.gn | 11 +- mlir/docs/Bindings/Python.md | 3 +- mlir/docs/PassManagement.md | 2 + mlir/examples/standalone/CMakeLists.txt | 2 +- .../mlir/Analysis/Presburger/IntegerRelation.h | 2 +- mlir/include/mlir/Bindings/Python/PybindAdaptors.h | 21 + .../mlir/Conversion/MemRefToSPIRV/MemRefToSPIRV.h | 31 + .../Conversion/MemRefToSPIRV/MemRefToSPIRVPass.h | 5 + mlir/include/mlir/Conversion/Passes.td | 10 + .../mlir/Dialect/Arithmetic/IR/ArithmeticOps.td | 8 +- .../Bufferization/IR/BufferizableOpInterface.h | 15 +- .../mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td | 1 + mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | 13 +- .../mlir/Dialect/Linalg/IR/LinalgInterfaces.td | 2 +- mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td | 8 +- .../mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 4 +- mlir/include/mlir/Dialect/Linalg/Utils/Utils.h | 41 +- mlir/include/mlir/Dialect/Math/IR/MathBase.td | 8 +- mlir/include/mlir/Dialect/Math/IR/MathOps.td | 38 +- .../mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td | 49 + .../mlir/Dialect/SPIRV/IR/SPIRVAtomicOps.td | 2 +- mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td | 492 +++-- mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBitOps.td | 16 +- .../mlir/Dialect/SPIRV/IR/SPIRVControlFlowOps.td | 2 +- .../Dialect/SPIRV/IR/SPIRVCooperativeMatrixOps.td | 8 +- .../include/mlir/Dialect/SPIRV/IR/SPIRVGroupOps.td | 8 +- .../include/mlir/Dialect/SPIRV/IR/SPIRVImageOps.td | 4 +- .../mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td | 4 +- .../mlir/Dialect/SPIRV/IR/SPIRVMatrixOps.td | 6 +- .../mlir/Dialect/SPIRV/IR/SPIRVMemoryOps.td | 9 +- mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMiscOps.td | 2 +- .../mlir/Dialect/SPIRV/IR/SPIRVNonUniformOps.td | 26 +- .../mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td | 9 +- .../Dialect/SparseTensor/IR/SparseTensorOps.td | 28 + mlir/include/mlir/Dialect/Tosa/IR/TosaOpBase.td | 3 +- .../mlir/Dialect/Transform/IR/TransformDialect.td | 7 +- .../include/mlir/ExecutionEngine/ExecutionEngine.h | 4 +- mlir/include/mlir/IR/BuiltinAttributes.h | 1 - mlir/include/mlir/IR/Dialect.h | 11 +- mlir/include/mlir/IR/DialectRegistry.h | 8 +- mlir/include/mlir/IR/Matchers.h | 7 +- mlir/include/mlir/IR/OpDefinition.h | 27 +- mlir/include/mlir/IR/OpImplementation.h | 10 +- mlir/include/mlir/IR/PatternMatch.h | 58 +- mlir/include/mlir/IR/StorageUniquerSupport.h | 4 +- mlir/include/mlir/Support/InterfaceSupport.h | 6 +- mlir/include/mlir/TableGen/Format.h | 4 +- .../include/mlir/Target/LLVMIR/ModuleTranslation.h | 6 + .../mlir/Tools/mlir-tblgen/MlirTblgenMain.h | 26 + mlir/lib/Analysis/Presburger/IntegerRelation.cpp | 10 +- mlir/lib/Analysis/Presburger/SlowMPInt.cpp | 4 +- mlir/lib/AsmParser/AttributeParser.cpp | 4 +- mlir/lib/Bindings/Python/IRModule.h | 2 +- .../lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp | 27 +- .../ComplexToStandard/ComplexToStandard.cpp | 26 +- .../Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp | 4 +- .../GPUToROCDL/LowerGpuOpsToROCDLOps.cpp | 4 +- mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp | 6 +- mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp | 5 +- mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp | 3 - mlir/lib/Conversion/MemRefToSPIRV/CMakeLists.txt | 1 + .../MemRefToSPIRV/MapMemRefStorageClassPass.cpp | 296 +++ .../lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp | 4 +- mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp | 18 +- mlir/lib/Dialect/DLTI/DLTI.cpp | 6 +- mlir/lib/Dialect/EmitC/IR/EmitC.cpp | 2 +- mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp | 35 +- mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp | 6 +- mlir/lib/Dialect/Linalg/IR/LinalgDialect.cpp | 3 +- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 38 +- .../Linalg/TransformOps/LinalgTransformOps.cpp | 2 +- .../Transforms/BufferizableOpInterfaceImpl.cpp | 3 +- .../lib/Dialect/Linalg/Transforms/ConstantFold.cpp | 4 +- .../Linalg/Transforms/DecomposeLinalgOps.cpp | 8 +- mlir/lib/Dialect/Linalg/Transforms/Detensorize.cpp | 8 +- .../lib/Dialect/Linalg/Transforms/DropUnitDims.cpp | 25 +- .../Linalg/Transforms/ElementwiseOpFusion.cpp | 29 +- .../Dialect/Linalg/Transforms/Generalization.cpp | 4 +- .../Linalg/Transforms/InitTensorToAllocTensor.cpp | 2 +- .../Linalg/Transforms/InlineScalarOperands.cpp | 8 +- mlir/lib/Dialect/Linalg/Transforms/Interchange.cpp | 4 +- mlir/lib/Dialect/Linalg/Transforms/Loops.cpp | 2 +- .../Linalg/Transforms/NamedOpConversions.cpp | 8 +- .../Dialect/Linalg/Transforms/SplitReduction.cpp | 12 +- .../Linalg/Transforms/TilingInterfaceImpl.cpp | 5 +- mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp | 22 +- .../Dialect/Linalg/Transforms/Vectorization.cpp | 10 +- mlir/lib/Dialect/Linalg/Utils/Utils.cpp | 135 +- mlir/lib/Dialect/Math/IR/MathOps.cpp | 41 +- .../Math/Transforms/PolynomialApproximation.cpp | 6 +- mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp | 32 +- mlir/lib/Dialect/PDL/IR/PDLTypes.cpp | 2 +- mlir/lib/Dialect/Quant/IR/TypeParser.cpp | 2 +- mlir/lib/Dialect/SCF/IR/SCF.cpp | 2 +- mlir/lib/Dialect/SPIRV/IR/SPIRVAttributes.cpp | 6 +- mlir/lib/Dialect/SPIRV/IR/SPIRVDialect.cpp | 4 +- mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp | 69 +- .../SparseTensor/IR/SparseTensorDialect.cpp | 64 + .../Transforms/SparseTensorRewriting.cpp | 12 +- .../SparseTensor/Transforms/Sparsification.cpp | 2 +- mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp | 12 +- .../Transforms/TosaLayerwiseConstantFoldPass.cpp | 3 +- mlir/lib/IR/BuiltinTypes.cpp | 3 - mlir/lib/IR/FunctionImplementation.cpp | 6 +- mlir/lib/Interfaces/ViewLikeInterface.cpp | 2 +- mlir/lib/TableGen/CMakeLists.txt | 1 + mlir/lib/TableGen/GenInfo.cpp | 41 + .../Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp | 6 +- .../Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp | 3 +- mlir/lib/Target/SPIRV/SPIRVBinaryUtils.cpp | 1 + mlir/lib/Tools/CMakeLists.txt | 1 + mlir/lib/Tools/mlir-tblgen/CMakeLists.txt | 18 + .../Tools/mlir-tblgen/MlirTblgenMain.cpp} | 86 +- mlir/lib/Transforms/Utils/CommutativityUtils.cpp | 3 - .../mlir/dialects/linalg/opdsl/lang/emitter.py | 2 +- .../Conversion/AMDGPUToROCDL/amdgpu-to-rocdl.mlir | 11 +- .../ComplexToStandard/convert-to-standard.mlir | 32 +- mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir | 5 +- mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl.mlir | 4 +- mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir | 18 +- .../Conversion/MathToSPIRV/math-to-gl-spirv.mlir | 9 +- .../MathToSPIRV/math-to-opencl-spirv.mlir | 2 +- .../MemRefToSPIRV/map-storage-class.mlir | 82 + .../Conversion/TosaToLinalg/tosa-to-linalg.mlir | 16 +- mlir/test/Dialect/LLVMIR/global.mlir | 7 + mlir/test/Dialect/LLVMIR/invalid.mlir | 13 + .../Linalg/generalize-named-polymorphic-ops.mlir | 2 +- mlir/test/Dialect/Linalg/tile-and-distribute.mlir | 22 +- .../test/Dialect/Linalg/tile-and-fuse-tensors.mlir | 2 +- mlir/test/Dialect/Linalg/tile-conv.mlir | 2 +- .../Dialect/Linalg/tile-to-foreach-thread.mlir | 16 +- mlir/test/Dialect/Linalg/tile.mlir | 44 +- mlir/test/Dialect/Linalg/transform-op-split.mlir | 2 +- mlir/test/Dialect/Math/canonicalize.mlir | 25 +- .../Dialect/Math/polynomial-approximation.mlir | 7 +- mlir/test/Dialect/SPIRV/IR/arithmetic-ops.mlir | 52 + mlir/test/Dialect/SPIRV/IR/availability.mlir | 8 +- mlir/test/Dialect/SparseTensor/invalid.mlir | 83 + mlir/test/Dialect/SparseTensor/roundtrip.mlir | 26 +- mlir/test/Dialect/SparseTensor/sparse_fp_ops.mlir | 46 +- mlir/test/IR/core-ops.mlir | 16 +- .../Dialect/SparseTensor/CPU/sparse_matvec.mlir | 19 +- .../Dialect/SparseTensor/CPU/sparse_mttkrp.mlir | 52 +- .../SparseTensor/CPU/sparse_sampled_matmul.mlir | 36 +- .../Dialect/SparseTensor/CPU/sparse_spmm.mlir | 35 +- mlir/test/Target/Cpp/invalid.mlir | 4 +- mlir/test/lib/Dialect/Test/TestTypeDefs.td | 4 +- mlir/test/lib/Dialect/Test/TestTypes.cpp | 6 +- mlir/test/lib/Dialect/Test/TestTypes.h | 2 +- .../Transform/TestTransformDialectExtension.cpp | 6 +- .../mlir-cpu-runner/math-polynomial-approx.mlir | 4 +- .../mlir-tblgen/default-type-attr-print-parser.td | 4 +- .../test/python/dialects/linalg/opdsl/emit_misc.py | 2 +- mlir/tools/mlir-pdll/CMakeLists.txt | 2 +- mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp | 8 +- mlir/tools/mlir-tblgen/CMakeLists.txt | 4 +- mlir/tools/mlir-tblgen/OpFormatGen.cpp | 14 +- mlir/tools/mlir-tblgen/mlir-tblgen.cpp | 140 +- .../Analysis/Presburger/IntegerPolyhedronTest.cpp | 5 +- mlir/unittests/Analysis/Presburger/MPIntTest.cpp | 2 + mlir/unittests/IR/AttributeTest.cpp | 6 +- mlir/utils/spirv/gen_spirv_dialect.py | 41 +- mlir/utils/spirv/refresh_inst.sh | 29 + openmp/CMakeLists.txt | 4 +- openmp/cmake/HandleOpenMPOptions.cmake | 2 +- openmp/cmake/config-ix.cmake | 2 +- openmp/libomptarget/DeviceRTL/CMakeLists.txt | 2 + openmp/libomptarget/DeviceRTL/include/Debug.h | 9 +- .../libomptarget/DeviceRTL/include/LibC.h | 24 +- openmp/libomptarget/DeviceRTL/include/Types.h | 1 + openmp/libomptarget/DeviceRTL/src/Debug.cpp | 27 - openmp/libomptarget/DeviceRTL/src/LibC.cpp | 55 + openmp/libomptarget/DeviceRTL/src/exports | 3 + openmp/libomptarget/plugins/amdgpu/impl/system.cpp | 7 +- openmp/libomptarget/test/offloading/test_libc.cpp | 28 + openmp/runtime/test/lit.cfg | 4 +- openmp/tools/archer/tests/lit.cfg | 2 +- .../HowToManuallyUseTheIndividualPiecesOfPolly.rst | 2 +- polly/include/polly/Support/ISLTools.h | 5 + polly/include/polly/Support/VirtualInstruction.h | 2 +- polly/lib/CodeGen/ManagedMemoryRewrite.cpp | 2 +- polly/lib/Support/ISLTools.cpp | 12 + polly/lib/Transform/ManualOptimizer.cpp | 2 +- polly/lib/Transform/MatmulOptimizer.cpp | 812 +++++++- polly/lib/Transform/ScheduleOptimizer.cpp | 36 +- polly/lib/Transform/ScheduleTreeTransform.cpp | 2 +- polly/test/CodeGen/non-affine-update.ll | 2 +- polly/test/ForwardOpTree/changed-kind.ll | 2 +- .../pattern-matching-based-opts-after-delicm.ll | 32 +- .../pattern-matching-based-opts-after-delicm_2.ll | 108 + .../pattern-matching-based-opts.ll | 9 +- .../pattern-matching-based-opts_11.ll | 4 +- .../pattern-matching-based-opts_15.ll | 4 +- .../pattern-matching-based-opts_16.ll | 64 + .../pattern-matching-based-opts_17.ll | 64 + .../pattern-matching-based-opts_18.ll | 84 + .../pattern-matching-based-opts_19.ll | 84 + .../pattern-matching-based-opts_2.ll | 4 +- .../pattern-matching-based-opts_20.ll | 94 + .../pattern-matching-based-opts_21.ll | 64 + .../pattern-matching-based-opts_22.ll | 65 + .../pattern-matching-based-opts_23.ll | 79 + .../pattern-matching-based-opts_24.ll | 65 + .../pattern-matching-based-opts_25.ll | 56 + .../pattern-matching-based-opts_4.ll | 10 +- polly/test/ScopDetect/non-affine-loop.ll | 2 +- .../ReportVariantBasePtr-01.ll | 2 +- .../aliasing_conditional_alias_groups_2.ll | 2 +- .../aliasing_many_parameters_not_all_involved.ll | 2 +- ...act_constant_factor_introduces_new_parameter.ll | 2 +- ...valid_add_rec_after_invariant_load_remapping.ll | 2 +- ...invariant_load_canonicalize_array_baseptrs_3.ll | 2 +- ...invariant_load_canonicalize_array_baseptrs_4.ll | 2 +- .../ScopInfo/multidim_fold_constant_dim_zero.ll | 2 +- polly/test/ScopInfo/multidim_many_references.ll | 2 +- polly/test/ScopInfo/ranged_parameter.ll | 2 +- .../ScopInfo/redundant_parameter_constraint.ll | 2 +- polly/test/ScopInfo/scalar_to_array.ll | 2 +- .../out-of-scop-use-in-region-entry-phi-node.ll | 2 +- polly/tools/GPURuntime/GPUJIT.h | 2 +- polly/www/documentation/gpgpucodegen.html | 2 +- polly/www/index.html | 8 +- polly/www/performance.html | 6 +- polly/www/projects.html | 2 +- polly/www/todo.html | 4 +- utils/bazel/.bazelrc | 12 +- utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 37 +- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 4 +- 1149 files changed, 22014 insertions(+), 10516 deletions(-) create mode 100644 clang/docs/HLSL/HLSLDocs.rst rename clang/docs/{ => HLSL}/HLSLSupport.rst (100%) create mode 100644 clang/docs/HLSL/ResourceTypes.rst create mode 100644 clang/test/C/drs/abc_123.h create mode 100644 clang/test/C/drs/dr3xx.c create mode 100644 clang/test/CodeGen/profile-filter-new.c create mode 100644 clang/test/CodeGenCoroutines/pr56919.cpp create mode 100644 clang/test/CodeGenHLSL/entry.hlsl create mode 100644 clang/test/CodeGenHLSL/shader_type_attr.hlsl create mode 100644 clang/test/Driver/dxc_E.hlsl create mode 100644 clang/test/Driver/dxc_Fo.hlsl create mode 100644 clang/test/Driver/hlsl-entry.cpp delete mode 100644 clang/test/Modules/relative-original-dir.m create mode 100644 clang/test/Modules/submodule-in-private-mmap-vfs.m create mode 100644 clang/test/OpenMP/bug56913.c create mode 100644 clang/test/SemaCXX/constexpr-array-init.cpp create mode 100644 clang/test/SemaHLSL/entry.hlsl create mode 100644 compiler-rt/lib/builtins/riscv/fp_mode.c create mode 100644 flang/include/flang/Lower/LoweringOptions.h create mode 100644 flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp create mode 100644 flang/test/Lower/Intrinsics/acos.f90 create mode 100644 flang/test/Lower/Intrinsics/acosh.f90 create mode 100644 flang/test/Lower/Intrinsics/asin.f90 create mode 100644 flang/test/Lower/Intrinsics/asinh.f90 create mode 100644 flang/test/Lower/Intrinsics/atanh.f90 create mode 100644 flang/test/Lower/Intrinsics/bessel_j0.f90 create mode 100644 flang/test/Lower/Intrinsics/bessel_j1.f90 create mode 100644 flang/test/Lower/Intrinsics/bessel_jn.f90 create mode 100644 flang/test/Lower/Intrinsics/bessel_y0.f90 create mode 100644 flang/test/Lower/Intrinsics/bessel_y1.f90 create mode 100644 flang/test/Lower/Intrinsics/bessel_yn.f90 create mode 100644 flang/test/Lower/Intrinsics/erfc.f90 create mode 100644 flang/test/Lower/Intrinsics/gamma.f90 create mode 100644 flang/test/Lower/Intrinsics/log_gamma.f90 create mode 100644 flang/test/Lower/Intrinsics/mod.f90 create mode 100644 flang/test/Transforms/simplifyintrinsics.fir copy lldb/docs/_static/lldb.css => libc/docs/_static/custom.css (100%) create mode 100644 libc/src/__support/CPP/optional.h delete mode 100644 libc/src/math/generic/sincosf_data.cpp create mode 100644 libc/test/src/__support/CPP/optional_test.cpp create mode 100644 libc/test/src/math/exhaustive/sincosf_test.cpp create mode 100644 libcxx/include/__algorithm/ranges_is_permutation.h delete mode 100644 libcxx/test/libcxx/assertions/default_verbose_abort.availabilit [...] create mode 100644 libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/ [...] create mode 100644 libcxx/test/std/input.output/filesystems/fs.filesystem.synopsis [...] create mode 100644 libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.specia [...] delete mode 100644 libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.specia [...] delete mode 100644 libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.specia [...] create mode 100644 lld/test/COFF/pdb-xfg-section.s create mode 100644 lldb/test/API/commands/trace/intelpt-kernel-trace/trace.json create mode 100644 lldb/test/API/commands/trace/intelpt-kernel-trace/trace_kernel_ [...] create mode 100644 lldb/test/API/commands/trace/intelpt-kernel-trace/trace_kernel_ [...] create mode 100644 lldb/test/API/commands/trace/intelpt-kernel-trace/trace_with_lo [...] create mode 100644 llvm/test/CodeGen/AMDGPU/v_illegal-atomics.ll create mode 100644 llvm/test/CodeGen/AMDGPU/v_illegal-image_sample.ll create mode 100644 llvm/test/CodeGen/LoongArch/calling-conv-lp64d.ll create mode 100644 llvm/test/CodeGen/LoongArch/vararg.ll create mode 100644 llvm/test/CodeGen/M68k/link-unlnk.ll create mode 100644 llvm/test/CodeGen/PowerPC/ctrloops-pseudo.ll create mode 100644 llvm/test/CodeGen/PowerPC/pr56469.ll create mode 100644 llvm/test/CodeGen/SPARC/cttz.ll create mode 100644 llvm/test/CodeGen/X86/freeze-unary.ll create mode 100644 llvm/test/CodeGen/X86/funnel-shift-logic-fold.ll create mode 100644 llvm/test/MC/AArch64/seh-large-func-multi-epilog.s create mode 100644 llvm/test/MC/AArch64/seh-large-func.s create mode 100644 llvm/test/MC/AMDGPU/v_illegal-atomics.s create mode 100644 llvm/test/MC/M68k/Data/Classes/MxLink.s create mode 100644 llvm/test/Other/ChangePrinters/print-changed-diff-block-orderin [...] create mode 100644 llvm/test/Transforms/Coroutines/coro-split-no-lieftime.ll create mode 100644 llvm/test/Transforms/EarlyCSE/atan.ll rename llvm/test/Transforms/{InstSimplify/ConstProp => EarlyCSE}/math-1.ll (100%) rename llvm/test/Transforms/{InstSimplify/ConstProp => EarlyCSE}/math-2.ll (100%) create mode 100644 llvm/test/Transforms/SimpleLoopUnswitch/PGO-nontrivial-unswitch.ll create mode 100644 llvm/test/tools/llvm-objdump/ELF/ARM/be-disasm.test create mode 100644 llvm/test/tools/llvm-ranlib/error-opening-permission.test create mode 100644 mlir/include/mlir/Tools/mlir-tblgen/MlirTblgenMain.h create mode 100644 mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp create mode 100644 mlir/lib/TableGen/GenInfo.cpp create mode 100644 mlir/lib/Tools/mlir-tblgen/CMakeLists.txt copy mlir/{tools/mlir-tblgen/mlir-tblgen.cpp => lib/Tools/mlir-tblgen/MlirTblgenMa [...] create mode 100644 mlir/test/Conversion/MemRefToSPIRV/map-storage-class.mlir create mode 100755 mlir/utils/spirv/refresh_inst.sh copy libunwind/test/unw_getcontext.pass.cpp => openmp/libomptarget/DeviceRTL/inclu [...] create mode 100644 openmp/libomptarget/DeviceRTL/src/LibC.cpp create mode 100644 openmp/libomptarget/test/offloading/test_libc.cpp create mode 100644 polly/test/ScheduleOptimizer/pattern-matching-based-opts-after- [...] create mode 100644 polly/test/ScheduleOptimizer/pattern-matching-based-opts_16.ll create mode 100644 polly/test/ScheduleOptimizer/pattern-matching-based-opts_17.ll create mode 100644 polly/test/ScheduleOptimizer/pattern-matching-based-opts_18.ll create mode 100644 polly/test/ScheduleOptimizer/pattern-matching-based-opts_19.ll create mode 100644 polly/test/ScheduleOptimizer/pattern-matching-based-opts_20.ll create mode 100644 polly/test/ScheduleOptimizer/pattern-matching-based-opts_21.ll create mode 100644 polly/test/ScheduleOptimizer/pattern-matching-based-opts_22.ll create mode 100644 polly/test/ScheduleOptimizer/pattern-matching-based-opts_23.ll create mode 100644 polly/test/ScheduleOptimizer/pattern-matching-based-opts_24.ll create mode 100644 polly/test/ScheduleOptimizer/pattern-matching-based-opts_25.ll