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-arm-stable-allmodconfig in repository toolchain/ci/llvm-project.
from f93520349695 [AArch64] Add regression test for D114354 adds eb00e79bd974 [DebugInfo] Reflect switched variable order from instructi [...] adds 133e25f946f8 [DebugInfo][InstrRef] Ignore SP clobbers on call instructi [...] adds a489d6c5e015 [ASan] Moved __asan_test_only_reported_buggy_pointer to Re [...] adds 06d4a76309cd [NFC][AIX]Disable precompiled module file tests on AIX adds 0a58982b082d [mlir][Linalg] Remove alloc/dealloc pair as a callback. adds dc1aa8eacd1e [PowerPC] Add missed clang portion of c933c2eb3346 adds fb46e64a013a Revert "[ThreadPool] Do not return shared futures." adds c79345fb7b14 [NFC][Clang][test] Inclusive language: Remove and rephrase [...] adds a4fd8cb76f81 [mlir][linalg] Update failure conditions for padOperandToS [...] adds 9300b133c80d Revert "[InstCombine] (~(a | b) & c) | ~(c | (a ^ b)) -> ~ [...] adds 86f186efea7b [mlir][linalg] Add makeComposedPadHighOp. adds d42a6432aa37 [NFC][clang]Inclusive language: remove remaining uses of sanity adds b6e7b1be732d [mlir][linalg] Simplify padding test (NFC). adds bfadc5dcbfa8 [DebugInfo][InstrRef] Cope with win32 calls changing SP in [...] adds 2897b67665d1 [LV] Use OrigLoop instead of induction to get function. (NFC) adds 187d9979f22e cfi: fix more -Wformat warnings adds 1ad7de9e92bc Headers: exclude `#include_next <stdatomic.h>` on MSVC adds 496254cf802a [SLP]Improve analysis/emission of vector operands for alte [...] adds 7e1dc12f440b Move some tests from instcombine to phase ordering. NFC. adds 175d68dd8db5 [ConstraintElimination] Add additional tests. adds 3a183a49f26d [libc++] Fix two tests that were failing in freestanding mode adds f244166c475d [libc++] Handle armv7m in two architecture dependent tests adds aa60d169ea62 [CVP] Add a cl::opt for canonicalization of signed relatio [...] adds 7a0584fe3fd6 [libc++] Fix backdeployment annotations for std::filesystem adds cd93ab8947a8 DWARFVerifier: Don't parse all units twice adds 95875d246acb [LLVM][NFC]Inclusive language: remove occurances of sanity [...] adds 68e2231f8724 [libc++] Value-initialize unique_ptr's deleter_type adds cb395f66ac3c [mlir][spirv] Change the return type for {Min|Max}VersionBase adds 7bd87a03fdf1 Promote readability by factoring out creation of min/max o [...] adds d3bb4fec2a5a [mlir][linalg][bufferize][NFC] Move arith interface impl t [...] adds 0332d105b9ad GlobalISel: remove assert that memcpy Src and Dst addrspac [...] adds 23d505571d51 [NFC] Improve debug message in getAsIntegerSet adds 8a8c655fe7c3 [mlir][SCF] Fix off-by-one bug in affine analysis adds ee1bf186723a [mlir][SCF] Further simplify affine maps during `for-loop- [...] adds 25d173499eff [MLIR] Rename test/python/dialects/math.py -> math_dialect.py adds 371290dfd400 [ELF] Remove unneeded DF_STATIC_TLS for EM_386 local-exec TLS adds 5922dd91f8db [ELF] Rename hasStaticTlsModel to hasTlsIe adds 6ca8fde226e9 [ELF] Emit DF_STATIC_TLS only for -shared adds c0e3bb4d4ba3 [lldb] Fix TestFileHandle.py adds 8804d08e9921 Revert "[clang][AST] Check context of record in structural [...] adds 72e4f4a2a117 [clang-format] [PR47936] AfterControlStatement: MultiLine [...] adds a5c2f7828796 [mlir][interfaces] Add insideMutuallyExclusiveRegions helper adds 467acf3b6ba2 [mlir][spirv] Float atomics should not imply Shader adds cdd37e2e47f7 [clangd] Disable hicpp-invalid-access-moved inside clangd adds 8dae0b6b6c9a [mlir][spirv] arith::RemSIOp OpenCL lowering adds 3e67cf21a19a [clang][driver] Add -fplugin-arg- to pass arguments to plugins adds 3c228573bcb8 Revert "[mlir][SCF] Further simplify affine maps during `f [...] adds 48107eaa07e2 [mlir][linalg][bufferize][NFC] Move SCF interface impl to [...] adds 3a700cabdcba [SDAG] Allow Unknown sizes when refining MMO alignments. NFC adds e2cad4df22a6 [clangd] Add ObjC method support to prepareCallHierarchy adds ed7c1fb9b099 [mlir][linalg] Add backward slice filtering in hoist padding. adds fd723eaa9254 [mlir][linalg] Limit hoist padding to constant paddings. adds 4b03906346a8 [mlir][linalg] Perform checks early in hoist padding. adds 43dc6d5d57d7 [mlir][linalg] Cleanup hoisting test (NFC). adds 57470abc4125 [mlir] Move memref.[tensor_load|buffer_cast|clone] to "buf [...] adds c94667a810e4 [clang-format] [PR52595] clang-format does not recognize r [...] adds d44f2a6db2c7 [clang-format]NFC improve the comment to match the code adds 63b1e58f0738 [DAG] SimplifyDemandedBits - simplify rotl/rotr to shl/srl [...] adds a6fedbf20c8f [lldb/gdb-remote] Remove initial pipe-draining workaround adds 165545c7a431 [lldb/gdb-remote] Ignore spurious ACK packets adds c2fe2b5a63bb [clang-format] [C++20] [Module] clang-format couldn't reco [...] adds 59e4a6708152 [clangd] Move IncludeCleaner tracer to the actual computation adds 7f7dac712694 [NFC][llvm] Inclusive language: reword uses of sanity test [...] adds 35c1e6ac1af0 [MLIR] [docs] Fix misguided examples in memref.subview operation. adds 4675a1654cb3 Revert "[SLP]Improve analysis/emission of vector operands [...] adds a25e08dd3ca2 [PowerPC/ Regenerate fp128-bitcast-after-operation test checks adds 6eca1957eeee Don't store nullptrs in mlir::FuncOp::getAll*Attrs' result adds 36cb7477d1d4 [clang][OpenMP][DebugInfo] Debug support for private varia [...] adds e6cca3125dec [ARM] Add fptosi.sat variants of the fixed point vcvt tests. NFC adds 102d2a8a9905 [DebugInfo][InstrRef] Track variable assignments in out-of [...] adds 890e3c55b5d4 [llvm][ubsan] Inclusive language: replace use of blacklist [...] adds fbb61adb70a3 [ARM] Convert fptoi.sat to fixed point multiply adds d841086ae621 tsan: enable -msse4 when compiling tests adds 5cac2b956bcf tsan: add a test for vector memory accesses adds debac0ef37d8 tsan: add a benchmark for vector memory accesses adds b584741d06ef tsan: fix Java heap block begin in reports adds 976bb4724c04 tsan: fix another potential deadlock in fork adds 68e7e76a9be0 [libc++] Fix constraints for string_view's iterator/sentin [...] adds 3e7452a812fa [libc++] Avoid overload resolution in path comparison operators adds bfd5dd156843 [llvm] Use range-based for loops (NFC) adds c3dc6b081da6 [NFC][clang-tools-extra] Inclusive language: replace maste [...] adds 71a7c55f0f02 Revert "[ThreadPool] Support returning futures with results." adds 66d4ce7e26a5 tsan: new runtime (v3) adds 1db1cb028db5 [CMake] Add new cmake option to control adding comments in [...] adds 151a7dafd316 [libc++] Fix ssize test that made an assumption about ptrd [...] adds 1aab5e653d2c [LLDB] Provide target specific directories to libclang adds 34303d3db78f [NFC][llvm] Inclusive language: replace master with main i [...] adds 150681f2f322 [PowerPC] Prevent the optimizer from producing wide vector [...] adds c89fc1eec3fd [MLIR] NFC. Rename MLIR CAPI ExecutionEngine target for co [...] adds 5c162ec54520 [NFC][compiler-rt] Inclusive language: replace master/slav [...] adds 3c8666ef9a21 [clang-format] NFC update LLVM overall clang-formatted status adds a712b661eb94 [NFC][llvm] Inclusive language: replace master in llvm docs adds 813d486cbc99 [clang-format] Extend AllowShortBlocksOnASingleLine for el [...] adds 8cb1af73c617 Recommit [ThreadPool] Support returning futures with results. adds 0796869e4e1e [AIX] Disable unsupported offloading gpu tests adds cc311a155aa9 [mlir][Vector] Support 0-D vectors in `VectorPrintOpConversion` adds bc41653a1f28 [ThreadPool] Use auto again for future with ENABLE_THREADS=Off. adds ebfeeec4c4bc [libunwind] Fix testing with sanitizers enabled adds 3107081e9413 [DebugInfo][InstrRef] Avoid some quadratic behaviour in Li [...] adds b90eef30048d [NFC][flang] Inclusive language: remove instances of master adds b11c66accfb1 [NFC] Inclusive language: rename master flag to main flag adds 5162b558d8c0 [clang][NFC] Inclusive terms: rename AccessDeclContextSani [...] adds 536b9eb31e93 [DebugInfo][InstrRef] Add extra indirection for NRVO tests adds 55c14d6dbfd8 [ELF] Simplify DynamicSection content computation. NFC adds 5ca54c66862b [ELF] Simplify GnuHashSection::write. NFC adds ff0d9e6cfa7f [ELF] Remove redundant part.dynSymTab creation. NFC adds 850e8b450452 Fix link to the other docs from the Bufferization dialect adds f32c3d9528e4 [mlir][linalg][bufferize][NFC] Move Affine interface impl [...] adds 6188fd495744 [ELF] Rename OutputSection::sectionCommands to commands. NFC adds e40e17fcaf7a [ELF] Make ExprValue smaller. NFC' adds c637e3ea9e10 [mlir][linalg][bufferize][NFC] Extract func boundary buffe [...] adds c94b80b4380c [mlir][linalg][bufferize][NFC] Allow returning arbitrary memrefs adds d62b4b08af03 [mlir][linalg][bufferize] Compose dialect-specific bufferi [...] adds 8e2214aa60bc [mlir][linalg][bufferize][NFC] Pass BufferizationState to [...] adds 2f07534263ca [NFC] Fix typo in 95875d246acb adds 7051aeef7a1e [ELF] Rename BaseCommand to SectionCommand. NFC adds 654c89d85a51 [AMDGPU] Make vector superclasses allocatable adds 259cd6f89377 [llvm] Use range-based for loops (NFC) adds c2f0de06c959 tsan: check stack in atexit4.cpp test adds 9ea3bd5a1cce tsan: add test for __cxa_atexit adds 3f87788de110 tsan: add a test for on_exit adds a1dc97e47231 tsan: remember and print function that installed at_exit c [...] adds c47108c04146 [mlir][Vector] Minor formatting fixes in Vector.md adds 8e8658b19c05 [clang][AST] Check context of record in structural equivalence. adds 8d07ba817c98 [mlir][linalg] Simplify the hoist padding tests. adds 86137fb72293 [CodeGen] Add scalable vector support for lowering of llvm [...] adds bad897778638 [clang] Change ordering of PreableCallbacks to make sure P [...] adds 40e7d4cd3b6f [ARM] Add some vctp from setcc tests. NFC adds d026f2f7c688 [clang] Fix crash on broken parameter declarators adds d8f3cdfed03f [libcxx] Implement three-way comparison for std::reverse_iterator adds 94038c570fbc [lldb] Fix 'memory write' to not allow specifying values w [...] adds 2778f9a9f6d8 [DAG] SimplifyDemandedVectorElts - attempt to handle ADD(x [...] adds c76d6dd19264 [ARM] Generate VCTP from SETCC adds eafbaca97795 [AArch64][SVE] Generate ASRD instructions for power of 2 s [...] adds d8a35387881b [clang][deps] NFC: Remove else after early return adds 12eafd944e0f [clang][deps] NFC: Clean up wording (ignored vs minimized) adds e20391fc5d6a [LoopVectorize] When tail-folding, don't always predicate [...] adds 4af45f10cccb [GlobalISel] Fold or of shifts to funnel shift. adds 8967d044fc26 [AMDGPU] Add SIMemoryLegalizer comments to clarify bit usage adds 632acec73776 [libunwind][ARM] Handle end of stack during unwind adds 842b6861c01c Defines new PDLInterp operations needed for multi-root mat [...] adds a3b099b68c0c [Docs] Removed /Zd flag still mentioned in documentation adds 08d45e6f4da0 [AArch64][SVEIntrinsicOpts] Fix: predicated SVE mul/fmul a [...] adds 3eb1647af036 Introduced iterative bytecode execution. adds 6df7cc7f47d2 Implementation of the root ordering algorithm adds a76ee58f3cbc Multi-root PDL matching using upward traversals. adds d35f11909499 Added line numbers to the debug output of PDL bytecode. adds 97e504cff956 [clang][deps] NFC: Extract function adds 0e099a64be70 [tsan] Relax atexit5.cpp a bit more so it's not as depende [...] adds 1b0312d28097 [PDL] fix unused variable warning in Release builds adds 8521850f20db Provide a definition for OperationPosition::kDown adds cd0ca5a0eaa1 [clangd] Record information about non self-contained heade [...] adds b62b21b98019 [mlir][linalg][bufferize][NFC] InsertSliceOp no-copy detec [...] adds b927aa69bf2f [SCEV] Turn check in createSimpleAffineAddRec to assertion. (NFC) adds 7f05ff8be481 [Bug 49018][lldb] Fix incorrect help text for 'memory writ [...] adds 6263982172b8 [SLP][NFC]Add a test for gathered instructions in loop, NFC. adds 30238c3676d3 [mlir][OpenMP] Add support for SIMD modifier adds f824bb0e36fc [pstl] Fix incorrect usage of std::invoke_result adds fc0aacf324b1 [SLP]Improve analysis/emission of vector operands for alte [...] adds 34cc210aa8af [clangd] IncludeCleaner: Attribute symbols from non self-c [...] adds 0df522969a7a Revert "Reland "[lldb] Remove non address bits when lookin [...] adds 7dc9a03cfd78 [libc++] Add missing __format__ attributes adds f18f9ce3665e [libc++] Properly handle errors happening during Lit confi [...] adds e714394ab8f0 [LLVM][llvm-cov] Inclusive language: rename option -name-w [...] adds f074bbb04a61 [MLIR] Simplex::pivot: also update the redundant rows when [...] adds 562356d6e3b5 [Target] Use range-based for loops (NFC) adds 7b59fcb7de22 [libc] Make string entrypoints mutualy exclusive. adds 715d2dc126ee [llvm-cov][NFC] Add missing character to fix docs buildbot break. adds ad34ce94d5a0 [MLIR] Simplex: fix a bug when rolling back a Simplex with [...] adds d0f927121ece [mlir][Standard] Support 0-D vectors in `SplatOp` adds 7e65fc9a6009 [mlir][Vector] Support 0-D vectors in `BroadcastOp` adds 5c454033dd62 [libc++] Trigger rebuild of the Docker image so we get a n [...] adds 344eee6f384c [MLIR] Allow `Idempotent` trait to be applied to binary ops. adds fcee33bd5a35 [DAG] Pull out repeated isLittleEndian() calls. NFC. adds 09401dfcf1db [ELF] Rename fetch to extract adds e4e4da86aff5 [MLIR] Prevent creation of buggy affine map after lineariz [...] adds c2280b55173c [MLIR] Avoid creation of buggy affine maps when incorrect [...] adds 3b4dd68de5b4 [ELF][PPC64] Make --power10-stubs/--no-power10-stubs prope [...] adds bee8dcda1f01 [SCEV] Fix and validate ValueExprMap/ExprValueMap consistency adds bfa91f38a998 [DAG] Restore dropped condition adds 803cec026800 [mlir] Fix a warning adds 45a8caf1cdf6 [flang] Fix reversed comparison in RESHAPE() runtime adds a68af62b422d [InstSimplify] baseline tests for icmp of lshr/udiv fold (NFC) adds 719354a57191 Revert "[SCEV] Fix and validate ValueExprMap/ExprValueMap [...] adds 30029e7407c8 [compiler-rt][CMake] Support powerpc32 on Linux adds 06f1d63cb16c [compiler-rt][CMake] Support powerpcspe build adds 53b00b821582 [InstSimplify] Fold X {lshr,udiv} C <u X --> true for nonz [...] adds 8ae815cb19a0 [sanitizer] Switch StackStore to 8 MiB blocks adds f1ba48d50800 [ELF] Simplify Symbol::extract. NFC adds 56c8ad237aa4 [libcxx][NFC] Add tests for associative containers key_com [...] adds 6fa8f7beb192 [ELF][test] Test that .o definition does not inherit .so S [...] adds a19e16352610 Fixed broken build under GCC 5.4. adds 387927bbaf96 [Target] Use range-based for loops (NFC) adds b0c742152489 [RISCV] Emit DWARF location expression for RVV stack objects. adds 8ebb3eac02a9 [test] Use -passes syntax when specifying pipeline in some [...] adds 407600604b59 [test] Use -passes in lit tests for the UpdateTestChecks tool adds 00cf717f51d7 [test] Use -passes syntax in Feature/OperandBundles lit tests adds da66263b6e50 [ARM] implement support for ALU/LDR PC-relative group relocations adds 2b160e95c89f Reland [SCEV] Fix and validate ValueExprMap/ExprValueMap c [...] adds 9f374a74c2aa [NVPTX][AsmPrinter] Avoid removing globals before calling [...] adds 25dad1064bf1 [DSE] Optimize defining access of defs while walking upwards. adds 1b2d58ba90cd [ARM] Extra testing for v2i1 types. NFC adds c2550e342732 [SCEV] Simplify invalidation after BE count calculation (NFCI) adds f492a414bad7 [SCEV] Simplify forgetSymbolicName() (NFCI) adds 904328932699 [DwarfCompileUnit] Set parent DIE right after creating a l [...] adds 7ba64ab05a17 [PowerPC] Regenerate ppc64-P9-vabsd.ll tests adds 7d5d063c7745 [ARM] Fold away unnecessary CSET/CMPZ adds ff649e080210 [Target] Use range-based for loops (NFC) adds 5c64d8ef8cc0 [ARM] CSINC/CSINV patterns from CMOV adds 2afd16fe725f [mlir] Enable MLIRDialectUtilsTests adds cc2794abeab5 [sanitizer] Switch StackStore from pointers to 32bit IDs adds a9f837bbf0ec NFC: Simplify sve-widen-phi.ll by unrolling once. adds 28a4deab921d [LV] Fix incorrectly marking a pointer indvar as 'scalar'. adds 168bc7ce7e2e [sanitizer] Remove storeIds and use padding of StackDepotNode adds 01631ffcfca7 [libc++][format] Adds formatting benchmarks. adds 7b75110fac97 [SCEV] Turn validity check in getExistingSCEV into assert (NFC). new 730dccb98622 [libc++] Remove support for Clang 9 and older. new cb68fc814af6 [libc++] Add myself to the credits. new 97755ab1c67f [InstCombine] reduce code duplication; NFC new f55d1eb3746a [InstCombine] use decomposeBitTestICmp to make icmp (trunc [...] new 04b5c00952c3 [ARM] Add testing for various fptosi.sat patterns. NFC
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: clang-tools-extra/clangd/CodeComplete.cpp | 3 +- clang-tools-extra/clangd/Headers.cpp | 26 +- clang-tools-extra/clangd/Headers.h | 13 +- clang-tools-extra/clangd/IncludeCleaner.cpp | 52 +- clang-tools-extra/clangd/IncludeCleaner.h | 1 + clang-tools-extra/clangd/ParsedAST.cpp | 3 +- clang-tools-extra/clangd/Preamble.cpp | 8 +- clang-tools-extra/clangd/SourceCode.cpp | 53 + clang-tools-extra/clangd/SourceCode.h | 6 + clang-tools-extra/clangd/TidyProvider.cpp | 4 +- clang-tools-extra/clangd/XRefs.cpp | 4 +- clang-tools-extra/clangd/index/SymbolCollector.cpp | 51 +- .../clangd/unittests/CallHierarchyTests.cpp | 157 +- .../clangd/unittests/HeadersTests.cpp | 36 +- .../clangd/unittests/IncludeCleanerTests.cpp | 77 +- .../clangd/unittests/PreambleTests.cpp | 3 +- clang-tools-extra/test/modularize/SubModule2.h | 2 +- clang/docs/ClangFormattedStatus.rst | 999 ++-- clang/docs/ClangPlugins.rst | 22 + clang/docs/ReleaseNotes.rst | 5 +- clang/docs/UsersManual.rst | 1 - clang/docs/tools/clang-formatted-files.txt | 390 +- .../CallSuperAttribute/CallSuperAttrInfo.cpp | 2 + clang/include/clang/AST/DeclBase.h | 6 +- clang/include/clang/Basic/BuiltinsPPC.def | 6 + clang/include/clang/Basic/DiagnosticDriverKinds.td | 6 + clang/include/clang/Driver/Options.td | 3 + clang/include/clang/Frontend/PrecompiledPreamble.h | 4 +- .../DependencyScanningFilesystem.h | 16 +- clang/lib/AST/DeclBase.cpp | 2 +- clang/lib/AST/ExprConstant.cpp | 2 +- clang/lib/CodeGen/CGStmtOpenMP.cpp | 3 + clang/lib/Driver/ToolChains/Clang.cpp | 31 +- clang/lib/Format/FormatToken.h | 1 + clang/lib/Format/TokenAnnotator.cpp | 33 +- clang/lib/Format/UnwrappedLineFormatter.cpp | 23 +- clang/lib/Format/UnwrappedLineParser.cpp | 33 + clang/lib/Format/UnwrappedLineParser.h | 1 + clang/lib/Frontend/PrecompiledPreamble.cpp | 5 +- clang/lib/Headers/altivec.h | 49 + clang/lib/Headers/stdatomic.h | 6 +- clang/lib/Parse/ParseDecl.cpp | 14 +- clang/lib/StaticAnalyzer/Core/CoreEngine.cpp | 4 +- .../DependencyScanningFilesystem.cpp | 59 +- .../DependencyScanningWorker.cpp | 21 +- clang/test/Analysis/additive-folding.cpp | 4 +- clang/test/Analysis/bitwise-ops.c | 2 +- clang/test/Analysis/comparison-implicit-casts.cpp | 4 +- clang/test/Analysis/ctor.mm | 2 +- clang/test/Analysis/derived-to-base.cpp | 2 +- clang/test/Analysis/dtor.cpp | 2 +- clang/test/Analysis/expr-inspection.cpp | 2 +- clang/test/Analysis/malloc-sizeof.cpp | 2 +- clang/test/Analysis/plist-html-macros.c | 2 +- clang/test/Analysis/reference.cpp | 4 +- clang/test/Analysis/retain-release.m | 2 +- .../ClangScanDeps/modules-pch-common-submodule.c | 4 + .../modules-pch-common-via-submodule.c | 4 + clang/test/ClangScanDeps/modules-pch.c | 4 + clang/test/CodeGen/attr-nodebug.c | 2 +- clang/test/CodeGen/builtins-ppc-p8vector.c | 82 + clang/test/CodeGenObjCXX/arc-attrs.mm | 6 +- clang/test/CodeGenObjCXX/arc.mm | 2 +- clang/test/Driver/arm-target-as-march-mcpu.s | 2 +- clang/test/Driver/clang-g-opts.c | 2 +- .../test/Driver/clang-offload-bundler-asserts-on.c | 2 +- clang/test/Driver/clang-offload-bundler.c | 2 +- clang/test/Driver/openmp-offload-gpu.c | 2 + clang/test/Driver/plugin-driver-args.cpp | 22 + clang/test/Frontend/plugin-call-super.cpp | 4 +- clang/test/Modules/framework-name.m | 4 +- clang/test/Modules/target-features.m | 8 +- clang/test/Modules/va_list.m | 2 +- clang/test/OpenMP/debug_private.c | 45 + clang/test/PCH/cxx11-statement-attributes.cpp | 2 +- clang/test/PCH/debug-info-pch-path.c | 4 + clang/test/Parser/cxx-keyword-identifiers.cpp | 4 + clang/test/Rewriter/instancetype-test.mm | 2 +- clang/test/Rewriter/rewrite-foreach-in-block.mm | 4 +- clang/test/Sema/dllexport.c | 2 +- clang/test/Sema/dllimport.c | 2 +- clang/test/Sema/predef.c | 2 +- clang/test/SemaCXX/coroutines-exp-namespace.cpp | 4 +- clang/test/SemaCXX/coroutines.cpp | 4 +- clang/test/SemaCXX/dllexport.cpp | 2 +- clang/test/SemaCXX/dllimport.cpp | 2 +- clang/test/SemaCXX/warn-thread-safety-analysis.cpp | 4 +- clang/test/SemaObjC/arc-repeated-weak.mm | 4 +- clang/test/SemaObjC/conversion.m | 2 +- clang/test/SemaObjC/instancetype.m | 2 +- clang/test/SemaObjC/warn-retain-cycle.m | 2 +- clang/test/SemaObjCXX/instancetype.mm | 2 +- clang/unittests/AST/ASTImporterFixtures.h | 2 +- clang/unittests/AST/StructuralEquivalenceTest.cpp | 94 +- clang/unittests/Analysis/CFGDominatorTree.cpp | 4 +- clang/unittests/Format/FormatTest.cpp | 111 +- clang/unittests/Sema/ExternalSemaSourceTest.cpp | 2 +- clang/unittests/Tooling/DependencyScannerTest.cpp | 6 +- clang/unittests/Tooling/Syntax/TokensTest.cpp | 6 +- clang/utils/TableGen/ASTTableGen.cpp | 2 +- clang/utils/check_cfc/check_cfc.py | 2 +- .../cmake/Modules/AllSupportedArchDefs.cmake | 2 +- compiler-rt/cmake/base-config-ix.cmake | 4 +- compiler-rt/cmake/builtin-config-ix.cmake | 2 +- compiler-rt/lib/asan/asan_report.cpp | 4 + compiler-rt/lib/asan/asan_rtl.cpp | 8 +- compiler-rt/lib/builtins/CMakeLists.txt | 2 + compiler-rt/lib/cfi/cfi.cpp | 4 +- compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp | 40 +- .../lib/sanitizer_common/sanitizer_stack_store.cpp | 102 +- .../lib/sanitizer_common/sanitizer_stack_store.h | 59 +- .../lib/sanitizer_common/sanitizer_stackdepot.cpp | 13 +- .../sanitizer_common/sanitizer_thread_registry.h | 2 + compiler-rt/lib/tsan/CMakeLists.txt | 1 - compiler-rt/lib/tsan/check_analyze.sh | 12 +- compiler-rt/lib/tsan/go/build.bat | 1 + compiler-rt/lib/tsan/go/buildgo.sh | 1 + compiler-rt/lib/tsan/go/tsan_go.cpp | 2 +- compiler-rt/lib/tsan/rtl/tsan_defs.h | 23 +- compiler-rt/lib/tsan/rtl/tsan_dense_alloc.h | 9 + compiler-rt/lib/tsan/rtl/tsan_flags.cpp | 6 - compiler-rt/lib/tsan/rtl/tsan_flags.inc | 10 +- .../lib/tsan/rtl/tsan_interceptors_posix.cpp | 41 +- compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp | 87 +- compiler-rt/lib/tsan/rtl/tsan_interface_java.cpp | 4 +- compiler-rt/lib/tsan/rtl/tsan_mman.cpp | 32 +- compiler-rt/lib/tsan/rtl/tsan_mman.h | 2 + compiler-rt/lib/tsan/rtl/tsan_mutexset.cpp | 54 +- compiler-rt/lib/tsan/rtl/tsan_mutexset.h | 11 +- compiler-rt/lib/tsan/rtl/tsan_platform.h | 173 +- compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp | 48 +- compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp | 11 +- compiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp | 16 +- compiler-rt/lib/tsan/rtl/tsan_platform_windows.cpp | 3 - compiler-rt/lib/tsan/rtl/tsan_rtl.cpp | 628 ++- compiler-rt/lib/tsan/rtl/tsan_rtl.h | 325 +- compiler-rt/lib/tsan/rtl/tsan_rtl_access.cpp | 860 +-- compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp | 642 +-- compiler-rt/lib/tsan/rtl/tsan_rtl_proc.cpp | 1 - compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp | 369 +- compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp | 191 +- compiler-rt/lib/tsan/rtl/tsan_shadow.h | 315 +- compiler-rt/lib/tsan/rtl/tsan_sync.cpp | 82 +- compiler-rt/lib/tsan/rtl/tsan_sync.h | 48 +- compiler-rt/lib/tsan/rtl/tsan_trace.h | 73 +- .../lib/tsan/rtl/tsan_update_shadow_word.inc | 59 - .../lib/tsan/tests/unit/tsan_flags_test.cpp | 4 +- .../lib/tsan/tests/unit/tsan_shadow_test.cpp | 92 +- .../lib/tsan/tests/unit/tsan_stack_test.cpp | 4 +- compiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp | 17 +- .../lib/tsan/tests/unit/tsan_trace_test.cpp | 175 +- .../hwasan/TestCases/Linux/decorate-proc-maps.c | 2 +- compiler-rt/test/tsan/CMakeLists.txt | 4 + compiler-rt/test/tsan/atexit4.cpp | 6 + compiler-rt/test/tsan/atexit5.cpp | 27 + compiler-rt/test/tsan/bench_memory_access.cpp | 18 + compiler-rt/test/tsan/bench_threads.cpp | 5 - compiler-rt/test/tsan/free_race2.c | 2 +- compiler-rt/test/tsan/java_symbolization.cpp | 8 +- compiler-rt/test/tsan/memcmp_race.cpp | 2 +- compiler-rt/test/tsan/memcpy_race.cpp | 10 +- compiler-rt/test/tsan/mutexset7.cpp | 6 +- compiler-rt/test/tsan/on_exit.cpp | 32 + compiler-rt/test/tsan/test.h | 13 + compiler-rt/test/tsan/vector_race.cpp | 92 + flang/docs/C++style.md | 2 +- flang/docs/FortranIR.md | 2 +- flang/runtime/transformational.cpp | 2 +- flang/test/Lower/pre-fir-tree04.f90 | 2 +- libc/src/string/CMakeLists.txt | 20 +- libc/src/string/memmove.cpp | 9 +- libc/src/string/memory_utils/CMakeLists.txt | 24 + libc/src/string/mempcpy.cpp | 9 +- libc/src/string/stpncpy.cpp | 4 +- libc/src/string/strcpy.cpp | 17 +- libc/src/string/strdup.cpp | 6 +- libc/src/string/strndup.cpp | 9 +- libcxx/CREDITS.TXT | 4 + libcxx/benchmarks/format.bench.cpp | 36 + libcxx/benchmarks/format_to.bench.cpp | 107 + libcxx/benchmarks/format_to_n.bench.cpp | 107 + libcxx/benchmarks/formatted_size.bench.cpp | 36 + libcxx/include/__bsd_locale_fallbacks.h | 6 +- libcxx/include/__config | 8 +- libcxx/include/__iterator/reverse_iterator.h | 12 + libcxx/include/__memory/unique_ptr.h | 14 +- libcxx/include/filesystem | 16 +- libcxx/include/string_view | 4 +- libcxx/include/type_traits | 4 +- libcxx/src/filesystem/filesystem_common.h | 10 +- .../legacy_bidirectional_iterator.compile.pass.cpp | 3 + .../legacy_forward_iterator.compile.pass.cpp | 3 + .../legacy_input_iterator.compile.pass.cpp | 3 + .../legacy_iterator.compile.pass.cpp | 3 + .../legacy_random_access_iterator.compile.pass.cpp | 3 + .../type_info.comparison.apple.compile.pass.cpp | 2 +- libcxx/test/libcxx/selftest/dsl/dsl.sh.py | 13 +- .../associative/map/map.cons/compare.pass.cpp | 2 - .../map/map.observers/key_comp.pass.cpp | 30 + .../map/map.observers/value_comp.pass.cpp | 30 + .../map/map.value_compare/invoke.pass.cpp | 47 + .../map/map.value_compare/types.pass.cpp | 30 + .../multimap/multimap.cons/compare.pass.cpp | 2 - .../multimap/multimap.observers/key_comp.pass.cpp | 30 + .../multimap.observers/value_comp.pass.cpp | 30 + .../multimap.value_compare/invoke.pass.cpp | 47 + .../multimap/multimap.value_compare/types.pass.cpp | 30 + .../multiset/multiset.cons/compare.pass.cpp | 6 +- .../multiset.observers/comp.pass.cpp} | 32 +- .../associative/set/set.cons/compare.pass.cpp | 6 +- .../associative/set/set.observers/comp.pass.cpp | 33 + .../iterators/iterator.container/ssize.pass.cpp | 11 +- .../cxx20_iterator_traits.compile.pass.cpp | 3 + .../reverse.iter.cmp/three-way.pass.cpp | 100 + .../cmp.alg/strong_order_long_double.verify.cpp | 2 +- .../shared_ptr_Y.pass.cpp | 2 + ...ed.fail.cpp => result_of.deprecated.verify.cpp} | 4 +- .../unique.ptr.ctor/default.pass.cpp | 5 + .../unique.ptr.ctor/nullptr.pass.cpp | 5 + .../unique.ptr.ctor/pointer.pass.cpp | 8 + libcxx/test/support/deleter_types.h | 20 + libcxx/utils/ci/Dockerfile | 2 +- libcxx/utils/ci/buildkite-pipeline.yml | 2 + libcxx/utils/libcxx/test/dsl.py | 58 +- libcxxabi/src/cxa_personality.cpp | 9 +- libcxxabi/test/forced_unwind3.pass.cpp | 79 + libunwind/src/Unwind-EHABI.cpp | 29 +- .../test/configs/llvm-libunwind-shared.cfg.in | 2 +- .../test/configs/llvm-libunwind-static.cfg.in | 2 +- libunwind/test/forceunwind.pass.cpp | 3 - libunwind/test/frameheadercache_test.pass.cpp | 3 - libunwind/test/libunwind_01.pass.cpp | 3 - libunwind/test/libunwind_02.pass.cpp | 3 - libunwind/test/remember_state_leak.pass.sh.s | 3 - libunwind/test/signal_frame.pass.cpp | 3 - libunwind/test/signal_unwind.pass.cpp | 3 - libunwind/test/unw_getcontext.pass.cpp | 3 - libunwind/test/unwind_leaffunction.pass.cpp | 9 +- lld/ELF/AArch64ErrataFix.cpp | 4 +- lld/ELF/ARMErrataFix.cpp | 4 +- lld/ELF/Arch/ARM.cpp | 202 +- lld/ELF/Arch/Hexagon.cpp | 2 +- lld/ELF/Arch/RISCV.cpp | 2 +- lld/ELF/Arch/X86.cpp | 9 +- lld/ELF/Arch/X86_64.cpp | 2 +- lld/ELF/Config.h | 19 +- lld/ELF/Driver.cpp | 34 +- lld/ELF/ICF.cpp | 8 +- lld/ELF/InputFiles.cpp | 28 +- lld/ELF/InputFiles.h | 16 +- lld/ELF/LTO.cpp | 2 +- lld/ELF/LinkerScript.cpp | 148 +- lld/ELF/LinkerScript.h | 35 +- lld/ELF/MapFile.cpp | 41 +- lld/ELF/Options.td | 23 +- lld/ELF/OutputSections.cpp | 47 +- lld/ELF/OutputSections.h | 6 +- lld/ELF/Relocations.cpp | 20 +- lld/ELF/ScriptParser.cpp | 26 +- lld/ELF/SymbolTable.cpp | 2 +- lld/ELF/Symbols.cpp | 41 +- lld/ELF/Symbols.h | 6 +- lld/ELF/SyntheticSections.cpp | 156 +- lld/ELF/SyntheticSections.h | 15 +- lld/ELF/Thunks.cpp | 8 +- lld/ELF/Writer.cpp | 74 +- lld/docs/ld.lld.1 | 14 + lld/test/ELF/arm-adr-err-long.s | 57 + lld/test/ELF/arm-adr-err.s | 6 + lld/test/ELF/arm-adr-long.s | 111 +- lld/test/ELF/arm-adr.s | 4 +- lld/test/ELF/i386-tls-opt-iele-nopic.s | 12 +- lld/test/ELF/ppc64-pcrel-call-to-toc.s | 4 +- lld/test/ELF/print-archive-stats.s | 4 +- lld/test/ELF/protected-shared.s | 64 +- lld/test/ELF/x86-64-static-tls-model.s | 10 +- lld/test/ELF/x86-64-tls-ie.s | 16 +- lldb/include/lldb/Interpreter/OptionGroupFormat.h | 9 +- lldb/include/lldb/Target/Process.h | 38 +- lldb/source/Commands/CommandObjectMemory.cpp | 17 +- lldb/source/Interpreter/CommandObject.cpp | 3 + lldb/source/Interpreter/OptionGroupFormat.cpp | 40 +- .../ExpressionParser/Clang/ClangUserExpression.cpp | 2 +- .../Clang/CppModuleConfiguration.cpp | 63 +- .../Clang/CppModuleConfiguration.h | 13 +- .../Process/Windows/Common/ProcessWindows.cpp | 4 +- .../Process/Windows/Common/ProcessWindows.h | 6 +- .../Plugins/Process/elf-core/ProcessElfCore.cpp | 4 +- .../Plugins/Process/elf-core/ProcessElfCore.h | 8 +- .../Process/gdb-remote/GDBRemoteCommunication.cpp | 15 +- .../gdb-remote/GDBRemoteCommunicationClient.cpp | 13 +- .../gdb-remote/GDBRemoteCommunicationServer.cpp | 6 +- .../gdb-remote/GDBRemoteCommunicationServer.h | 4 - .../GDBRemoteCommunicationServerLLGS.cpp | 12 - .../gdb-remote/GDBRemoteCommunicationServerLLGS.h | 1 - .../Process/gdb-remote/ProcessGDBRemote.cpp | 4 +- .../Plugins/Process/gdb-remote/ProcessGDBRemote.h | 6 +- .../Plugins/Process/mach-core/ProcessMachCore.cpp | 4 +- .../Plugins/Process/mach-core/ProcessMachCore.h | 8 +- .../Plugins/Process/minidump/ProcessMinidump.cpp | 4 +- .../Plugins/Process/minidump/ProcessMinidump.h | 6 +- .../Plugins/Process/scripted/ScriptedProcess.cpp | 4 +- .../Plugins/Process/scripted/ScriptedProcess.h | 6 +- .../Plugins/TypeSystem/Clang/TypeSystemClang.cpp | 2 +- lldb/source/Target/Process.cpp | 7 - lldb/test/API/commands/help/TestHelp.py | 18 + .../dont_allow_jit => memory/write}/Makefile | 0 .../API/commands/memory/write/TestMemoryWrite.py | 83 + lldb/test/API/commands/memory/write/file.txt | 1 + lldb/test/API/commands/memory/write/main.c | 7 + .../linux/aarch64/tagged_memory_region/Makefile | 3 - .../TestAArch64LinuxTaggedMemoryRegion.py | 42 - .../API/linux/aarch64/tagged_memory_region/main.c | 17 - .../API/python_api/file_handle/TestFileHandle.py | 7 +- lldb/tools/lldb-server/lldb-platform.cpp | 26 +- .../Expression/CppModuleConfigurationTest.cpp | 66 +- .../gdb-remote/GDBRemoteCommunicationTest.cpp | 10 +- .../Process/gdb-remote/GDBRemoteTestUtils.h | 3 +- llvm/CMakeLists.txt | 5 + llvm/cmake/modules/HandleLLVMOptions.cmake | 8 +- llvm/cmake/modules/TableGen.cmake | 5 +- llvm/docs/CommandGuide/llvm-cov.rst | 9 +- llvm/docs/PDB/index.rst | 2 +- llvm/docs/Projects.rst | 2 +- llvm/docs/ReleaseNotes.rst | 4 +- llvm/docs/TableGen/ProgRef.rst | 2 +- llvm/include/llvm/Analysis/Lint.h | 9 +- llvm/include/llvm/Analysis/ScalarEvolution.h | 8 +- llvm/include/llvm/Analysis/VectorUtils.h | 2 +- .../llvm/CodeGen/GlobalISel/CombinerHelper.h | 1 + llvm/include/llvm/CodeGen/TargetFrameLowering.h | 3 + llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h | 5 + llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h | 5 +- llvm/include/llvm/Frontend/OpenMP/OMPConstants.h | 4 + llvm/include/llvm/IR/Verifier.h | 6 +- llvm/include/llvm/MCA/HardwareUnits/Scheduler.h | 7 +- llvm/include/llvm/Support/Mutex.h | 4 +- llvm/include/llvm/Support/RWMutex.h | 8 +- llvm/include/llvm/Support/ThreadPool.h | 9 +- llvm/include/llvm/Target/GlobalISel/Combine.td | 10 +- .../Transforms/Instrumentation/AddressSanitizer.h | 2 +- llvm/lib/Analysis/IRSimilarityIdentifier.cpp | 2 +- llvm/lib/Analysis/InstructionSimplify.cpp | 37 +- llvm/lib/Analysis/PHITransAddr.cpp | 2 +- llvm/lib/Analysis/ScalarEvolution.cpp | 194 +- llvm/lib/Analysis/VFABIDemangling.cpp | 1 - llvm/lib/AsmParser/LLParser.cpp | 13 +- llvm/lib/Bitcode/Reader/MetadataLoader.cpp | 7 +- llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp | 9 +- llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 3 +- .../lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp | 5 +- llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 134 +- llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 8 +- llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp | 4 +- llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp | 7 +- llvm/lib/CodeGen/DeadMachineInstructionElim.cpp | 11 +- llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | 48 +- llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp | 36 +- llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp | 2 +- llvm/lib/CodeGen/GlobalISel/Utils.cpp | 9 +- llvm/lib/CodeGen/InlineSpiller.cpp | 4 +- .../CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 47 +- .../CodeGen/LiveDebugValues/InstrRefBasedImpl.h | 10 + llvm/lib/CodeGen/LiveDebugVariables.cpp | 51 +- llvm/lib/CodeGen/LiveRangeEdit.cpp | 3 +- llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | 8 +- llvm/lib/CodeGen/MachineInstr.cpp | 6 +- llvm/lib/CodeGen/MachineOperand.cpp | 4 +- llvm/lib/CodeGen/MachineSink.cpp | 12 +- llvm/lib/CodeGen/MachineVerifier.cpp | 18 +- llvm/lib/CodeGen/ModuloSchedule.cpp | 3 +- llvm/lib/CodeGen/ScheduleDAGInstrs.cpp | 5 +- llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | 5 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 31 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 89 +- llvm/lib/CodeGen/StackSlotColoring.cpp | 3 +- llvm/lib/CodeGen/TargetInstrInfo.cpp | 3 +- llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 4 +- llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 7 +- llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp | 80 +- llvm/lib/IR/Instructions.cpp | 2 +- llvm/lib/IR/PassTimingInfo.cpp | 2 +- llvm/lib/IR/SafepointIRVerifier.cpp | 6 +- llvm/lib/IR/Verifier.cpp | 4 +- llvm/lib/InterfaceStub/ELFObjHandler.cpp | 2 +- llvm/lib/MC/MCELFStreamer.cpp | 3 - llvm/lib/MCA/InstrBuilder.cpp | 2 +- llvm/lib/MCA/Stages/ExecuteStage.cpp | 2 +- .../ProfileData/Coverage/CoverageMappingReader.cpp | 1 - llvm/lib/ProfileData/InstrProfReader.cpp | 2 - llvm/lib/ProfileData/SampleProfReader.cpp | 2 +- llvm/lib/Target/AArch64/AArch64CondBrTuning.cpp | 4 +- .../Target/AArch64/AArch64ExpandPseudoInsts.cpp | 10 +- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 106 +- llvm/lib/Target/AArch64/AArch64ISelLowering.h | 2 + llvm/lib/Target/AArch64/AArch64InstrInfo.td | 16 + llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 11 +- .../Target/AArch64/AArch64TargetTransformInfo.cpp | 9 +- .../AArch64/GISel/AArch64InstructionSelector.cpp | 3 +- llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 12 +- llvm/lib/Target/AMDGPU/GCNRegPressure.cpp | 10 +- llvm/lib/Target/AMDGPU/R600ISelLowering.cpp | 5 +- llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp | 10 +- llvm/lib/Target/AMDGPU/SIFoldOperands.cpp | 12 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 17 +- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 41 +- llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp | 2 +- llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp | 38 +- llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp | 2 +- llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | 81 +- llvm/lib/Target/AMDGPU/SIRegisterInfo.h | 9 + llvm/lib/Target/AMDGPU/SIRegisterInfo.td | 45 +- llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | 16 +- llvm/lib/Target/ARC/ARCMCInstLower.cpp | 3 +- llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | 19 +- llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp | 16 +- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp | 5 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 129 +- llvm/lib/Target/ARM/ARMInstrInfo.td | 8 + llvm/lib/Target/ARM/ARMInstrThumb.td | 2 + llvm/lib/Target/ARM/ARMInstrThumb2.td | 19 +- llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp | 12 +- llvm/lib/Target/ARM/Thumb2SizeReduction.cpp | 12 +- llvm/lib/Target/BPF/BPFMCInstLower.cpp | 4 +- llvm/lib/Target/Hexagon/BitTracker.cpp | 3 +- llvm/lib/Target/Hexagon/HexagonCopyToCombine.cpp | 5 +- llvm/lib/Target/Hexagon/HexagonGenInsert.cpp | 9 +- llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp | 6 +- llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp | 7 +- llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp | 3 +- llvm/lib/Target/Hexagon/HexagonSubtarget.cpp | 3 +- llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp | 3 +- llvm/lib/Target/Lanai/LanaiInstrInfo.cpp | 3 +- llvm/lib/Target/Lanai/LanaiMCInstLower.cpp | 4 +- llvm/lib/Target/MSP430/MSP430MCInstLower.cpp | 4 +- llvm/lib/Target/Mips/MipsAsmPrinter.cpp | 5 +- llvm/lib/Target/Mips/MipsConstantIslandPass.cpp | 6 +- llvm/lib/Target/Mips/MipsMCInstLower.cpp | 3 +- llvm/lib/Target/Mips/MipsSEISelLowering.cpp | 4 +- llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp | 22 - llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h | 5 + llvm/lib/Target/PowerPC/PPCCTRLoops.cpp | 3 +- llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 3 +- llvm/lib/Target/PowerPC/PPCMCInstLower.cpp | 4 +- llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp | 91 +- llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h | 4 +- llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp | 28 + llvm/lib/Target/RISCV/RISCVRegisterInfo.h | 3 + llvm/lib/Target/RISCV/RISCVRegisterInfo.td | 2 + llvm/lib/Target/RISCV/RISCVSystemOperands.td | 2 +- llvm/lib/Target/Sparc/DelaySlotFiller.cpp | 3 +- llvm/lib/Target/Sparc/SparcMCInstLower.cpp | 3 +- llvm/lib/Target/SystemZ/SystemZElimCompare.cpp | 3 +- llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp | 4 +- llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp | 4 +- .../WebAssembly/WebAssemblyTargetMachine.cpp | 6 +- llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | 2 +- llvm/lib/Target/X86/X86DomainReassignment.cpp | 4 +- llvm/lib/Target/X86/X86FixupLEAs.cpp | 7 +- llvm/lib/Target/X86/X86FloatingPoint.cpp | 7 +- llvm/lib/Target/X86/X86FrameLowering.cpp | 4 + llvm/lib/Target/X86/X86FrameLowering.h | 2 + llvm/lib/Target/X86/X86InstrInfo.cpp | 7 +- llvm/lib/Target/XCore/XCoreMCInstLower.cpp | 3 +- .../Transforms/InstCombine/InstCombineAndOrXor.cpp | 49 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 66 +- .../Instrumentation/AddressSanitizer.cpp | 3 +- .../Instrumentation/HWAddressSanitizer.cpp | 4 +- .../Scalar/CorrelatedValuePropagation.cpp | 8 + .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 46 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 108 +- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 86 +- .../Analysis/CostModel/ARM/intrinsic-cost-kinds.ll | 2 +- .../CostModel/RISCV/fixed-vector-gather.ll | 2 +- .../CostModel/RISCV/fixed-vector-scatter.ll | 2 +- .../Analysis/CostModel/X86/intrinsic-cost-kinds.ll | 2 +- llvm/test/Analysis/MemorySSA/function-mem-attrs.ll | 2 +- .../ScalarEvolution/becount-invalidation.ll | 76 + .../test/Bitcode/function-encoding-rel-operands.ll | 2 +- .../CodeGen/AArch64/GlobalISel/inline-memcpy.mir | 58 + .../CodeGen/AArch64/GlobalISel/inline-memmove.mir | 44 + llvm/test/CodeGen/AArch64/active_lane_mask.ll | 627 +++ .../CodeGen/AArch64/sve-fixed-length-sdiv-pow2.ll | 389 ++ llvm/test/CodeGen/AArch64/sve-sdiv-pow2.ll | 90 + .../test/CodeGen/AMDGPU/GlobalISel/combine-fsh.mir | 142 + .../test/CodeGen/AMDGPU/GlobalISel/combine-rot.mir | 131 + .../AMDGPU/GlobalISel/irtranslator-inline-asm.ll | 2 +- llvm/test/CodeGen/AMDGPU/inline-asm.i128.ll | 24 +- .../AMDGPU/memory-legalizer-flat-nontemporal.ll | 8 +- .../AMDGPU/memory-legalizer-global-nontemporal.ll | 8 +- .../AMDGPU/memory-legalizer-private-nontemporal.ll | 8 +- .../CodeGen/ARM/crash-on-pow2-shufflevector.ll | 8 +- llvm/test/CodeGen/ARM/fpclamptosat.ll | 5857 ++++++++++++++++++++ llvm/test/CodeGen/ARM/returned-ext.ll | 2 +- .../PowerPC/fp128-bitcast-after-operation.ll | 199 +- llvm/test/CodeGen/PowerPC/more-dq-form-prepare.ll | 533 +- llvm/test/CodeGen/PowerPC/ppc64-P9-vabsd.ll | 1690 ++++-- llvm/test/CodeGen/RISCV/compress-float.ll | 6 +- llvm/test/CodeGen/RISCV/compress.ll | 10 +- llvm/test/CodeGen/RISCV/double-calling-conv.ll | 4 +- .../test/CodeGen/RISCV/rv32i-rv64i-float-double.ll | 2 +- llvm/test/CodeGen/RISCV/rv32i-rv64i-half.ll | 2 +- .../CodeGen/RISCV/rvv/debug-info-rvv-dbg-value.mir | 143 + llvm/test/CodeGen/Thumb2/active_lane_mask.ll | 150 +- llvm/test/CodeGen/Thumb2/mve-ctlz.ll | 16 +- llvm/test/CodeGen/Thumb2/mve-cttz.ll | 40 +- llvm/test/CodeGen/Thumb2/mve-fmas.ll | 662 +-- llvm/test/CodeGen/Thumb2/mve-fmath.ll | 86 +- llvm/test/CodeGen/Thumb2/mve-fpclamptosat_vec.ll | 1371 ++--- llvm/test/CodeGen/Thumb2/mve-laneinterleaving.ll | 148 +- llvm/test/CodeGen/Thumb2/mve-masked-ldst.ll | 464 +- llvm/test/CodeGen/Thumb2/mve-masked-load.ll | 116 +- llvm/test/CodeGen/Thumb2/mve-masked-store.ll | 368 +- llvm/test/CodeGen/Thumb2/mve-minmax.ll | 64 +- llvm/test/CodeGen/Thumb2/mve-pred-and.ll | 40 +- llvm/test/CodeGen/Thumb2/mve-pred-ext.ll | 201 +- llvm/test/CodeGen/Thumb2/mve-pred-not.ll | 16 +- llvm/test/CodeGen/Thumb2/mve-pred-or.ll | 32 +- llvm/test/CodeGen/Thumb2/mve-pred-shuffle.ll | 213 + llvm/test/CodeGen/Thumb2/mve-pred-spill.ll | 57 + llvm/test/CodeGen/Thumb2/mve-pred-vselect.ll | 60 +- llvm/test/CodeGen/Thumb2/mve-pred-xor.ll | 32 +- llvm/test/CodeGen/Thumb2/mve-satmul-loops.ll | 128 +- llvm/test/CodeGen/Thumb2/mve-vcmp.ll | 89 +- llvm/test/CodeGen/Thumb2/mve-vcmpf.ll | 1498 ++--- llvm/test/CodeGen/Thumb2/mve-vcmpfr.ll | 2884 +++------- llvm/test/CodeGen/Thumb2/mve-vcmpfz.ll | 2884 +++------- llvm/test/CodeGen/Thumb2/mve-vcmpr.ll | 124 +- llvm/test/CodeGen/Thumb2/mve-vcmpz.ll | 32 +- llvm/test/CodeGen/Thumb2/mve-vctp.ll | 177 + .../test/CodeGen/Thumb2/mve-vcvt-float-to-fixed.ll | 103 + llvm/test/CodeGen/Thumb2/mve-vecreduce-addpred.ll | 112 +- llvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll | 156 +- llvm/test/CodeGen/Thumb2/mve-vmaxv-vminv-scalar.ll | 72 +- llvm/test/CodeGen/Thumb2/mve-vmovimm.ll | 88 + llvm/test/CodeGen/Thumb2/mve-vpsel.ll | 42 + llvm/test/CodeGen/Thumb2/mve-vqdmulh.ll | 21 +- llvm/test/CodeGen/Thumb2/mve-vqmovn.ll | 152 +- llvm/test/CodeGen/Thumb2/mve-vqshrn.ll | 152 +- llvm/test/CodeGen/X86/atomic-non-integer.ll | 2 +- llvm/test/CodeGen/X86/cmov-into-branch.ll | 2 +- .../CodeGen/X86/codegen-prepare-replacephi.mir | 2 +- .../CodeGen/X86/codegen-prepare-replacephi2.mir | 2 +- llvm/test/CodeGen/X86/debug-loclists.ll | 44 +- llvm/test/CodeGen/X86/masked_store.ll | 308 +- llvm/test/CodeGen/X86/mmx-arith.ll | 2 +- llvm/test/CodeGen/X86/rotate_vec.ll | 12 +- llvm/test/CodeGen/X86/setuge.ll | 2 +- .../test/CodeGen/X86/statepoint-stackmap-format.ll | 6 +- llvm/test/CodeGen/X86/vector-rotate-128.ll | 48 +- llvm/test/CodeGen/X86/vector-rotate-256.ll | 64 +- llvm/test/CodeGen/X86/vector-rotate-512.ll | 2 +- .../MIR/InstrRef/win32-chkctk-modifies-esp.mir | 176 + .../MIR/X86/dbg-call-site-spilled-arg.mir | 2 +- .../X86/basic-block-sections-debug-loclist-3.ll | 11 +- llvm/test/DebugInfo/X86/constant-loclist.ll | 8 +- llvm/test/DebugInfo/X86/dbg-addr.ll | 7 + llvm/test/DebugInfo/X86/float_const_loclist.ll | 10 +- llvm/test/DebugInfo/X86/pieces-4.ll | 6 +- llvm/test/DebugInfo/X86/skeleton-unit-verify.s | 3 +- llvm/test/DebugInfo/X86/spill-indirect-nrvo.ll | 2 + llvm/test/DebugInfo/X86/spill-nontrivial-param.ll | 1 + llvm/test/DebugInfo/X86/stack-value-dwarf2.ll | 2 +- .../ExecutionEngine/OrcLazy/minimal-throw-catch.ll | 2 +- llvm/test/ExecutionEngine/OrcLazy/minimal.ll | 2 +- .../OrcLazy/single-function-call.ll | 2 +- llvm/test/Feature/OperandBundles/adce.ll | 2 +- .../Feature/OperandBundles/basic-aa-argmemonly.ll | 2 +- llvm/test/Feature/OperandBundles/dse.ll | 2 +- llvm/test/Feature/OperandBundles/early-cse.ll | 2 +- llvm/test/MC/RISCV/rv32e-invalid.s | 4 +- llvm/test/MC/RISCV/rv32e-valid.s | 2 +- .../MC/X86/AlignedBundling/single-inst-bundling.s | 2 +- llvm/test/Other/debugcounter-predicateinfo.ll | 2 +- llvm/test/ThinLTO/X86/guid_collision.ll | 2 +- .../ConstantMerge/2002-09-23-CPR-Update.ll | 2 +- .../2003-10-28-MergeExternalConstants.ll | 2 +- .../ConstantMerge/2011-01-15-EitherOrder.ll | 2 +- llvm/test/Transforms/ConstantMerge/align.ll | 2 +- llvm/test/Transforms/ConstantMerge/dont-merge.ll | 2 +- llvm/test/Transforms/ConstantMerge/merge-dbg.ll | 2 +- llvm/test/Transforms/ConstantMerge/unnamed-addr.ll | 2 +- .../Transforms/ConstraintElimination/add-nuw.ll | 2 +- llvm/test/Transforms/ConstraintElimination/add.ll | 2 +- .../and-implied-by-operands.ll | 75 + llvm/test/Transforms/ConstraintElimination/and.ll | 2 +- .../Transforms/ConstraintElimination/assumes.ll | 2 +- .../decompose-with-temporary-indices.ll | 2 +- llvm/test/Transforms/ConstraintElimination/dom.ll | 1 - .../ConstraintElimination/empty-constraint.ll | 2 +- llvm/test/Transforms/ConstraintElimination/eq.ll | 2 +- .../ConstraintElimination/gep-arithmetic.ll | 2 +- .../geps-inbounds-precondition-ub-in-use-blocks.ll | 281 + .../geps-inbounds-precondition.ll | 2 +- .../geps-pointers-to-arrays.ll | 2 +- .../geps-pointers-to-structs.ll | 2 +- .../geps-precondition-overflow-check.ll | 2 +- llvm/test/Transforms/ConstraintElimination/geps.ll | 2 +- llvm/test/Transforms/ConstraintElimination/i128.ll | 2 +- .../ConstraintElimination/large-system-growth.ll | 2 +- .../loops-bottom-tested-base.ll | 2 +- .../loops-bottom-tested-pointer-cmps.ll | 2 +- .../loops-header-tested-base.ll | 2 +- .../loops-header-tested-pointer-cmps.ll | 2 +- .../loops-header-tested-pointer-iv.ll | 2 +- .../test/Transforms/ConstraintElimination/loops.ll | 2 +- .../mixed-signed-unsigned-predicates.ll | 2 +- .../test/Transforms/ConstraintElimination/mixed.ll | 2 +- llvm/test/Transforms/ConstraintElimination/ne.ll | 2 +- llvm/test/Transforms/ConstraintElimination/or.ll | 2 +- .../ConstraintElimination/pointercast.ll | 2 +- llvm/test/Transforms/ConstraintElimination/sge.ll | 2 +- .../Transforms/ConstraintElimination/sub-nuw.ll | 2 +- llvm/test/Transforms/ConstraintElimination/sub.ll | 2 +- llvm/test/Transforms/ConstraintElimination/uge.ll | 2 +- .../Transforms/ConstraintElimination/ugt-ule.ll | 2 +- llvm/test/Transforms/ConstraintElimination/ule.ll | 2 +- .../uses-in-different-blocks.ll | 98 + .../ConstraintElimination/vector-compares.ll | 2 +- .../ConstraintElimination/wrapping-math.ll | 2 +- llvm/test/Transforms/ConstraintElimination/zext.ll | 2 +- .../CorrelatedValuePropagation/2010-09-02-Trunc.ll | 2 +- .../Transforms/CorrelatedValuePropagation/abs.ll | 2 +- .../Transforms/CorrelatedValuePropagation/add.ll | 2 +- .../CorrelatedValuePropagation/alloca.ll | 2 +- .../Transforms/CorrelatedValuePropagation/and.ll | 2 +- .../Transforms/CorrelatedValuePropagation/ashr.ll | 4 +- .../Transforms/CorrelatedValuePropagation/basic.ll | 2 +- .../CorrelatedValuePropagation/conflict.ll | 2 +- .../Transforms/CorrelatedValuePropagation/crash.ll | 2 +- .../Transforms/CorrelatedValuePropagation/deopt.ll | 2 +- .../CorrelatedValuePropagation/guards.ll | 2 +- .../Transforms/CorrelatedValuePropagation/icmp.ll | 1 - .../merge-range-and-undef.ll | 2 +- .../CorrelatedValuePropagation/min-max.ll | 2 +- .../CorrelatedValuePropagation/minmaxabs.ll | 2 +- .../Transforms/CorrelatedValuePropagation/mul.ll | 2 +- .../CorrelatedValuePropagation/non-null.ll | 2 +- .../overflow_predicate.ll | 2 +- .../CorrelatedValuePropagation/overflows.ll | 4 +- .../CorrelatedValuePropagation/phi-common-val.ll | 3 +- .../CorrelatedValuePropagation/pointer.ll | 2 +- .../CorrelatedValuePropagation/pr35807.ll | 2 +- .../CorrelatedValuePropagation/profmd.ll | 2 +- .../Transforms/CorrelatedValuePropagation/range.ll | 2 +- .../Transforms/CorrelatedValuePropagation/sdiv.ll | 2 +- .../CorrelatedValuePropagation/select.ll | 2 +- .../Transforms/CorrelatedValuePropagation/sext.ll | 4 +- .../Transforms/CorrelatedValuePropagation/shl.ll | 2 +- .../Transforms/CorrelatedValuePropagation/srem.ll | 2 +- .../Transforms/CorrelatedValuePropagation/sub.ll | 2 +- .../Transforms/CorrelatedValuePropagation/udiv.ll | 4 +- .../Transforms/CorrelatedValuePropagation/urem.ll | 2 +- llvm/test/Transforms/DeadArgElim/returned.ll | 4 +- .../Transforms/DeadStoreElimination/atomic-todo.ll | 2 +- .../test/Transforms/DeadStoreElimination/atomic.ll | 2 +- .../FunctionImport/funcimport_resolved.ll | 3 +- .../Transforms/GlobalDCE/2002-07-17-CastRef.ll | 2 +- .../Transforms/GlobalDCE/2002-07-17-ConstantRef.ll | 2 +- .../Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll | 2 +- .../GlobalDCE/2002-08-17-WorkListTest.ll | 2 +- .../Transforms/GlobalDCE/2002-09-12-Redeletion.ll | 2 +- .../GlobalDCE/2003-07-01-SelfReference.ll | 2 +- .../GlobalDCE/2003-10-09-PreserveWeakGlobals.ll | 2 +- .../Transforms/GlobalDCE/2009-01-05-DeadAliases.ll | 2 +- .../GlobalDCE/2009-02-17-AliasUsesAliasee.ll | 2 +- .../Transforms/GlobalDCE/call-with-ptrtoint.ll | 2 +- llvm/test/Transforms/GlobalDCE/comdats.ll | 2 +- .../Transforms/GlobalDCE/externally_available.ll | 2 +- llvm/test/Transforms/GlobalDCE/global-ifunc.ll | 2 +- llvm/test/Transforms/GlobalDCE/global_ctors.ll | 2 +- llvm/test/Transforms/GlobalDCE/indirectbr.ll | 2 +- .../GlobalDCE/virtual-functions-base-call.ll | 2 +- .../virtual-functions-base-pointer-call.ll | 2 +- .../GlobalDCE/virtual-functions-derived-call.ll | 2 +- .../virtual-functions-derived-pointer-call.ll | 2 +- .../GlobalDCE/virtual-functions-novfe.ll | 2 +- .../virtual-functions-relative-pointers-bad.ll | 2 +- .../virtual-functions-relative-pointers.ll | 2 +- .../virtual-functions-visibility-post-lto.ll | 2 +- .../virtual-functions-visibility-pre-lto.ll | 2 +- .../test/Transforms/GlobalDCE/virtual-functions.ll | 2 +- llvm/test/Transforms/GlobalDCE/vtable-rtti.ll | 2 +- .../GlobalOpt/2005-06-15-LocalizeConstExprCrash.ll | 2 +- llvm/test/Transforms/GlobalOpt/2005-09-27-Crash.ll | 2 +- .../GlobalOpt/2006-07-07-InlineAsmCrash.ll | 2 +- .../GlobalOpt/2006-11-01-ShrinkGlobalPhiCrash.ll | 2 +- llvm/test/Transforms/GlobalOpt/2007-04-05-Crash.ll | 2 +- llvm/test/Transforms/GlobalOpt/2007-05-13-Crash.ll | 2 +- .../GlobalOpt/2007-06-04-PackedStruct.ll | 2 +- .../GlobalOpt/2007-11-09-GEP-GEP-Crash.ll | 2 +- llvm/test/Transforms/GlobalOpt/2008-01-03-Crash.ll | 2 +- .../GlobalOpt/2008-01-13-OutOfRangeSROA.ll | 2 +- .../GlobalOpt/2008-01-29-VolatileGlobal.ll | 2 +- .../GlobalOpt/2008-04-26-SROA-Global-Align.ll | 2 +- .../Transforms/GlobalOpt/2008-07-17-addrspace.ll | 2 +- .../GlobalOpt/2008-12-16-HeapSRACrash-2.ll | 2 +- .../GlobalOpt/2008-12-16-HeapSRACrash.ll | 2 +- .../Transforms/GlobalOpt/2009-01-13-phi-user.ll | 2 +- .../GlobalOpt/2009-02-15-ResolveAlias.ll | 2 +- llvm/test/Transforms/GlobalOpt/2009-03-05-dbg.ll | 2 +- .../Transforms/GlobalOpt/2009-03-06-Anonymous.ll | 2 +- .../GlobalOpt/2009-03-07-PromotePtrToBool.ll | 2 +- .../2009-11-16-BrokenPerformHeapAllocSRoA.ll | 2 +- .../2009-11-16-MallocSingleStoreToGlobalVar.ll | 2 +- .../GlobalOpt/2010-02-25-MallocPromote.ll | 2 +- .../Transforms/GlobalOpt/2010-02-26-MallocSROA.ll | 2 +- .../Transforms/GlobalOpt/2010-10-19-WeakOdr.ll | 2 +- .../GlobalOpt/2011-04-09-EmptyGlobalCtors.ll | 2 +- .../GlobalOpt/2012-05-11-blockaddress.ll | 2 +- .../GlobalOpt/2021-08-02-CastStoreOnceP2I.ll | 2 +- .../2021-08-03-StoreOnceLoadMultiCasts.ll | 2 +- llvm/test/Transforms/GlobalOpt/GSROA-section.ll | 2 +- .../GlobalOpt/MallocSROA-section-no-null-opt.ll | 2 +- .../Transforms/GlobalOpt/MallocSROA-section.ll | 2 +- .../GlobalOpt/PowerPC/coldcc_coldsites.ll | 4 +- llvm/test/Transforms/GlobalOpt/SROA-section.ll | 2 +- llvm/test/Transforms/GlobalOpt/alias-resolve.ll | 2 +- .../GlobalOpt/alias-used-address-space.ll | 2 +- .../Transforms/GlobalOpt/alias-used-section.ll | 2 +- llvm/test/Transforms/GlobalOpt/alias-used.ll | 2 +- .../Transforms/GlobalOpt/amdgcn-ctor-alloca.ll | 2 +- llvm/test/Transforms/GlobalOpt/array-elem-refs.ll | 2 +- llvm/test/Transforms/GlobalOpt/assume.ll | 2 +- llvm/test/Transforms/GlobalOpt/atexit.ll | 2 +- llvm/test/Transforms/GlobalOpt/atomic.ll | 2 +- .../GlobalOpt/available_externally_global_ctors.ll | 2 +- llvm/test/Transforms/GlobalOpt/basictest.ll | 2 +- llvm/test/Transforms/GlobalOpt/blockaddress.ll | 2 +- .../GlobalOpt/cleanup-pointer-root-users.ll | 2 +- .../Transforms/GlobalOpt/coldcc_stress_test.ll | 4 +- llvm/test/Transforms/GlobalOpt/compiler-used.ll | 2 +- .../GlobalOpt/const-return-status-atomic.ll | 2 +- .../Transforms/GlobalOpt/const-return-status.ll | 2 +- .../GlobalOpt/constantfold-initializers.ll | 2 +- llvm/test/Transforms/GlobalOpt/crash-2.ll | 2 +- llvm/test/Transforms/GlobalOpt/crash.ll | 2 +- .../GlobalOpt/ctor-list-opt-constexpr.ll | 2 +- .../Transforms/GlobalOpt/ctor-list-opt-inbounds.ll | 2 +- llvm/test/Transforms/GlobalOpt/ctor-list-opt.ll | 2 +- .../test/Transforms/GlobalOpt/dead-store-status.ll | 2 +- llvm/test/Transforms/GlobalOpt/deaddeclaration.ll | 2 +- llvm/test/Transforms/GlobalOpt/deadfunction.ll | 2 +- llvm/test/Transforms/GlobalOpt/deadglobal-2.ll | 2 +- .../GlobalOpt/deadglobal-diarglist-use.ll | 2 +- llvm/test/Transforms/GlobalOpt/deadglobal.ll | 2 +- .../Transforms/GlobalOpt/evaluate-bitcast-2.ll | 2 +- .../Transforms/GlobalOpt/evaluate-bitcast-3.ll | 2 +- .../Transforms/GlobalOpt/evaluate-bitcast-4.ll | 2 +- .../GlobalOpt/externally-initialized-aggregate.ll | 2 +- .../GlobalOpt/externally-initialized-global-ctr.ll | 2 +- .../Transforms/GlobalOpt/externally-initialized.ll | 2 +- llvm/test/Transforms/GlobalOpt/fastcc.ll | 2 +- llvm/test/Transforms/GlobalOpt/global-demotion.ll | 2 +- llvm/test/Transforms/GlobalOpt/globalsra-align.ll | 2 +- .../Transforms/GlobalOpt/globalsra-multigep.ll | 2 +- .../test/Transforms/GlobalOpt/globalsra-partial.ll | 2 +- .../GlobalOpt/globalsra-unknown-index.ll | 2 +- llvm/test/Transforms/GlobalOpt/globalsra.ll | 2 +- .../Transforms/GlobalOpt/heap-sra-1-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/heap-sra-1.ll | 2 +- .../Transforms/GlobalOpt/heap-sra-2-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/heap-sra-2.ll | 2 +- .../GlobalOpt/heap-sra-phi-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/heap-sra-phi.ll | 2 +- llvm/test/Transforms/GlobalOpt/int_sideeffect.ll | 2 +- .../Transforms/GlobalOpt/integer-bool-dwarf.ll | 2 +- .../Transforms/GlobalOpt/invariant-nodatalayout.ll | 2 +- llvm/test/Transforms/GlobalOpt/invariant.group.ll | 2 +- llvm/test/Transforms/GlobalOpt/invariant.ll | 2 +- llvm/test/Transforms/GlobalOpt/invoke.ll | 2 +- llvm/test/Transforms/GlobalOpt/iterate.ll | 2 +- llvm/test/Transforms/GlobalOpt/large-int-crash.ll | 2 +- .../GlobalOpt/load-store-global-no-null-opt.ll | 2 +- .../test/Transforms/GlobalOpt/load-store-global.ll | 2 +- .../GlobalOpt/localize-constexpr-debuginfo.ll | 2 +- .../Transforms/GlobalOpt/localize-constexpr.ll | 2 +- .../GlobalOpt/malloc-promote-1-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/malloc-promote-1.ll | 2 +- .../GlobalOpt/malloc-promote-2-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/malloc-promote-2.ll | 2 +- llvm/test/Transforms/GlobalOpt/malloc-promote-3.ll | 2 +- llvm/test/Transforms/GlobalOpt/malloc-promote-4.ll | 2 +- llvm/test/Transforms/GlobalOpt/memcpy.ll | 2 +- llvm/test/Transforms/GlobalOpt/memset-null.ll | 2 +- llvm/test/Transforms/GlobalOpt/memset.ll | 2 +- llvm/test/Transforms/GlobalOpt/metadata.ll | 2 +- llvm/test/Transforms/GlobalOpt/musttail_cc.ll | 2 +- llvm/test/Transforms/GlobalOpt/naked_functions.ll | 2 +- llvm/test/Transforms/GlobalOpt/new-promote.ll | 2 +- .../GlobalOpt/null-check-global-value.ll | 2 +- .../GlobalOpt/null-check-is-use-pr35760.ll | 2 +- .../GlobalOpt/null-check-not-use-pr35760.ll | 2 +- llvm/test/Transforms/GlobalOpt/phi-select.ll | 2 +- llvm/test/Transforms/GlobalOpt/pr21191.ll | 2 +- llvm/test/Transforms/GlobalOpt/pr33686.ll | 2 +- llvm/test/Transforms/GlobalOpt/preallocated.ll | 2 +- llvm/test/Transforms/GlobalOpt/preserve-comdats.ll | 2 +- .../Transforms/GlobalOpt/shrink-address-to-bool.ll | 2 +- .../GlobalOpt/shrink-global-to-bool-check-debug.ll | 2 +- .../Transforms/GlobalOpt/static-const-bitcast.ll | 2 +- .../Transforms/GlobalOpt/store-struct-element.ll | 2 +- .../GlobalOpt/storepointer-compare-no-null-opt.ll | 2 +- .../Transforms/GlobalOpt/storepointer-compare.ll | 2 +- .../GlobalOpt/storepointer-no-null-opt.ll | 2 +- llvm/test/Transforms/GlobalOpt/storepointer.ll | 2 +- llvm/test/Transforms/GlobalOpt/tls.ll | 4 +- llvm/test/Transforms/GlobalOpt/trivialstore.ll | 2 +- llvm/test/Transforms/GlobalOpt/undef-init.ll | 2 +- llvm/test/Transforms/GlobalOpt/unnamed-addr.ll | 2 +- .../GlobalOpt/zeroinitializer-gep-load.ll | 2 +- .../Transforms/IndVarSimplify/loop-predication.ll | 2 +- llvm/test/Transforms/Inline/cgscc-update.ll | 2 +- llvm/test/Transforms/Inline/last-callsite.ll | 4 +- .../AArch64/sve-intrinsic-fmul-idempotency.ll | 3 +- .../AArch64/sve-intrinsic-mul-idempotency.ll | 3 +- llvm/test/Transforms/InstCombine/and-compare.ll | 16 +- llvm/test/Transforms/InstCombine/and-xor-or.ll | 510 +- llvm/test/Transforms/InstCombine/compare-signs.ll | 7 +- .../Transforms/InstCombine/gep-inbounds-null.ll | 2 +- llvm/test/Transforms/InstCombine/getelementptr.ll | 12 +- llvm/test/Transforms/InstCombine/icmp-trunc.ll | 16 +- .../test/Transforms/InstCombine/select-icmp-and.ll | 12 +- .../InstCombine/select-with-bitwise-ops.ll | 52 +- .../InstCombine/signed-truncation-check.ll | 16 +- .../Transforms/InstSimplify/ConstProp/basictest.ll | 4 +- llvm/test/Transforms/InstSimplify/ConstProp/phi.ll | 4 +- llvm/test/Transforms/InstSimplify/compare.ll | 194 + .../LoopStrengthReduce/X86/nested-ptr-addrec.ll | 61 + .../LoopVectorize/AArch64/predication_costs.ll | 2 +- .../LoopVectorize/AArch64/sve-widen-gep.ll | 128 +- .../LoopVectorize/AArch64/sve-widen-phi.ll | 97 +- .../AArch64/tail-fold-uniform-memops.ll | 64 +- .../LoopVectorize/consecutive-ptr-uniforms.ll | 22 +- .../Transforms/LoopVectorize/pointer-induction.ll | 112 +- .../Transforms/Mem2Reg/PromoteMemToRegister.ll | 2 +- .../Transforms/PGOProfile/ppc-prevent-mma-types.ll | 204 + .../PhaseOrdering/reassociate-gvn-bdce.ll | 292 + .../Transforms/SCCP/2002-05-02-MissSecondInst.ll | 2 +- .../SCCP/2002-05-20-MissedIncomingValue.ll | 2 +- .../SCCP/2002-08-30-GetElementPtrTest.ll | 2 +- .../Transforms/SCCP/2003-08-26-InvokeHandling.ll | 2 +- llvm/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll | 2 +- .../Transforms/SCCP/2004-12-10-UndefBranchBug.ll | 2 +- .../Transforms/SCCP/2006-10-23-IPSCCP-Crash.ll | 2 +- llvm/test/Transforms/SCCP/2006-12-04-PackedType.ll | 2 +- llvm/test/Transforms/SCCP/2006-12-19-UndefBug.ll | 2 +- .../test/Transforms/SCCP/2007-05-16-InvokeCrash.ll | 2 +- .../Transforms/SCCP/2008-01-27-UndefCorrelate.ll | 2 +- .../SCCP/2008-04-22-multiple-ret-sccp.ll | 2 +- .../Transforms/SCCP/2008-05-23-UndefCallFold.ll | 2 +- llvm/test/Transforms/SCCP/2008-06-09-WeakProp.ll | 2 +- .../Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll | 4 +- .../SCCP/2009-05-27-VectorOperandZero.ll | 2 +- llvm/test/Transforms/SCCP/2009-09-24-byval-ptr.ll | 2 +- llvm/test/Transforms/SCCP/PR16052.ll | 2 +- llvm/test/Transforms/SCCP/PR26044.ll | 2 +- llvm/test/Transforms/SCCP/PR43857.ll | 2 +- llvm/test/Transforms/SCCP/apfloat-basictest.ll | 6 +- llvm/test/Transforms/SCCP/apint-array.ll | 2 +- llvm/test/Transforms/SCCP/apint-basictest.ll | 6 +- llvm/test/Transforms/SCCP/apint-basictest2.ll | 8 +- llvm/test/Transforms/SCCP/apint-basictest3.ll | 8 +- llvm/test/Transforms/SCCP/apint-basictest4.ll | 10 +- llvm/test/Transforms/SCCP/apint-bigarray.ll | 2 +- llvm/test/Transforms/SCCP/apint-bigint.ll | 2 +- llvm/test/Transforms/SCCP/apint-bigint2.ll | 2 +- llvm/test/Transforms/SCCP/apint-ipsccp1.ll | 2 +- llvm/test/Transforms/SCCP/apint-ipsccp2.ll | 2 +- llvm/test/Transforms/SCCP/apint-ipsccp3.ll | 2 +- llvm/test/Transforms/SCCP/apint-ipsccp4.ll | 6 +- llvm/test/Transforms/SCCP/apint-load.ll | 4 +- llvm/test/Transforms/SCCP/apint-phi.ll | 2 +- llvm/test/Transforms/SCCP/apint-select.ll | 2 +- llvm/test/Transforms/SCCP/apint-xor.ll | 2 +- llvm/test/Transforms/SCCP/arg-count-mismatch.ll | 2 +- llvm/test/Transforms/SCCP/arg-type-mismatch.ll | 2 +- llvm/test/Transforms/SCCP/assume.ll | 2 +- llvm/test/Transforms/SCCP/atomic-load-store.ll | 2 +- llvm/test/Transforms/SCCP/atomic.ll | 2 +- llvm/test/Transforms/SCCP/binaryops-constexprs.ll | 2 +- .../SCCP/binaryops-range-special-cases.ll | 2 +- llvm/test/Transforms/SCCP/bitcast.ll | 2 +- llvm/test/Transforms/SCCP/clang-arc-rv.ll | 2 +- llvm/test/Transforms/SCCP/comdat-ipo.ll | 2 +- llvm/test/Transforms/SCCP/conditions-iter-order.ll | 2 +- .../SCCP/conditions-ranges-with-undef.ll | 2 +- llvm/test/Transforms/SCCP/conditions-ranges.ll | 2 +- llvm/test/Transforms/SCCP/constant-range-struct.ll | 2 +- llvm/test/Transforms/SCCP/constant-struct.ll | 2 +- llvm/test/Transforms/SCCP/crash.ll | 2 +- llvm/test/Transforms/SCCP/deadarg.ll | 2 +- llvm/test/Transforms/SCCP/definite-initializer.ll | 2 +- llvm/test/Transforms/SCCP/domtree-update.ll | 2 +- llvm/test/Transforms/SCCP/dont-zap-return.ll | 2 +- .../Transforms/SCCP/float-nan-simplification.ll | 2 +- llvm/test/Transforms/SCCP/float-phis.ll | 2 +- llvm/test/Transforms/SCCP/fp-bc-icmp-const-fold.ll | 2 +- .../test/Transforms/SCCP/global-alias-constprop.ll | 1 - llvm/test/Transforms/SCCP/global.ll | 1 - llvm/test/Transforms/SCCP/indirectbr.ll | 2 +- llvm/test/Transforms/SCCP/int-phis.ll | 2 +- llvm/test/Transforms/SCCP/intrinsics.ll | 2 +- llvm/test/Transforms/SCCP/ip-add-range-to-call.ll | 2 +- llvm/test/Transforms/SCCP/ip-constant-ranges.ll | 2 +- llvm/test/Transforms/SCCP/ip-ranges-binaryops.ll | 2 +- llvm/test/Transforms/SCCP/ip-ranges-casts.ll | 2 +- llvm/test/Transforms/SCCP/ip-ranges-phis.ll | 2 +- llvm/test/Transforms/SCCP/ip-ranges-select.ll | 2 +- llvm/test/Transforms/SCCP/ip-ranges-sext.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-addr-taken.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-basic.ll | 4 +- .../SCCP/ipsccp-branch-unresolved-undef.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-clear-returned.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-cycles.ll | 2 +- .../Transforms/SCCP/ipsccp-phi-one-pred-dead.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-predinfo-order.ll | 2 +- llvm/test/Transforms/SCCP/ipsccp-range-crashes.ll | 2 +- .../SCCP/ipsccp-ssa-copy-nested-conds.ll | 1 - llvm/test/Transforms/SCCP/ipscp-drop-argmemonly.ll | 2 +- llvm/test/Transforms/SCCP/latticeval-invalidate.ll | 2 +- llvm/test/Transforms/SCCP/load-store-range.ll | 2 +- llvm/test/Transforms/SCCP/loadtest.ll | 6 +- llvm/test/Transforms/SCCP/loadtest2.ll | 2 +- llvm/test/Transforms/SCCP/logical-nuke.ll | 2 +- llvm/test/Transforms/SCCP/metadata.ll | 2 +- llvm/test/Transforms/SCCP/multiple_callbacks.ll | 2 +- llvm/test/Transforms/SCCP/musttail-call.ll | 2 +- llvm/test/Transforms/SCCP/naked-return.ll | 2 +- llvm/test/Transforms/SCCP/openmp_parallel_for.ll | 2 +- llvm/test/Transforms/SCCP/overdefined-div.ll | 2 +- llvm/test/Transforms/SCCP/overdefined-ext.ll | 2 +- llvm/test/Transforms/SCCP/phi-cycle.ll | 2 +- llvm/test/Transforms/SCCP/phis.ll | 2 +- llvm/test/Transforms/SCCP/pr27712.ll | 2 +- llvm/test/Transforms/SCCP/pr35357.ll | 2 +- .../test/Transforms/SCCP/pr45185-range-predinfo.ll | 2 +- .../SCCP/pr49582-iterator-invalidation.ll | 2 +- llvm/test/Transforms/SCCP/pr52253.ll | 2 +- llvm/test/Transforms/SCCP/predicateinfo-cond.ll | 2 +- llvm/test/Transforms/SCCP/preserve-analysis.ll | 11 - llvm/test/Transforms/SCCP/pthreads.ll | 2 +- llvm/test/Transforms/SCCP/range-and-ip.ll | 2 +- llvm/test/Transforms/SCCP/range-and.ll | 2 +- llvm/test/Transforms/SCCP/ranges-sext.ll | 2 +- llvm/test/Transforms/SCCP/remove-call-inst.ll | 2 +- ...e-dereferenceable-ptr-with-undereferenceable.ll | 2 +- .../Transforms/SCCP/resolvedundefsin-tracked-fn.ll | 2 +- llvm/test/Transforms/SCCP/return-argument.ll | 2 +- llvm/test/Transforms/SCCP/return-constants.ll | 2 +- llvm/test/Transforms/SCCP/return-zapped.ll | 2 +- llvm/test/Transforms/SCCP/retvalue-undef.ll | 2 +- llvm/test/Transforms/SCCP/sccptest.ll | 6 +- llvm/test/Transforms/SCCP/select.ll | 2 +- ...lve-after-each-resolving-undefs-for-function.ll | 2 +- .../Transforms/SCCP/struct-arg-resolve-undefs.ll | 2 +- .../Transforms/SCCP/switch-constantfold-crash.ll | 1 - llvm/test/Transforms/SCCP/switch-multiple-undef.ll | 2 +- .../SCCP/switch-undef-constantfoldterminator.ll | 2 +- llvm/test/Transforms/SCCP/switch.ll | 2 +- llvm/test/Transforms/SCCP/thread_local_acs.ll | 2 +- llvm/test/Transforms/SCCP/ub-shift.ll | 2 +- llvm/test/Transforms/SCCP/ubsan_overflow.ll | 2 +- llvm/test/Transforms/SCCP/undef-resolve.ll | 2 +- .../Transforms/SCCP/user-with-multiple-uses.ll | 2 +- llvm/test/Transforms/SCCP/vector-bitcast.ll | 2 +- llvm/test/Transforms/SCCP/widening.ll | 4 +- .../AArch64/transpose-inseltpoison.ll | 54 +- .../Transforms/SLPVectorizer/AArch64/transpose.ll | 54 +- .../SLPVectorizer/X86/gather-move-out-of-loop.ll | 43 + .../SLPVectorizer/X86/remark_alternate.ll | 10 +- .../2010-06-26-MultipleReturnValues.ll | 2 +- llvm/test/Transforms/TailCallElim/EraseBB.ll | 2 +- .../Transforms/TailCallElim/accum_recursion.ll | 1 - llvm/test/Transforms/TailCallElim/ackermann.ll | 2 +- llvm/test/Transforms/TailCallElim/basic.ll | 2 +- llvm/test/Transforms/TailCallElim/debugloc.ll | 2 +- llvm/test/Transforms/TailCallElim/deopt-bundle.ll | 2 +- .../Transforms/TailCallElim/dont_reorder_load.ll | 2 +- llvm/test/Transforms/TailCallElim/dup_tail.ll | 2 +- llvm/test/Transforms/TailCallElim/inf-recursion.ll | 2 +- llvm/test/Transforms/TailCallElim/notail.ll | 2 +- llvm/test/Transforms/TailCallElim/reorder_load.ll | 2 +- llvm/test/Transforms/TailCallElim/setjmp.ll | 2 +- .../TailCallElim/tre-byval-parameter-2.ll | 2 +- .../Transforms/TailCallElim/tre-byval-parameter.ll | 2 +- .../Transforms/TailCallElim/tre-multiple-exits.ll | 2 +- .../TailCallElim/tre-noncapturing-alloca-calls.ll | 2 +- .../Util/PredicateInfo/branch-on-same-cond.ll | 2 +- .../test/Transforms/Util/PredicateInfo/condprop.ll | 2 +- llvm/test/Transforms/Util/PredicateInfo/diamond.ll | 2 +- llvm/test/Transforms/Util/PredicateInfo/edge.ll | 2 +- .../test/Transforms/Util/PredicateInfo/ordering.ll | 2 +- llvm/test/Transforms/Util/PredicateInfo/pr33456.ll | 2 +- llvm/test/Transforms/Util/PredicateInfo/pr33457.ll | 2 +- .../Transforms/Util/PredicateInfo/testandor.ll | 2 +- .../Transforms/Util/PredicateInfo/unnamed-types.ll | 2 +- .../Transforms/Util/PredicateInfo/unreachable.ll | 2 +- .../update_test_checks/Inputs/basic.ll | 2 +- .../update_test_checks/Inputs/basic.ll.expected | 2 +- .../Inputs/basic.ll.funcsig.expected | 2 +- .../update_test_checks/Inputs/check_attrs.ll | 6 +- .../Inputs/check_attrs.ll.funcattrs.expected | 6 +- .../Inputs/check_attrs.ll.plain.expected | 6 +- .../update_test_checks/Inputs/function_name.ll | 2 +- .../Inputs/function_name.ll.expected | 2 +- .../update_test_checks/Inputs/generated_funcs.ll | 2 +- .../Inputs/generated_funcs.ll.generated.expected | 2 +- .../generated_funcs.ll.generated.globals.expected | 2 +- .../Inputs/generated_funcs.ll.nogenerated.expected | 2 +- ...generated_funcs.ll.nogenerated.globals.expected | 2 +- .../update_test_checks/Inputs/pre-process.ll | 8 +- .../Inputs/pre-process.ll.expected | 8 +- .../Inputs/sometimes_deleted_function.ll | 4 +- .../Inputs/sometimes_deleted_function.ll.expected | 4 +- llvm/test/tools/dsymutil/X86/reproducer.test | 4 +- llvm/test/tools/llvm-ar/full-path-option.test | 2 +- llvm/test/tools/llvm-cov/Inputs/allowlist1.txt | 4 + llvm/test/tools/llvm-cov/Inputs/allowlist2.txt | 2 + .../llvm-cov/Inputs/name_allowlist.covmapping | Bin 0 -> 384 bytes llvm/test/tools/llvm-cov/Inputs/name_allowlist.cpp | 18 + ..._whitelist.proftext => name_allowlist.proftext} | 0 llvm/test/tools/llvm-cov/name_allowlist.test | 21 + .../X86/verify_curanges_incomplete.yaml | 2 +- .../tools/llvm-dwarfdump/X86/verify_debug_info.s | 9 +- .../llvm-dwarfdump/X86/verify_die_ranges.yaml | 2 +- .../llvm-dwarfdump/X86/verify_invalid_cu_ref.yaml | 2 +- .../X86/verify_invalid_die_range.yaml | 2 +- .../llvm-dwarfdump/X86/verify_invalid_ranges.yaml | 2 +- .../X86/verify_invalid_ref_addr.yaml | 2 +- .../X86/verify_invalid_ref_addr_between.yaml | 2 +- .../X86/verify_invalid_rnglists.yaml | 2 +- .../X86/verify_invalid_stmt_list.yaml | 2 +- .../llvm-dwarfdump/X86/verify_invalid_strp.yaml | 2 +- .../X86/verify_lexical_block_ranges.yaml | 2 +- .../X86/verify_overlapping_cu_ranges.yaml | 2 - .../X86/verify_overlapping_function_ranges.yaml | 2 +- .../verify_overlapping_lexical_block_ranges.yaml | 2 +- .../llvm-dwarfdump/X86/verify_unit_header_chain.s | 2 - llvm/test/tools/llvm-nm/format-bsd.test | 2 +- .../tools/llvm-objcopy/ELF/invalid-e_phoff.test | 2 +- .../tools/llvm-objcopy/ELF/invalid-e_shoff.test | 2 +- llvm/test/tools/llvm-objcopy/ELF/no-strip-all.test | 2 +- .../llvm-objcopy/ELF/shared-strtab-shstrtab.s | 2 +- .../tools/llvm-objcopy/ELF/strip-sections.test | 2 +- .../ELF/strip-unneeded-all-symbols.test | 2 +- .../ELF/tail-merged-string-tables.test | 2 +- .../tools/llvm-readobj/COFF/arm64-win-error2.s | 2 +- llvm/test/tools/llvm-readobj/ELF/hash-symbols.test | 2 +- llvm/test/tools/llvm-readobj/ELF/hex-dump.test | 2 +- llvm/test/tools/llvm-symbolizer/relativenames.s | 2 +- llvm/tools/llvm-cov/CodeCoverage.cpp | 42 +- llvm/tools/llvm-cov/CoverageFilters.cpp | 7 + llvm/tools/llvm-cov/CoverageFilters.h | 14 +- llvm/tools/llvm-reduce/deltas/Delta.cpp | 2 +- .../{ubsan_blacklist.txt => ubsan_ignorelist.txt} | 0 mlir/docs/BufferDeallocationInternals.md | 36 +- mlir/docs/Bufferization.md | 12 +- mlir/docs/Dialects/Vector.md | 29 +- .../mlir/Dialect/Arithmetic/IR/ArithmeticOps.td | 4 +- .../mlir/Dialect/Arithmetic/Transforms/Passes.td | 3 +- .../Bufferization/IR/AllocationOpInterface.h | 1 - .../Bufferization/IR/AllocationOpInterface.td | 5 +- .../mlir/Dialect/Bufferization/IR/Bufferization.h | 29 + .../Dialect/Bufferization/IR/BufferizationBase.td | 31 + .../Dialect/Bufferization/IR/BufferizationOps.td | 159 + .../mlir/Dialect/Bufferization/IR/CMakeLists.txt | 2 + ...TensorInterfaceImpl.h => AffineInterfaceImpl.h} | 10 +- ...{TensorInterfaceImpl.h => ArithInterfaceImpl.h} | 12 +- .../BufferizableOpInterface.h | 45 +- .../ComprehensiveBufferize.h | 11 +- .../ComprehensiveBufferize/LinalgInterfaceImpl.h | 5 +- .../ComprehensiveBufferize/ModuleBufferization.h | 37 + .../{TensorInterfaceImpl.h => SCFInterfaceImpl.h} | 12 +- .../ComprehensiveBufferize/TensorInterfaceImpl.h | 7 + mlir/include/mlir/Dialect/Linalg/Passes.td | 3 +- mlir/include/mlir/Dialect/Linalg/Utils/Utils.h | 30 +- mlir/include/mlir/Dialect/MemRef/IR/MemRef.h | 14 +- mlir/include/mlir/Dialect/MemRef/IR/MemRefBase.td | 2 +- mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td | 192 +- mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td | 5 +- mlir/include/mlir/Dialect/PDL/IR/PDLOps.td | 45 +- .../mlir/Dialect/PDLInterp/IR/PDLInterpOps.td | 137 + mlir/include/mlir/Dialect/SCF/Passes.td | 3 +- .../mlir/Dialect/SPIRV/IR/SPIRVAvailability.td | 22 +- mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td | 15 +- .../mlir/Dialect/Shape/Transforms/Passes.td | 3 +- .../mlir/Dialect/SparseTensor/Transforms/Passes.td | 2 + mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 3 +- .../mlir/Dialect/StandardOps/Transforms/Passes.td | 9 +- .../mlir/Dialect/Tensor/Transforms/Passes.td | 6 +- mlir/include/mlir/Dialect/Vector/VectorOps.td | 4 +- mlir/include/mlir/IR/AffineMap.h | 17 + mlir/include/mlir/IR/FunctionSupport.h | 6 +- mlir/include/mlir/IR/OpBase.td | 2 +- mlir/include/mlir/IR/OpDefinition.h | 8 +- mlir/include/mlir/IR/PatternMatch.h | 8 + mlir/include/mlir/IR/Threading.h | 4 +- mlir/include/mlir/InitAllDialects.h | 2 + .../mlir/Interfaces/ControlFlowInterfaces.h | 4 + mlir/lib/Analysis/AffineStructures.cpp | 20 +- mlir/lib/Analysis/Presburger/Simplex.cpp | 7 +- mlir/lib/CAPI/ExecutionEngine/CMakeLists.txt | 2 +- .../ArithmeticToSPIRV/ArithmeticToSPIRV.cpp | 47 +- mlir/lib/Conversion/PDLToPDLInterp/CMakeLists.txt | 1 + .../Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp | 254 +- mlir/lib/Conversion/PDLToPDLInterp/Predicate.cpp | 5 + mlir/lib/Conversion/PDLToPDLInterp/Predicate.h | 62 +- .../Conversion/PDLToPDLInterp/PredicateTree.cpp | 362 +- mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.h | 8 +- .../lib/Conversion/PDLToPDLInterp/RootOrdering.cpp | 229 + mlir/lib/Conversion/PDLToPDLInterp/RootOrdering.h | 137 + .../Conversion/StandardToLLVM/StandardToLLVM.cpp | 14 +- .../VectorToLLVM/ConvertVectorToLLVM.cpp | 39 +- mlir/lib/Dialect/Affine/IR/AffineOps.cpp | 1 + mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp | 6 - .../Dialect/Arithmetic/Transforms/Bufferize.cpp | 1 + .../lib/Dialect/Arithmetic/Transforms/PassDetail.h | 4 + .../Dialect/Async/Transforms/AsyncParallelFor.cpp | 21 +- .../Bufferization/IR/BufferizationDialect.cpp | 25 + .../Dialect/Bufferization/IR/BufferizationOps.cpp | 305 + mlir/lib/Dialect/Bufferization/IR/CMakeLists.txt | 10 +- .../Dialect/Linalg/Analysis/DependenceAnalysis.cpp | 4 +- .../ComprehensiveBufferize/AffineInterfaceImpl.cpp | 18 + .../ComprehensiveBufferize/ArithInterfaceImpl.cpp | 73 + .../BufferizableOpInterface.cpp | 123 +- .../Linalg/ComprehensiveBufferize/CMakeLists.txt | 36 +- .../ComprehensiveBufferize.cpp | 1238 +---- .../ComprehensiveBufferize/LinalgInterfaceImpl.cpp | 16 +- .../ComprehensiveBufferize/ModuleBufferization.cpp | 718 +++ .../ComprehensiveBufferize/SCFInterfaceImpl.cpp | 291 + .../ComprehensiveBufferize/TensorInterfaceImpl.cpp | 49 +- mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp | 1 + mlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp | 1 + mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt | 3 + .../Transforms/ComprehensiveBufferizePass.cpp | 25 +- .../Linalg/Transforms/ElementwiseOpFusion.cpp | 3 +- .../lib/Dialect/Linalg/Transforms/HoistPadding.cpp | 184 +- mlir/lib/Dialect/Linalg/Transforms/PassDetail.h | 4 + mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp | 45 +- mlir/lib/Dialect/Linalg/Utils/Utils.cpp | 60 + mlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp | 1 - mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | 287 +- mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | 61 +- mlir/lib/Dialect/PDL/IR/PDL.cpp | 166 +- mlir/lib/Dialect/PDLInterp/IR/PDLInterp.cpp | 79 + mlir/lib/Dialect/SCF/CMakeLists.txt | 1 + mlir/lib/Dialect/SCF/SCF.cpp | 62 +- mlir/lib/Dialect/SCF/Transforms/Bufferize.cpp | 1 + .../Dialect/SCF/Transforms/LoopSpecialization.cpp | 20 +- mlir/lib/Dialect/SCF/Transforms/PassDetail.h | 4 + .../Dialect/SPIRV/Transforms/SPIRVConversion.cpp | 18 +- .../lib/Dialect/SPIRV/Transforms/UpdateVCEPass.cpp | 18 +- mlir/lib/Dialect/Shape/Transforms/Bufferize.cpp | 1 + mlir/lib/Dialect/Shape/Transforms/PassDetail.h | 4 + .../Transforms/SparseTensorConversion.cpp | 3 +- .../SparseTensor/Transforms/SparseTensorPasses.cpp | 6 +- .../SparseTensor/Transforms/Sparsification.cpp | 9 +- .../Dialect/StandardOps/Transforms/Bufferize.cpp | 1 + .../StandardOps/Transforms/FuncBufferize.cpp | 5 +- .../Dialect/StandardOps/Transforms/PassDetail.h | 4 + .../Transforms/TensorConstantBufferize.cpp | 1 + mlir/lib/Dialect/Tensor/Transforms/Bufferize.cpp | 1 + mlir/lib/Dialect/Tensor/Transforms/PassDetail.h | 4 + ...VectorTransferPermutationMapRewritePatterns.cpp | 1 + mlir/lib/Dialect/Vector/VectorTransforms.cpp | 32 +- mlir/lib/IR/AffineMap.cpp | 15 - mlir/lib/IR/MLIRContext.cpp | 25 + mlir/lib/IR/Operation.cpp | 10 +- mlir/lib/IR/PatternMatch.cpp | 23 + mlir/lib/Interfaces/ControlFlowInterfaces.cpp | 72 + mlir/lib/Rewrite/ByteCode.cpp | 453 +- mlir/lib/Rewrite/ByteCode.h | 16 + .../Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp | 13 +- mlir/lib/Transforms/BufferDeallocation.cpp | 19 +- mlir/lib/Transforms/Bufferize.cpp | 17 +- mlir/lib/Transforms/CMakeLists.txt | 2 +- mlir/python/CMakeLists.txt | 2 +- mlir/test/CAPI/CMakeLists.txt | 2 +- .../ArithmeticToSPIRV/arithmetic-to-spirv.mlir | 44 +- .../Conversion/MathToSPIRV/math-to-glsl-spirv.mlir | 6 + .../MathToSPIRV/math-to-opencl-spirv.mlir | 6 + .../PDLToPDLInterp/pdl-to-pdl-interp-matcher.mlir | 167 +- .../StandardToLLVM/standard-to-llvm.mlir | 15 + .../Conversion/VectorToLLVM/vector-to-llvm.mlir | 58 + mlir/test/Dialect/Arithmetic/bufferize.mlir | 4 +- mlir/test/Dialect/Bufferization/canonicalize.mlir | 245 + mlir/test/Dialect/Bufferization/ops.mlir | 24 + mlir/test/Dialect/Linalg/bufferize.mlir | 45 +- .../comprehensive-module-bufferize-invalid.mlir | 2 +- mlir/test/Dialect/Linalg/hoist-padding.mlir | 423 ++ mlir/test/Dialect/Linalg/lower-pad-tensor.mlir | 4 +- mlir/test/Dialect/Linalg/pad-and-hoist.mlir | 284 - mlir/test/Dialect/Linalg/pad.mlir | 598 +- mlir/test/Dialect/MemRef/canonicalize.mlir | 241 - mlir/test/Dialect/MemRef/ops.mlir | 16 - mlir/test/Dialect/OpenMP/ops.mlir | 2 +- mlir/test/Dialect/PDL/invalid.mlir | 61 +- mlir/test/Dialect/PDL/ops.mlir | 30 + mlir/test/Dialect/PDLInterp/ops.mlir | 43 + mlir/test/Dialect/SCF/bufferize.mlir | 22 +- mlir/test/Dialect/SCF/canonicalize.mlir | 16 +- mlir/test/Dialect/Shape/bufferize.mlir | 4 +- .../SparseTensor/conversion_sparse2dense.mlir | 14 +- mlir/test/Dialect/SparseTensor/dense.mlir | 12 +- mlir/test/Dialect/SparseTensor/sparse_1d.mlir | 100 +- mlir/test/Dialect/SparseTensor/sparse_2d.mlir | 94 +- mlir/test/Dialect/SparseTensor/sparse_3d.mlir | 122 +- mlir/test/Dialect/SparseTensor/sparse_affine.mlir | 18 +- mlir/test/Dialect/SparseTensor/sparse_fp_ops.mlir | 38 +- mlir/test/Dialect/SparseTensor/sparse_int_ops.mlir | 56 +- mlir/test/Dialect/SparseTensor/sparse_kernels.mlir | 18 +- mlir/test/Dialect/SparseTensor/sparse_lower.mlir | 12 +- .../Dialect/SparseTensor/sparse_lower_col.mlir | 12 +- .../Dialect/SparseTensor/sparse_lower_inplace.mlir | 12 +- mlir/test/Dialect/SparseTensor/sparse_nd.mlir | 6 +- mlir/test/Dialect/SparseTensor/sparse_perm.mlir | 8 +- .../Dialect/SparseTensor/sparse_perm_lower.mlir | 8 +- mlir/test/Dialect/SparseTensor/sparse_scalars.mlir | 6 +- .../Dialect/SparseTensor/sparse_vector_chain.mlir | 4 +- mlir/test/Dialect/Standard/bufferize.mlir | 6 +- mlir/test/Dialect/Standard/func-bufferize.mlir | 2 +- .../Standard/tensor-constant-bufferize.mlir | 2 +- mlir/test/Dialect/Tensor/bufferize.mlir | 24 +- mlir/test/IR/core-ops.mlir | 12 +- .../Async/CPU/test-async-parallel-for-2d.mlir | 3 + .../Dialect/SparseTensor/CPU/sparse_cast.mlir | 20 +- .../CPU/sparse_conversion_sparse2dense.mlir | 16 +- .../SparseTensor/CPU/sparse_filter_conv2d.mlir | 2 +- .../Dialect/SparseTensor/CPU/sparse_flatten.mlir | 4 +- .../SparseTensor/CPU/sparse_matrix_ops.mlir | 2 +- .../Dialect/SparseTensor/CPU/sparse_matvec.mlir | 6 +- .../Dialect/SparseTensor/CPU/sparse_mttkrp.mlir | 8 +- .../SparseTensor/CPU/sparse_quantized_matmul.mlir | 2 +- .../SparseTensor/CPU/sparse_reductions.mlir | 14 +- .../SparseTensor/CPU/sparse_sampled_matmul.mlir | 8 +- .../SparseTensor/CPU/sparse_sampled_mm_fusion.mlir | 4 +- .../Dialect/SparseTensor/CPU/sparse_spmm.mlir | 6 +- .../Dialect/SparseTensor/CPU/sparse_sum.mlir | 4 +- .../SparseTensor/CPU/sparse_vector_ops.mlir | 6 +- .../Dialect/Vector/CPU/test-0-d-vectors.mlir | 48 + mlir/test/Rewrite/pdl-bytecode.mlir | 271 + .../LLVMIR/openmp-llvm-bad-schedule-modifier.mlir | 49 + mlir/test/Target/LLVMIR/openmp-llvm.mlir | 96 +- mlir/test/Transforms/buffer-deallocation.mlir | 74 +- mlir/test/Transforms/canonicalize.mlir | 22 +- mlir/test/Transforms/finalizing-bufferize.mlir | 8 +- .../Dialect/Linalg/TestLinalgCodegenStrategy.cpp | 19 +- mlir/test/lib/Dialect/SPIRV/TestAvailability.cpp | 24 +- mlir/test/lib/Dialect/Test/TestOps.td | 7 + .../lib/Dialect/Vector/TestVectorTransforms.cpp | 2 +- mlir/test/mlir-opt/commandline.mlir | 1 + mlir/test/mlir-tblgen/trait.mlir | 8 + .../python/dialects/{math.py => math_dialect.py} | 3 + mlir/tools/mlir-opt/mlir-opt.cpp | 4 +- mlir/unittests/Analysis/Presburger/SimplexTest.cpp | 43 +- mlir/unittests/CMakeLists.txt | 1 + mlir/unittests/Conversion/CMakeLists.txt | 1 + .../Conversion/PDLToPDLInterp/CMakeLists.txt | 8 + .../Conversion/PDLToPDLInterp/RootOrderingTest.cpp | 106 + mlir/unittests/Dialect/CMakeLists.txt | 1 + .../Dialect/Utils/StructuredOpsUtilsTest.cpp | 13 - mlir/unittests/Interfaces/CMakeLists.txt | 2 + .../Interfaces/ControlFlowInterfacesTest.cpp | 145 + pstl/include/pstl/internal/utils.h | 8 +- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 162 +- 1267 files changed, 32295 insertions(+), 19197 deletions(-) create mode 100644 clang/test/Driver/plugin-driver-args.cpp create mode 100644 clang/test/OpenMP/debug_private.c delete mode 100644 compiler-rt/lib/tsan/rtl/tsan_update_shadow_word.inc create mode 100644 compiler-rt/test/tsan/atexit5.cpp create mode 100644 compiler-rt/test/tsan/on_exit.cpp create mode 100644 compiler-rt/test/tsan/vector_race.cpp create mode 100644 libcxx/benchmarks/format.bench.cpp create mode 100644 libcxx/benchmarks/format_to.bench.cpp create mode 100644 libcxx/benchmarks/format_to_n.bench.cpp create mode 100644 libcxx/benchmarks/formatted_size.bench.cpp create mode 100644 libcxx/test/std/containers/associative/map/map.observers/key_co [...] create mode 100644 libcxx/test/std/containers/associative/map/map.observers/value_ [...] create mode 100644 libcxx/test/std/containers/associative/map/map.value_compare/in [...] create mode 100644 libcxx/test/std/containers/associative/map/map.value_compare/ty [...] create mode 100644 libcxx/test/std/containers/associative/multimap/multimap.observ [...] create mode 100644 libcxx/test/std/containers/associative/multimap/multimap.observ [...] create mode 100644 libcxx/test/std/containers/associative/multimap/multimap.value_ [...] create mode 100644 libcxx/test/std/containers/associative/multimap/multimap.value_ [...] copy libcxx/test/std/containers/associative/{set/set.cons/compare.pass.cpp => mult [...] create mode 100644 libcxx/test/std/containers/associative/set/set.observers/comp.pass.cpp create mode 100644 libcxx/test/std/iterators/predef.iterators/reverse.iterators/re [...] rename libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/{result_of.depre [...] create mode 100644 libcxxabi/test/forced_unwind3.pass.cpp create mode 100644 lld/test/ELF/arm-adr-err-long.s copy lldb/test/API/commands/{expression/dont_allow_jit => memory/write}/Makefile (100%) create mode 100644 lldb/test/API/commands/memory/write/TestMemoryWrite.py create mode 100644 lldb/test/API/commands/memory/write/file.txt create mode 100644 lldb/test/API/commands/memory/write/main.c delete mode 100644 lldb/test/API/linux/aarch64/tagged_memory_region/Makefile delete mode 100644 lldb/test/API/linux/aarch64/tagged_memory_region/TestAArch64Lin [...] delete mode 100644 lldb/test/API/linux/aarch64/tagged_memory_region/main.c create mode 100644 llvm/test/Analysis/ScalarEvolution/becount-invalidation.ll create mode 100644 llvm/test/CodeGen/AArch64/active_lane_mask.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-fixed-length-sdiv-pow2.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-sdiv-pow2.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fsh.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-rot.mir create mode 100644 llvm/test/CodeGen/ARM/fpclamptosat.ll create mode 100644 llvm/test/CodeGen/RISCV/rvv/debug-info-rvv-dbg-value.mir create mode 100644 llvm/test/DebugInfo/MIR/InstrRef/win32-chkctk-modifies-esp.mir create mode 100644 llvm/test/Transforms/ConstraintElimination/and-implied-by-operands.ll create mode 100644 llvm/test/Transforms/ConstraintElimination/geps-inbounds-precon [...] create mode 100644 llvm/test/Transforms/ConstraintElimination/uses-in-different-blocks.ll create mode 100644 llvm/test/Transforms/LoopStrengthReduce/X86/nested-ptr-addrec.ll create mode 100644 llvm/test/Transforms/PGOProfile/ppc-prevent-mma-types.ll create mode 100644 llvm/test/Transforms/PhaseOrdering/reassociate-gvn-bdce.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/X86/gather-move-out-of-loop.ll create mode 100644 llvm/test/tools/llvm-cov/Inputs/allowlist1.txt create mode 100644 llvm/test/tools/llvm-cov/Inputs/allowlist2.txt create mode 100644 llvm/test/tools/llvm-cov/Inputs/name_allowlist.covmapping create mode 100644 llvm/test/tools/llvm-cov/Inputs/name_allowlist.cpp copy llvm/test/tools/llvm-cov/Inputs/{name_whitelist.proftext => name_allowlist.pr [...] create mode 100644 llvm/test/tools/llvm-cov/name_allowlist.test rename llvm/utils/sanitizers/{ubsan_blacklist.txt => ubsan_ignorelist.txt} (100%) create mode 100644 mlir/include/mlir/Dialect/Bufferization/IR/Bufferization.h create mode 100644 mlir/include/mlir/Dialect/Bufferization/IR/BufferizationBase.td create mode 100644 mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td copy mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/{TensorInterfaceImpl. [...] copy mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/{TensorInterfaceImpl. [...] create mode 100644 mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/ModuleB [...] copy mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/{TensorInterfaceImpl. [...] create mode 100644 mlir/lib/Conversion/PDLToPDLInterp/RootOrdering.cpp create mode 100644 mlir/lib/Conversion/PDLToPDLInterp/RootOrdering.h create mode 100644 mlir/lib/Dialect/Bufferization/IR/BufferizationDialect.cpp create mode 100644 mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp create mode 100644 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/AffineInterfaceImpl.cpp create mode 100644 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ArithInterfaceImpl.cpp create mode 100644 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ModuleBufferization.cpp create mode 100644 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/SCFInterfaceImpl.cpp create mode 100644 mlir/test/Dialect/Bufferization/canonicalize.mlir create mode 100644 mlir/test/Dialect/Bufferization/ops.mlir create mode 100644 mlir/test/Dialect/Linalg/hoist-padding.mlir delete mode 100644 mlir/test/Dialect/Linalg/pad-and-hoist.mlir create mode 100644 mlir/test/Target/LLVMIR/openmp-llvm-bad-schedule-modifier.mlir rename mlir/test/python/dialects/{math.py => math_dialect.py} (83%) create mode 100644 mlir/unittests/Conversion/CMakeLists.txt create mode 100644 mlir/unittests/Conversion/PDLToPDLInterp/CMakeLists.txt create mode 100644 mlir/unittests/Conversion/PDLToPDLInterp/RootOrderingTest.cpp create mode 100644 mlir/unittests/Interfaces/ControlFlowInterfacesTest.cpp