This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_bmk_llvm_apm/llvm-master-aarch64-spec2k6-Os_LTO in repository toolchain/ci/llvm-project.
from 2d8c18fbbdd1 [X86] Don't add implicit REP prefix to VIA PadLock xstore adds 7088da480c33 [NFC] Correct arc draft option adds 5de69e16ea9a [clang-tidy] Tidy up spelling, grammar, and inconsistencie [...] adds ff56d80eaa5e [lldb] [Host/FreeBSD] Remove unused variable (NFC) adds ea9e9d61b521 [lldb] [Host/SerialPort] Fix build with GCC 7 adds c5348355ee66 [www] Fix Ninja build instructions on Windows adds 35553d452b32 [mlir] Add polynomial approximation for vectorized math::Rsqrt adds 4703a07e6cc1 [mlir][Linalg] NFC - Reorganize options nesting. adds 4f5e9a2bb28e [SCEV] Remove computeLoadConstantCompareExitLimit() (NFCI) adds e03b4431132e Revert "[mlir][Linalg] NFC - Reorganize options nesting." adds c5b5b7f621ee [ConstantFolding] Remove ConstantFoldLoadThroughGEPIndices [...] adds 878060aaf965 [Orc][examples] Re-enable test for LLJITWithRemoteDebugging adds d14d7068b6b4 [llvm] Use StringRef::contains (NFC) adds d8e4170b0a14 Ensure newlines at the end of files (NFC) adds 710596a1e151 [ConstantFolding] Accept offset in ConstantFoldLoadFromCon [...] adds f9db6a44eb37 Revert "[analyzer][solver] Introduce reasoning for not equ [...] adds 0c7f85d7864b [InstSimplify] Simplify fetching of index size (NFC) adds b09f2ee57c47 [X86] findEltLoadSrc - fix shift amount variable name. NFCI. adds a709787cd988 Add support of the next Ubuntu (Ubuntu 22.04 - Jammy Jellyfish) adds 4ba9d9c84f4c Use StringRef::contains (NFC) adds b33c211804d1 [TableGen] Use llvm::erase_value (NFC) adds d34cad31963f [AMDGPU] add tests for alternate form of usubsat; NFC adds 35c767a685ee [x86] add tests for variants of usubsat; NFC adds 2ae67c9684ec [BasicAA] Add range test with multiple indices (NFC) adds f5f592683f82 [MLIR] FlatAffineValueConstraints: Fix bug in mergeSymbolIds adds 7cc8fa2dd2d8 Use llvm::is_contained (NFC) adds 1c35973c772b [llvm] Call *(Set|Map)::erase directly (NFC) adds 54405a49d868 [ARC] Fix -Wunused-variable. NFC adds e5859afa9f4f [sanitizer] Remove use_count from StackDepotNode adds 850217686e21 [sanitizer] Remove tag from StackDepotNode adds 3c06ecaa1e8d [instcombine] Fix oss-fuzz 39934 (mul matcher can match no [...] adds a461fa64bb37 Treat branch on poison as immediate UB (under an off by de [...] adds 683994c863b8 X86InstrInfo: Refactor and cleanup optimizeCompareInstr adds 4b75d674f899 X86InstrInfo: Look across basic blocks in optimizeCompareInstr adds 19d3bc1e67b0 pre-comitting tests for D110865 adds 4bd46501c394 Use llvm::any_of and llvm::none_of (NFC) adds 980073136711 [Target, Transforms] Use predecessors instead of pred_begi [...] adds 42e9af9e8f48 [mlir] Rename to avoid overlap in accessor prefixing adds 815a1207bfe1 [ELF] Remove ignored options that likely nobody uses adds cfb72fd3a070 [mlir] Switch arith, llvm, std & shape dialects to accesso [...] adds 5bf24f0581ee [NFC][sanitizer] constexpr a few functions adds 384ec7dc8c36 [NFC][sanitizer] DCHECKs in hot code adds 8cd51a69e5b4 [NFC][sanitizer] Use power of two in TwoLevelMap adds a7d34c80ed1d [RISCV] Rename vmulh-sdnode-rv32.ll and add rv64 command l [...] adds fb1c515d3b12 Revert "[NFC][sanitizer] constexpr a few functions" adds 7ea1fbe86d92 [AIX] Add i128 arg split tests adds ac14b8396e61 [mlir] Give GenericAtomicRMW region a name adds 80e6aff6bbad [PowerPC] common chains to reuse offsets to reduce registe [...] adds a8c1d9d63e12 Add a clear() method on the PassManager (NFC) adds fea4a48c0baa [SCEV][NFC] API for tracking of SCEV users adds 1c18ebb2cc7c [NFC][SCEV] Do not track users of SCEVConstants adds 1b702eea94ae [mlir][Linalg] NFC - Reorganize options nesting. adds a27ae8aa20f4 [NFC] Update test/CodeGen/RISCV/select-constant-xor.ll to [...] adds a6096b7f9ed3 [SCEV][NFC] Introduce API for mass forgetMemoizedResults query adds dbab339ea44e [SCEV][NFC] Apply mass forgetMemoizedResults queries where [...] adds f8623b078305 [SCEV][NFC] Win some compile time from mass forgetMemoizedResults adds 3729a5abf41d [SCEV] Fix a warning on an unused lambda capture adds a81672b31af4 [NFC][MLIR][OpenMP] Splitting the WsLoop tests. adds 477551fd0957 [SCEVExpander] Minor cleanup in value reuse (NFC) adds c1055f091908 [lldb/DWARF] Don't create lldb_private::Functions for gc'e [...] adds 6fa1b4ff4b05 Remove ConstString from DynamicLoader, JITLoader and Instr [...] adds a50243625930 [AArch64] Remove redundant ORRWrs which is generated by ze [...] adds 21bb808eb486 [lldb] Support serial port parity checking adds a6c4969f5f45 [VPlan] Do not create dummy entry block (NFC). adds 75384ecdf804 [InstSimplify] Refactor invariant.group load folding adds 0e5a4147e524 [lldb] [Utility/UriParser] Return results as 'struct URI' adds 1397c56d7ae8 Fix windows build for 6fa1b4ff4 adds e1fdec875ff1 [analyzer] Add std::string checker adds caeef1995ab4 [analyzer] Allow cmake options to be passed to satest container adds 9f283c2c6cae [gn build] Port e1fdec875ff1 adds 309fccdac936 [lldb][NFC] Use llvm::Optional to refer to Optional adds e6df79575980 [ARM] Add a complex dotprod test case. adds a9b0776a81e8 [SimplifyCFG] Sanity assert in iterativelySimplifyCFG adds 5fd55b1aaa11 [InstCombine] Make TTI comment more forceful (NFC) adds 1f49b71fe5fa [SVE][CodeGen] Enable reciprocal estimates for scalable fd [...] adds 14c9207063bb [mlir] support interfaces in Python bindings adds 2995d29bb427 [mlir][python] Infer result types in generated constructor [...] adds a24b2b6aa06a [lldb] Also print index of child when ValueCheck fails adds 0ce46a1d43c6 [AArch64][Driver][SVE] Allow -msve-vector-bits=<n>+ syntax [...] adds 025f6ca7c469 [lldb] Modernize TestBitfields adds ffa96f022c3f [clang] Fix range for forward-declared enums adds 4e4511df8d33 [clang] Traverse enum base specifier in RAV adds 9ab9caf214f4 [clang] Visit enum base specifiers in libIndex adds 31822e0530be [Test] Add test for PR52290 adds 176a0ea535d4 [mlr][Linalg] NFC - Add option to hook vector.multi_reduct [...] adds bb5e35833fe7 [VE][NFC] correct bitmasking in popcnt expansion test adds 75a08b1ba4c1 tsan: don't use symbol binding 10 adds 269aa74aed43 tsan: add another use-after-free race test adds 7bce6bb34b70 [mlir][linalg][bufferize] Fix crash when bufferizing CallO [...] adds 44e803ef6d41 [analyzer][NFCI] Move a block from `getBindingForElement` [...] adds 3b1165ba3d15 [analyzer] Retrieve incomplete array extent from its redec [...] adds d054b80bd3ab [mlir][Vector] NFC - Add option to hook vector.transpose l [...] adds f0331100f720 [AMDGPU] Regenerate some tests with the current version of [...] adds f5a32f5a8201 tsan: fix free_race3.c test adds b0a926adac8a sanitizer_common: trap on CHECK failure adds f9089accbac1 CodeGenPrep: remove all copies of GEP from list if there a [...] adds 6e46b66e2aa7 [DAGCombiner] make matching bit-hack form of usubsat more [...] adds 333c36bec09a [clang][unittests] Fix shared lib builds adds 2eb96e1711bf [DebugInfo][NFC] Avoid a use-after-free adds b2544fb9c5b3 Document `LLVM_USE_SPLIT_DWARF` option adds eb9b75dd4da8 [SLP]Change the order of the reduction/binops args pair ve [...] adds 0d20ebf6862f [BasicAA] Use ranges for more than one index adds 7d549acbb69b [lld-macho][nfc] Rename output binary so it doesn't overwr [...] adds 40e4ac3e5b35 [lldb] Modernize Platform::GetOSBuildString adds 2d9ee590b667 [AArch64] Handle ST1iN instructions in isAArch64FrameOffsetLegal adds ee3eee71e415 [DebugInfo][InstrRef] Track values fused into stack spills adds 9d63b90b59a6 [lldb] [Host/ConnectionFileDescriptor] Do not use non-bloc [...] adds 5c46986cc8f3 [libc++] Include revision numbers in the paper status lists adds a5435844f0e6 [HIP][OpenMP] Fix assertion in deferred diag adds 065ac30026d5 [libc++] LWG3001: add `remove_extent_t` to `weak_ptr::elem [...] adds d081d75dc8fc [libc++][NFC] Remove unimplemented parts of chrono synopsis adds a53978c95c46 [lldb] Remove a trailing \0 from the result of HostInfoMac [...] adds 416fd03708d4 [DebugInfo] Follow up to ee3eee71e, x86 tests need an x86 triple adds c86f218fe4ca [mlir][Linalg] Allow comprehensive bufferization to use ca [...] adds 7b102fcc9116 [CodeGen] Fix dependence breaking for tied operands adds 210b586a85be [RISCV] Add vcsr CSR name for V extension. adds 5fb46a9fa3ae Revert "[mlir][Linalg] Allow comprehensive bufferization t [...] adds 7e97347409de [BasicAA] Add test for incorrect non-negative logic (NFC) adds e2b7aabb57d5 [RISCV] Reduce the number of RISCV vector builtins by an o [...] adds 16ceb44e62c3 [clang] Use llvm::{count,count_if,find_if,all_of,none_of} (NFC) adds 974c2f5e2211 [lldb] Modernize and expand TestCppBitfields adds d29a7d23ec53 [OpenMP][Tools][NFC] Pass intel license ENV to lit adds 38f78dd2e25a [OpenMP][Tools][NFC] Fix C99-style declaration of iteratio [...] adds d7fdd236d59f [OpenMP][Tests][NFC] Replace atomic increment by reduction adds 047890bc3f92 [OpenMP][Tests][NFC] Mark tests trying to link COI as unsupported adds 3f229f42b796 [OpenMP][Tests][NFC] Actually check for test outcome adds 73682279653e [OpenMP][Tests] Test omp_get_wtime for invariants adds f2410bfb1c49 [OpenMP][OMPT][clang] task frame support fixed in __kmpc_f [...] adds f41d08540be2 [OpenMP][OMPT] thread_num determination during execution o [...] adds f82cf6187fbe [indvars] Fix pr52276 (missing one use check) adds 2e94c2bd7536 [RISCV] Remove always_inline and nodebug attributes from R [...] adds 97ddf49e43f4 [DebugInfo][InstrRef] Recover stack-slot tracking performance adds 5694dbccc3c8 [WebAssembly] support Memory64 in target_features section adds 84486cb22265 [fir][NFC] Move MLIR includes to FIRDialect.td adds 608eb3d9c212 [fir][NFC] Format and make FIROps.td homogenous adds d8699391a431 [OPENMP51]Initial parsing/sema for append_args clause for [...] adds 4136897bd454 [DebugInfo][InstrRef][NFC] Switch to using DenseMaps and similar adds aecf69864417 Remove referenced to deleted parallel-libs project adds 68cac47c2685 Add release notes for the LLDB impact from the array type [...] adds 1b15160ef3b3 [mlir][sparse] lower trivial tensor.cast on identical spar [...] new d7b34d0b0db2 msan: disble CHECK test on powerpc64 new 1b348902ea86 tsan: add DynamicMutexSet helper new 26c584f4f1a3 [lldb] [gdb-remote] Remove HardcodeARMRegisters() hack new 1bd258fd4e2c [lldb] [DynamicRegisterInfo] Remove AddRegister() and make [...] new e38a1deb66c0 [OpenMP] libomp: disable definitions of 5.1 atomics for no [...] new b283d55c90dd [openmp] Emit deferred diag only when device compilation presents new f1b922188ead [MLIR][Math] Add erf to math dialect new cdb335ffaff2 [JITLink] Fix warning 'shift count exceeds width' in AArch [...] new c571988e9d57 Add modules stats into the "statistics dump" command. new 4ae1c2c6f1b3 [ELF] Delete unneeded hack for discarding empty name local symbol new d74630e114c3 [x86] add tests for vector -1 constant materialization; NFC new 2f572818b062 [mlir][Linalg] Allow comprehensive bufferization to use ca [...] new bf6e259b2143 [ELF] Update comments/diagnostics for some long options to [...] new 593814a10cb4 [clangd] IncludeCleaner: Complicated rules for enum usage new a14ccaf5098a [ELF] Support 128-bit bitmask in oneof(RelExpr) new ca8105b76c1e [ELF][X86] Support R_X86_64_PLTOFF64 new 763ae1d2c6a4 [DomTree][NFC] Clean up nits in DomTree code new 721569cc36e5 [BasicAA] Add test for benign range overflow (NFC) new 9769e97c35c6 [LLVM] Inclusive terms: remove/replace references to sanit [...] new ce304a452a8c [docs][NewPM] Add example C++ code on how to actually use [...] new 46c82753f6a4 [libc][NFC] Remove extra slash in path in libc/CMakeLists.txt new 59cf6a740394 [libc][NFC] Remove extra space in libc/CMakeLists.txt new 882df21a1be2 [gn build] Add missing CodeGenTests dependency new 4a9db7367dce [AlwaysInliner] Invalidate analyses when we delete functions new 3a995c918e8e [SCEV] Move SCEVLostPoisonFlags() check into SCEVExpander new da47ec3ca076 Basic: Stop using expectedToOptional() in FileManagerTest, NFC new 6506907a0a1a [ELF] Update comments/diagnostics for -defsym and -image-b [...] new d51e3a21391a [LegalizeTypes][TargetLowering] Merge getShiftAmountTyForC [...] new 544a21566d6f [test] Make test added in D112473 check the IR new 2a30c03c6207 [OpenMP][Offloading] Only get trip count if team construct new 43753f8f9d66 [ELF] Remove irrelevant SHT_INIT_ARRAY/SHT_FINI_ARRAY hack new e6a971b1baec [clangd] Respect diagnostic suppression during preamble build new 58901a5a295d [mlir][tosa] Correct tosa.avg_pool2d for specification error new b3980b5b6817 [Sanitizer] Strip PAC from PC in StackTrace::GetNextInstru [...] new d2c133286a4f [gn build] (manually) port da47ec3ca076 new 2feafa2e460c [libomptarget][NFC] Add comment explaining why we pass arg [...] new 53804d4eb286 [libc] fix strtol returning the wrong length new 25da870057f0 [ELF] Remove irrelevant group signature hack working aroun [...] new 3850cba7cc97 [bazel build] (manually) port da47ec3ca076 new e9163660b12c [PPC][LLVM] Inclusive terms: remove references to sanity c [...] new 07bed3ae52b0 [clang][Fuchsia] Add additional unit test for availability attr new 16e530d43b2b When generating C++ code, use C++ string escaping. new 4d9f6caee3ac [ELF] Change SharedFile::soName from std::string to StringRef new 045695f85cb8 [clangd] Print current request context along with the stack trace new df05babc9606 [gn build] Port 045695f85cb8 new b12a864c2930 Bitcode: Use Expected<T>::takeError() and moveInto() more, NFC new 413e249a47ce [lld-macho][nfc] Test that we don't emit undef symbol erro [...] new aa1ac2ae451e [clangd] Flush stderr after signal handlers run, so we alw [...] new 65dae8b2f20c [lldb] Configure CMake policy CMP0116 for standalone builds new 3b42fc8a07c3 [ELF] Simplify sortSection. NFC new d3ddd569eb78 [lld-macho] Fix incremental builds new 46ef187dccd3 [lld-macho] Fix incremental build (again) from D112485 new e5fb79b31424 [lld-macho] Make test produce the dead.o and live.o that a [...]
The 53 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/HeuristicResolver.cpp | 2 +- clang-tools-extra/clangd/IncludeCleaner.cpp | 9 + clang-tools-extra/clangd/JSONTransport.cpp | 7 + clang-tools-extra/clangd/Preamble.cpp | 33 +- clang-tools-extra/clangd/TUScheduler.cpp | 51 ++ clang-tools-extra/clangd/support/CMakeLists.txt | 1 + .../clangd/support/ThreadCrashReporter.cpp | 54 ++ .../clangd/support/ThreadCrashReporter.h | 58 +++ clang-tools-extra/clangd/test/crash.test | 5 + clang-tools-extra/clangd/tool/ClangdMain.cpp | 8 + clang-tools-extra/clangd/unittests/CMakeLists.txt | 1 + .../clangd/unittests/DiagnosticsTests.cpp | 15 + .../clangd/unittests/IncludeCleanerTests.cpp | 24 + .../clangd/unittests/SelectionTests.cpp | 14 +- .../clangd/unittests/SemanticHighlightingTests.cpp | 10 + .../clangd/unittests/ThreadCrashReporterTests.cpp | 78 +++ clang-tools-extra/clangd/unittests/XRefsTests.cpp | 27 + clang-tools-extra/docs/clang-tidy/Contributing.rst | 10 +- .../checks/abseil-duration-conversion-cast.rst | 2 +- .../checks/abseil-no-internal-dependencies.rst | 2 +- .../checks/abseil-string-find-str-contains.rst | 2 +- .../clang-tidy/checks/android-cloexec-open.rst | 2 +- .../clang-tidy/checks/android-cloexec-pipe2.rst | 2 +- .../docs/clang-tidy/checks/boost-use-to-string.rst | 2 +- .../clang-tidy/checks/bugprone-branch-clone.rst | 2 +- .../bugprone-easily-swappable-parameters.rst | 8 +- ...-implicit-widening-of-multiplication-result.rst | 4 +- .../checks/bugprone-macro-parentheses.rst | 4 +- ...prone-misplaced-operator-in-strlen-in-alloc.rst | 2 +- .../checks/bugprone-not-null-terminated-result.rst | 4 +- .../checks/bugprone-sizeof-expression.rst | 2 +- .../checks/bugprone-suspicious-string-compare.rst | 2 +- .../checks/bugprone-too-small-loop-variable.rst | 2 +- .../checks/bugprone-unhandled-exception-at-new.rst | 2 +- .../checks/bugprone-virtual-near-miss.rst | 2 +- .../docs/clang-tidy/checks/cert-dcl21-cpp.rst | 2 +- .../docs/clang-tidy/checks/cert-err09-cpp.rst | 2 +- .../docs/clang-tidy/checks/cert-oop11-cpp.rst | 2 +- .../clang-tidy/checks/concurrency-mt-unsafe.rst | 2 +- .../checks/cppcoreguidelines-init-variables.rst | 2 +- .../cppcoreguidelines-narrowing-conversions.rst | 4 +- .../cppcoreguidelines-special-member-functions.rst | 2 +- .../cppcoreguidelines-virtual-class-destructor.rst | 2 +- .../checks/hicpp-multiway-paths-covered.rst | 2 +- .../clang-tidy/checks/hicpp-signed-bitwise.rst | 2 +- .../docs/clang-tidy/checks/misc-static-assert.rst | 2 +- .../misc-throw-by-value-catch-by-reference.rst | 5 +- .../clang-tidy/checks/modernize-avoid-bind.rst | 2 +- .../clang-tidy/checks/modernize-avoid-c-arrays.rst | 2 +- .../clang-tidy/checks/modernize-loop-convert.rst | 6 +- .../clang-tidy/checks/modernize-pass-by-value.rst | 4 +- ...nize-replace-disallow-copy-and-assign-macro.rst | 2 +- .../docs/clang-tidy/checks/modernize-use-auto.rst | 8 +- .../checks/modernize-use-default-member-init.rst | 2 +- .../clang-tidy/checks/modernize-use-noexcept.rst | 6 +- .../clang-tidy/checks/modernize-use-nullptr.rst | 2 +- .../checks/objc-nsinvocation-argument-lifetime.rst | 2 +- .../clang-tidy/checks/openmp-exception-escape.rst | 4 +- .../clang-tidy/checks/openmp-use-default-none.rst | 2 +- .../checks/performance-inefficient-algorithm.rst | 2 +- .../checks/readability-const-return-type.rst | 2 +- .../clang-tidy/checks/readability-data-pointer.rst | 4 +- .../checks/readability-else-after-return.rst | 2 +- .../readability-function-cognitive-complexity.rst | 4 +- .../checks/readability-identifier-length.rst | 2 +- .../checks/readability-identifier-naming.rst | 2 +- .../checks/readability-magic-numbers.rst | 2 +- .../checks/readability-qualified-auto.rst | 2 +- .../checks/readability-redundant-declaration.rst | 2 +- .../checks/readability-string-compare.rst | 2 +- .../readability-suspicious-call-argument.rst | 8 +- clang-tools-extra/docs/clang-tidy/index.rst | 6 +- clang-tools-extra/modularize/CoverageChecker.cpp | 3 +- clang/docs/analyzer/checkers.rst | 16 + clang/docs/analyzer/developer-docs.rst | 2 +- clang/include/clang/AST/Decl.h | 4 + clang/include/clang/AST/DeclContextInternals.h | 3 +- clang/include/clang/AST/RecursiveASTVisitor.h | 2 + clang/include/clang/Basic/Attr.td | 5 +- clang/include/clang/Basic/DiagnosticParseKinds.td | 6 +- clang/include/clang/Basic/DiagnosticSemaKinds.td | 11 +- clang/include/clang/Basic/LangOptions.def | 3 +- clang/include/clang/Basic/riscv_vector.td | 16 +- clang/include/clang/Driver/Distro.h | 3 +- clang/include/clang/Driver/Options.td | 19 +- clang/include/clang/Parse/Parser.h | 4 + clang/include/clang/Sema/Sema.h | 16 +- .../clang/StaticAnalyzer/Checkers/Checkers.td | 4 + clang/lib/AST/ASTContext.cpp | 11 +- clang/lib/AST/ASTImporter.cpp | 7 +- clang/lib/AST/AttrImpl.cpp | 15 + clang/lib/AST/Decl.cpp | 11 + clang/lib/Analysis/CFG.cpp | 2 +- clang/lib/Analysis/ObjCNoReturn.cpp | 9 +- clang/lib/Analysis/ThreadSafety.cpp | 8 +- clang/lib/Basic/OpenMPKinds.cpp | 2 + clang/lib/Basic/Targets/AArch64.cpp | 11 +- clang/lib/Basic/Targets/AVR.cpp | 6 +- clang/lib/CodeGen/CGGPUBuiltin.cpp | 2 +- clang/lib/CodeGen/CGOpenMPRuntime.cpp | 10 +- clang/lib/CodeGen/CGStmtOpenMP.cpp | 1 + clang/lib/CodeGen/CGVTables.cpp | 2 +- clang/lib/CodeGen/CoverageMappingGen.cpp | 12 +- clang/lib/CodeGen/MicrosoftCXXABI.cpp | 4 +- clang/lib/Driver/Distro.cpp | 1 + clang/lib/Driver/Driver.cpp | 7 +- clang/lib/Driver/ToolChains/AMDGPU.cpp | 8 +- clang/lib/Driver/ToolChains/Clang.cpp | 27 +- clang/lib/Driver/ToolChains/Cuda.cpp | 12 +- clang/lib/Driver/ToolChains/Fuchsia.cpp | 4 +- clang/lib/Format/BreakableToken.cpp | 3 +- clang/lib/Format/UnwrappedLineParser.cpp | 7 +- clang/lib/Index/IndexDecl.cpp | 10 + clang/lib/Lex/ModuleMap.cpp | 5 +- clang/lib/Lex/PPLexerChange.cpp | 4 +- clang/lib/Parse/ParseExprCXX.cpp | 4 +- clang/lib/Parse/ParseOpenMP.cpp | 141 +++-- clang/lib/Sema/AnalysisBasedWarnings.cpp | 2 +- clang/lib/Sema/SemaChecking.cpp | 133 +---- clang/lib/Sema/SemaDecl.cpp | 8 +- clang/lib/Sema/SemaDeclAttr.cpp | 13 +- clang/lib/Sema/SemaDeclCXX.cpp | 7 +- clang/lib/Sema/SemaOpenMP.cpp | 77 ++- clang/lib/Sema/SemaTemplate.cpp | 3 +- clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 11 +- clang/lib/Sema/SemaTemplateVariadic.cpp | 7 +- clang/lib/Sema/SemaType.cpp | 10 +- clang/lib/Sema/UsedDeclVisitor.h | 3 +- clang/lib/Serialization/ASTReader.cpp | 29 +- clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt | 1 + .../lib/StaticAnalyzer/Checkers/StreamChecker.cpp | 2 +- .../lib/StaticAnalyzer/Checkers/StringChecker.cpp | 101 ++++ .../StaticAnalyzer/Core/RangeConstraintManager.cpp | 55 +- clang/lib/StaticAnalyzer/Core/RegionStore.cpp | 163 +++--- clang/lib/Tooling/Syntax/BuildTree.cpp | 5 +- .../Analysis/Inputs/system-header-simulator-cxx.h | 36 +- clang/test/Analysis/constant-folding.c | 46 -- .../Analysis/diagnostics/explicit-suppression.cpp | 2 +- clang/test/Analysis/initialization.c | 45 ++ clang/test/Analysis/initialization.cpp | 18 + clang/test/Analysis/std-string.cpp | 81 +++ .../test/CodeGen/RISCV/riscv-attr-builtin-alias.c | 2 +- .../RISCV/rvv-intrinsics-overloaded/vmerge.c | 18 +- clang/test/CodeGen/RISCV/rvv-intrinsics/vmerge.c | 30 +- ...4-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c | 12 +- ...sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.cpp | 12 +- .../test/CodeGen/aarch64-sve-vector-bits-codegen.c | 8 +- .../CodeGen/arm-sve-vector-bits-vscale-range.c | 26 +- .../CodeGen/attr-arm-sve-vector-bits-bitcast.c | 6 +- clang/test/CodeGen/attr-arm-sve-vector-bits-call.c | 2 +- clang/test/CodeGen/attr-arm-sve-vector-bits-cast.c | 2 +- .../CodeGen/attr-arm-sve-vector-bits-codegen.c | 2 +- .../CodeGen/attr-arm-sve-vector-bits-globals.c | 4 +- .../test/CodeGen/attr-arm-sve-vector-bits-types.c | 12 +- .../aarch64-mangle-sve-fixed-vectors.cpp | 10 +- .../test/CodeGenCXX/aarch64-sve-fixedtypeinfo.cpp | 10 +- clang/test/Driver/aarch64-sve-vector-bits.c | 38 +- clang/test/OpenMP/declare_target_messages.cpp | 7 +- .../OpenMP/declare_variant_clauses_ast_print.cpp | 78 +++ .../OpenMP/declare_variant_clauses_messages.cpp | 162 +++++- clang/test/OpenMP/declare_variant_messages.cpp | 6 + clang/test/OpenMP/deferred-diags.cpp | 13 +- clang/test/Preprocessor/aarch64-target-features.c | 3 + .../Sema/aarch64-sve-explicit-casts-fixed-size.c | 10 +- .../test/Sema/aarch64-sve-lax-vector-conversions.c | 6 +- clang/test/Sema/attr-arm-sve-vector-bits.c | 10 +- clang/test/Sema/attr-availability-fuchsia.c | 6 +- clang/test/SemaCUDA/openmp-target.cu | 4 +- .../aarch64-sve-explicit-casts-fixed-size.cpp | 10 +- .../SemaCXX/aarch64-sve-lax-vector-conversions.cpp | 6 +- clang/test/SemaCXX/attr-arm-sve-vector-bits.cpp | 2 +- clang/tools/driver/driver.cpp | 4 +- clang/unittests/AST/CMakeLists.txt | 1 + clang/unittests/AST/DeclTest.cpp | 19 + clang/unittests/AST/RecursiveASTVisitorTest.cpp | 38 +- clang/unittests/Basic/CMakeLists.txt | 1 + clang/unittests/Basic/FileManagerTest.cpp | 14 +- clang/unittests/Index/IndexTests.cpp | 15 + clang/utils/TableGen/ClangAttrEmitter.cpp | 6 +- clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp | 8 +- clang/utils/TableGen/NeonEmitter.cpp | 15 +- clang/utils/TableGen/RISCVVEmitter.cpp | 73 ++- clang/utils/analyzer/entrypoint.py | 13 +- clang/www/get_started.html | 2 +- .../lib/sanitizer_common/sanitizer_common.h | 10 +- .../lib/sanitizer_common/sanitizer_flat_map.h | 14 +- .../lib/sanitizer_common/sanitizer_stackdepot.cpp | 46 +- .../lib/sanitizer_common/sanitizer_stacktrace.cpp | 2 +- compiler-rt/lib/tsan/rtl/tsan_mutexset.cpp | 5 + compiler-rt/lib/tsan/rtl/tsan_mutexset.h | 20 + compiler-rt/lib/tsan/rtl/tsan_platform.h | 2 +- compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp | 22 +- compiler-rt/test/tsan/free_race3.c | 29 ++ .../include/flang/Optimizer/Dialect/FIRDialect.td | 6 + flang/include/flang/Optimizer/Dialect/FIROps.td | 80 +-- flang/lib/Semantics/check-omp-structure.cpp | 1 + libc/CMakeLists.txt | 4 +- libc/src/__support/str_conv_utils.h | 21 +- libc/test/src/stdlib/strtol_test.cpp | 32 +- libc/test/src/stdlib/strtoll_test.cpp | 32 +- libc/test/src/stdlib/strtoul_test.cpp | 32 +- libc/test/src/stdlib/strtoull_test.cpp | 32 +- libc/test/src/string/memory_utils/CMakeLists.txt | 2 +- libcxx/benchmarks/algorithms.bench.cpp | 2 +- libcxx/docs/Status/Cxx20Issues.csv | 2 +- libcxx/docs/Status/Cxx20Papers.csv | 199 +++---- libcxx/docs/Status/Cxx2bPapers.csv | 28 +- libcxx/include/__memory/shared_ptr.h | 65 +-- libcxx/include/chrono | 145 ------ libcxx/include/memory | 6 +- .../util.smartptr.shared/types.pass.cpp | 14 +- .../util.smartptr.shared.const/weak_ptr.pass.cpp | 12 + .../util.smartptr.weak/types.pass.cpp | 26 +- .../shared_ptr_Y.pass.cpp | 17 + .../util.smartptr.weak.assign/weak_ptr_Y.pass.cpp | 32 ++ .../util.smartptr.weak.const/shared_ptr_Y.pass.cpp | 17 + .../util.smartptr.weak.const/weak_ptr_Y.pass.cpp | 21 +- lld/COFF/PDB.cpp | 4 +- lld/ELF/Arch/X86_64.cpp | 4 + lld/ELF/CallGraphSort.cpp | 2 +- lld/ELF/DWARF.cpp | 2 +- lld/ELF/Driver.cpp | 69 ++- lld/ELF/DriverUtils.cpp | 13 +- lld/ELF/InputFiles.cpp | 32 +- lld/ELF/InputFiles.h | 13 +- lld/ELF/InputSection.cpp | 28 +- lld/ELF/LinkerScript.cpp | 2 +- lld/ELF/MarkLive.cpp | 6 +- lld/ELF/Options.td | 11 +- lld/ELF/OutputSections.cpp | 2 +- lld/ELF/Relocations.cpp | 64 ++- lld/ELF/Relocations.h | 1 + lld/ELF/ScriptParser.cpp | 2 +- lld/ELF/SymbolTable.cpp | 3 +- lld/ELF/SyntheticSections.cpp | 16 +- lld/ELF/Target.cpp | 2 +- lld/ELF/Writer.cpp | 61 +-- lld/test/ELF/Inputs/discard-merge-unnamed.o | Bin 584 -> 0 bytes lld/test/ELF/Inputs/sht-group-gold-r.elf | Bin 880 -> 0 bytes lld/test/ELF/Inputs/sht-group-gold-r.s | 14 - lld/test/ELF/arm-thumb-interwork-thunk-range.s | 2 +- lld/test/ELF/defsym.s | 10 +- lld/test/ELF/discard-merge-unnamed.s | 27 - lld/test/ELF/format-binary.test | 2 +- lld/test/ELF/image-base.s | 12 +- lld/test/ELF/init-fini-progbits.s | 4 +- lld/test/ELF/pie.s | 2 - lld/test/ELF/sht-group-gold-r.test | 18 - lld/test/ELF/silent-ignore.test | 6 +- lld/test/ELF/x86-64-plt-high-addr.s | 4 +- lld/test/ELF/x86-64-reloc-pltoff64.s | 41 ++ lld/test/MachO/dead-strip.s | 4 +- lld/test/MachO/treat-undef-sym.s | 45 +- lld/wasm/Writer.cpp | 10 +- lldb/cmake/modules/LLDBStandalone.cmake | 6 + lldb/include/lldb/Core/Module.h | 21 + lldb/include/lldb/Core/PluginManager.h | 10 +- lldb/include/lldb/Host/File.h | 1 + lldb/include/lldb/Host/Terminal.h | 14 + lldb/include/lldb/Target/DynamicLoader.h | 5 +- lldb/include/lldb/Target/DynamicRegisterInfo.h | 7 +- lldb/include/lldb/Target/Platform.h | 7 +- lldb/include/lldb/Target/RemoteAwarePlatform.h | 2 +- lldb/include/lldb/Target/Statistics.h | 27 +- lldb/include/lldb/Utility/UriParser.h | 31 +- lldb/packages/Python/lldbsuite/test/lldbtest.py | 3 +- lldb/source/API/SBPlatform.cpp | 12 +- lldb/source/API/SBTarget.cpp | 4 +- lldb/source/Breakpoint/BreakpointID.cpp | 7 +- lldb/source/Commands/CommandObjectStats.cpp | 13 +- lldb/source/Commands/CommandObjectWatchpoint.cpp | 2 +- lldb/source/Core/DynamicLoader.cpp | 8 +- lldb/source/Core/EmulateInstruction.cpp | 3 +- lldb/source/Core/PluginManager.cpp | 25 +- lldb/source/Host/common/File.cpp | 22 +- lldb/source/Host/common/Terminal.cpp | 20 + lldb/source/Host/freebsd/HostInfoFreeBSD.cpp | 1 - lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm | 2 +- .../Host/posix/ConnectionFileDescriptorPosix.cpp | 15 - .../Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | 7 +- .../Darwin-Kernel/DynamicLoaderDarwinKernel.h | 8 +- .../Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp | 7 +- .../Hexagon-DYLD/DynamicLoaderHexagonDYLD.h | 8 +- .../MacOSX-DYLD/DynamicLoaderMacOS.cpp | 7 +- .../DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h | 8 +- .../MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp | 7 +- .../MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h | 8 +- .../POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp | 7 +- .../POSIX-DYLD/DynamicLoaderPOSIXDYLD.h | 8 +- .../DynamicLoader/Static/DynamicLoaderStatic.cpp | 7 +- .../DynamicLoader/Static/DynamicLoaderStatic.h | 8 +- .../Windows-DYLD/DynamicLoaderWindowsDYLD.cpp | 7 +- .../Windows-DYLD/DynamicLoaderWindowsDYLD.h | 8 +- .../wasm-DYLD/DynamicLoaderWasmDYLD.cpp | 7 +- .../wasm-DYLD/DynamicLoaderWasmDYLD.h | 8 +- .../Clang/ClangExpressionParser.cpp | 2 +- .../Instruction/ARM/EmulateInstructionARM.cpp | 7 +- .../Instruction/ARM/EmulateInstructionARM.h | 8 +- .../Instruction/ARM64/EmulateInstructionARM64.cpp | 7 +- .../Instruction/ARM64/EmulateInstructionARM64.h | 8 +- .../Instruction/MIPS/EmulateInstructionMIPS.cpp | 7 +- .../Instruction/MIPS/EmulateInstructionMIPS.h | 8 +- .../MIPS64/EmulateInstructionMIPS64.cpp | 7 +- .../Instruction/MIPS64/EmulateInstructionMIPS64.h | 8 +- .../Instruction/PPC64/EmulateInstructionPPC64.cpp | 7 +- .../Instruction/PPC64/EmulateInstructionPPC64.h | 8 +- lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp | 9 +- lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.h | 8 +- .../CPlusPlus/MSVCUndecoratedNameParser.cpp | 2 +- .../Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 7 +- .../Plugins/ObjectFile/JIT/ObjectFileJIT.cpp | 1 + .../Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 1 + .../ObjectFile/Minidump/MinidumpFileBuilder.h | 2 +- .../Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 1 + .../Plugins/Platform/Android/PlatformAndroid.cpp | 9 +- .../Android/PlatformAndroidRemoteGDBServer.cpp | 26 +- .../Platform/MacOSX/PlatformRemoteDarwinDevice.cpp | 5 +- .../Platform/MacOSX/PlatformRemoteMacOSX.cpp | 4 +- .../Plugins/Platform/Windows/PlatformWindows.cpp | 7 +- .../gdb-server/PlatformRemoteGDBServer.cpp | 13 +- .../Platform/gdb-server/PlatformRemoteGDBServer.h | 2 +- .../Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp | 11 +- .../Plugins/Process/MacOSX-Kernel/ProcessKDP.h | 2 +- .../Process/Windows/Common/ProcessWindows.cpp | 2 +- .../Plugins/Process/elf-core/ProcessElfCore.cpp | 2 +- .../gdb-remote/GDBRemoteCommunicationClient.cpp | 17 +- .../gdb-remote/GDBRemoteCommunicationClient.h | 2 +- .../GDBRemoteCommunicationServerPlatform.cpp | 11 +- .../gdb-remote/GDBRemoteRegisterContext.cpp | 263 ---------- .../Process/gdb-remote/GDBRemoteRegisterContext.h | 1 - .../Process/gdb-remote/ProcessGDBRemote.cpp | 28 +- .../Plugins/Process/mach-core/ProcessMachCore.cpp | 8 +- .../Plugins/Process/mach-core/ProcessMachCore.h | 2 +- .../Plugins/SymbolFile/DWARF/DWARFASTParser.h | 3 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 158 +++--- .../Plugins/SymbolFile/DWARF/DWARFASTParserClang.h | 3 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 33 +- lldb/source/Symbol/Symtab.cpp | 1 + lldb/source/Target/DynamicRegisterInfo.cpp | 29 -- lldb/source/Target/Platform.cpp | 18 +- lldb/source/Target/Process.cpp | 2 +- lldb/source/Target/RemoteAwarePlatform.cpp | 7 +- lldb/source/Target/Statistics.cpp | 81 ++- lldb/source/Target/Target.cpp | 2 +- lldb/source/Utility/UriParser.cpp | 43 +- lldb/source/Utility/VMRange.cpp | 10 +- .../API/commands/statistics/basic/TestStats.py | 128 ++++- .../functionalities/stats_api/TestStatisticsAPI.py | 11 +- lldb/test/API/lang/c/bitfields/TestBitfields.py | 291 ++++------- lldb/test/API/lang/c/bitfields/main.c | 148 +++--- .../API/lang/cpp/bitfields/TestCppBitfields.py | 264 +++++----- lldb/test/API/lang/cpp/bitfields/main.cpp | 210 ++++---- .../SymbolFile/DWARF/x86/dead-code-filtering.yaml | 13 + lldb/tools/lldb-server/Acceptor.cpp | 10 +- lldb/tools/lldb-vscode/lldb-vscode.cpp | 2 +- .../Host/ConnectionFileDescriptorTest.cpp | 9 +- lldb/unittests/Host/SocketTest.cpp | 26 +- lldb/unittests/Host/posix/TerminalTest.cpp | 30 ++ lldb/unittests/Target/DynamicRegisterInfoTest.cpp | 102 ---- lldb/unittests/Utility/UriParserTest.cpp | 149 ++---- llvm/docs/CMake.rst | 6 + llvm/docs/GettingStarted.rst | 2 +- llvm/docs/NewPassManager.rst | 37 ++ llvm/docs/Phabricator.rst | 7 +- llvm/docs/ReleaseNotes.rst | 4 + llvm/docs/TableGen/BackGuide.rst | 2 +- llvm/include/llvm/Analysis/ConstantFolding.h | 20 +- llvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h | 9 +- llvm/include/llvm/Analysis/ScalarEvolution.h | 19 +- .../llvm/CodeGen/GlobalISel/GenericMachineInstrs.h | 2 +- llvm/include/llvm/CodeGen/MachineFunction.h | 4 + llvm/include/llvm/CodeGen/TargetLowering.h | 12 +- llvm/include/llvm/Frontend/OpenMP/OMP.td | 4 +- llvm/include/llvm/IR/Value.h | 9 +- .../llvm/Support/GenericDomTreeConstruction.h | 4 +- .../llvm/Transforms/InstCombine/InstCombiner.h | 4 +- llvm/lib/Analysis/AssumptionCache.cpp | 4 +- llvm/lib/Analysis/BasicAliasAnalysis.cpp | 48 +- llvm/lib/Analysis/ConstantFolding.cpp | 21 +- llvm/lib/Analysis/InstructionSimplify.cpp | 77 +-- llvm/lib/Analysis/LoopCacheAnalysis.cpp | 7 +- llvm/lib/Analysis/OverflowInstAnalysis.cpp | 2 +- llvm/lib/Analysis/ScalarEvolution.cpp | 190 +++---- llvm/lib/Analysis/TargetLibraryInfo.cpp | 2 +- llvm/lib/Analysis/ValueTracking.cpp | 22 +- llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | 56 +- llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 44 +- llvm/lib/Bitcode/Reader/MetadataLoader.cpp | 70 ++- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 +- llvm/lib/CodeGen/CodeGenCommonISel.cpp | 2 +- llvm/lib/CodeGen/CodeGenPrepare.cpp | 6 +- llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp | 25 +- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 2 +- llvm/lib/CodeGen/InlineSpiller.cpp | 33 ++ .../CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 195 +++++-- .../CodeGen/LiveDebugValues/InstrRefBasedImpl.h | 116 ++++- .../CodeGen/LiveDebugValues/VarLocBasedImpl.cpp | 6 +- llvm/lib/CodeGen/MachineFunction.cpp | 6 + llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 12 +- .../CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 29 +- llvm/lib/CodeGen/TargetLoweringBase.cpp | 11 +- llvm/lib/ExecutionEngine/JITLink/ELF_aarch64.cpp | 2 +- llvm/lib/FileCheck/FileCheck.cpp | 4 +- llvm/lib/IR/Attributes.cpp | 4 +- llvm/lib/IR/AutoUpgrade.cpp | 2 +- llvm/lib/IR/Constants.cpp | 2 +- llvm/lib/IR/Value.cpp | 3 + llvm/lib/InterfaceStub/IFSHandler.cpp | 2 +- llvm/lib/MC/MCParser/ELFAsmParser.cpp | 2 +- llvm/lib/ProfileData/InstrProfWriter.cpp | 3 +- llvm/lib/ProfileData/SampleProfWriter.cpp | 2 +- llvm/lib/Support/ARMTargetParser.cpp | 4 +- llvm/lib/Support/DebugOptions.h | 2 +- llvm/lib/Support/TimeProfiler.cpp | 5 +- llvm/lib/Support/Unix/Program.inc | 3 +- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 22 +- llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 4 + llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp | 57 +++ llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 8 +- llvm/lib/Target/AMDGPU/MCA/CMakeLists.txt | 2 +- llvm/lib/Target/ARC/ARCInstrInfo.cpp | 3 +- llvm/lib/Target/ARC/ARCInstrInfo.h | 1 - llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp | 2 +- llvm/lib/Target/CSKY/AsmParser/CSKYAsmParser.cpp | 2 +- llvm/lib/Target/CSKY/CSKYInstrFormats.td | 2 +- llvm/lib/Target/CSKY/CSKYInstrInfo.td | 2 +- llvm/lib/Target/CSKY/CSKYSubtarget.cpp | 2 +- llvm/lib/Target/CSKY/CSKYSubtarget.h | 2 +- llvm/lib/Target/CSKY/MCTargetDesc/CSKYFixupKinds.h | 2 +- .../lib/Target/CSKY/MCTargetDesc/CSKYInstPrinter.h | 2 +- .../Target/CSKY/MCTargetDesc/CSKYMCCodeEmitter.cpp | 2 +- .../Target/CSKY/MCTargetDesc/CSKYMCCodeEmitter.h | 2 +- llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.cpp | 2 +- llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCExpr.h | 2 +- .../Target/CSKY/MCTargetDesc/CSKYMCTargetDesc.h | 2 +- llvm/lib/Target/Hexagon/HexagonBitSimplify.cpp | 2 +- .../Target/Hexagon/HexagonLoopIdiomRecognition.cpp | 3 +- llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp | 5 +- llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp | 447 +++++++++++++++- llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td | 4 + llvm/lib/Target/RISCV/RISCVSystemOperands.td | 1 + .../Target/WebAssembly/WebAssemblyAsmPrinter.cpp | 9 + llvm/lib/Target/X86/X86ISelLowering.cpp | 8 +- llvm/lib/Target/X86/X86InstrInfo.cpp | 173 ++++--- llvm/lib/Transforms/IPO/AlwaysInliner.cpp | 8 +- llvm/lib/Transforms/IPO/AttributorAttributes.cpp | 1 + llvm/lib/Transforms/IPO/OpenMPOpt.cpp | 9 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 4 +- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 2 +- llvm/lib/Transforms/Scalar/LICM.cpp | 3 +- .../Transforms/Scalar/RewriteStatepointsForGC.cpp | 18 +- llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp | 4 + .../Transforms/Utils/ScalarEvolutionExpander.cpp | 33 +- llvm/lib/Transforms/Utils/VNCoercion.cpp | 27 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 20 +- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 66 ++- .../test/Analysis/BasicAA/assume-index-positive.ll | 15 + llvm/test/Analysis/BasicAA/range.ll | 37 ++ llvm/test/CodeGen/AArch64/aarch64st1.mir | 110 ++++ .../test/CodeGen/AArch64/arm64-assert-zext-sext.ll | 51 +- .../AArch64/redundant-mov-from-zero-extend.ll | 79 +++ .../AArch64/redundant-orrwrs-from-zero-extend.mir | 69 +++ llvm/test/CodeGen/AArch64/sve-fp-reciprocal.ll | 179 +++++++ .../GlobalISel/irtranslator-call-non-fixed.ll | 157 +++--- .../GlobalISel/irtranslator-indirect-call.ll | 116 ++--- llvm/test/CodeGen/AMDGPU/inline-asm.i128.ll | 48 +- llvm/test/CodeGen/AMDGPU/usubsat.ll | 72 +++ llvm/test/CodeGen/AMDGPU/vgpr-liverange-ir.ll | 564 +++++++++++--------- llvm/test/CodeGen/PowerPC/common-chain.ll | 569 ++++++++++----------- llvm/test/CodeGen/PowerPC/ppc64-i128-abi.ll | 75 +++ llvm/test/CodeGen/RISCV/rvv/vmerge-rv32.ll | 332 +++++++++++- llvm/test/CodeGen/RISCV/rvv/vmerge-rv64.ll | 332 +++++++++++- .../rvv/{vmulh-sdnode-rv32.ll => vmulh-sdnode.ll} | 3 +- llvm/test/CodeGen/RISCV/select-constant-xor.ll | 310 +++++------ .../LowOverheadLoops/arm_cmplx_dot_prod_f32.ll | 203 ++++++++ llvm/test/CodeGen/VE/Scalar/cttz.ll | 8 +- llvm/test/CodeGen/WebAssembly/memory64-feature.ll | 15 + llvm/test/CodeGen/X86/combine-sub.ll | 140 +++++ llvm/test/CodeGen/X86/jump_sign.ll | 15 +- llvm/test/CodeGen/X86/optimize-compare.mir | 389 ++++++++++++++ llvm/test/CodeGen/X86/psubus.ll | 89 ++++ llvm/test/CodeGen/X86/tied-depbreak.mir | 64 +++ .../InstrRef/memory-operand-folding-tieddef.mir | 176 +++++++ .../MIR/InstrRef/memory-operand-folding.mir | 260 ++++++++++ .../MIR/InstrRef/memory-operand-load-folding.mir | 132 +++++ .../MIR/InstrRef/memory-operand-tracking.mir | 85 +++ .../OrcV2Examples/lljit-with-remote-debugging.test | 12 + llvm/test/MC/RISCV/rvv-user-csr-names.s | 14 + llvm/test/MC/WebAssembly/debug-info64.ll | 6 + .../IndVarSimplify/finite-exit-comparisons.ll | 57 +++ .../Transforms/Inline/always-inline-invalidate.ll | 8 + llvm/test/Transforms/InstCombine/icmp-mul.ll | 8 + .../RewriteStatepointsForGC/codegen-cond.ll | 2 +- .../Transforms/SLPVectorizer/AArch64/tsc-s352.ll | 65 +-- .../Transforms/SLPVectorizer/X86/dot-product.ll | 58 ++- .../insert-element-build-vector-inseltpoison.ll | 14 +- .../X86/insert-element-build-vector.ll | 14 +- .../SLPVectorizer/X86/revectorized_rdx_crash.ll | 34 +- llvm/test/Transforms/SimplifyCFG/pr52290.ll | 49 ++ llvm/tools/llvm-exegesis/lib/SnippetFile.h | 2 +- llvm/unittests/CodeGen/InstrRefLDVTest.cpp | 96 +++- .../unittests/IR/DominatorTreeBatchUpdatesTest.cpp | 17 +- .../clang-tools-extra/clangd/support/BUILD.gn | 1 + .../clang-tools-extra/clangd/unittests/BUILD.gn | 1 + .../clang/lib/StaticAnalyzer/Checkers/BUILD.gn | 1 + .../gn/secondary/clang/unittests/Basic/BUILD.gn | 1 + .../gn/secondary/llvm/unittests/CodeGen/BUILD.gn | 1 + mlir/CMakeLists.txt | 1 + mlir/docs/Bindings/Python.md | 62 +++ mlir/docs/CAPI.md | 20 + mlir/include/mlir-c/Interfaces.h | 67 +++ mlir/include/mlir/Analysis/AffineStructures.h | 5 +- mlir/include/mlir/CAPI/Interfaces.h | 18 + .../mlir/Conversion/VectorToSCF/VectorToSCF.h | 28 +- .../mlir/Dialect/Arithmetic/IR/Arithmetic.h | 6 +- .../mlir/Dialect/Arithmetic/IR/ArithmeticBase.td | 1 + .../mlir/Dialect/Arithmetic/IR/ArithmeticOps.td | 12 - mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td | 2 + mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | 6 +- mlir/include/mlir/Dialect/Linalg/Passes.td | 5 +- .../Dialect/Linalg/Transforms/CodegenStrategy.h | 71 +-- .../Linalg/Transforms/ComprehensiveBufferize.h | 31 +- .../mlir/Dialect/Linalg/Transforms/Transforms.h | 107 +++- mlir/include/mlir/Dialect/Math/IR/MathOps.td | 33 ++ .../mlir/Dialect/Math/Transforms/Approximation.h | 29 ++ mlir/include/mlir/Dialect/Math/Transforms/Passes.h | 9 +- mlir/include/mlir/Dialect/Shape/IR/ShapeBase.td | 1 + mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 48 +- mlir/include/mlir/Dialect/Vector/VectorOps.h | 95 ---- .../mlir/Dialect/Vector/VectorRewritePatterns.h | 391 ++++++++++++++ .../include/mlir/Dialect/Vector/VectorTransforms.h | 278 +--------- mlir/include/mlir/Pass/PassManager.h | 3 + mlir/include/mlir/TableGen/CodeGenHelpers.h | 3 + mlir/include/mlir/TableGen/Operator.h | 3 + mlir/lib/Analysis/AffineStructures.cpp | 50 +- mlir/lib/Bindings/Python/IRInterfaces.cpp | 240 +++++++++ mlir/lib/Bindings/Python/IRModule.h | 133 ++--- mlir/lib/Bindings/Python/MainModule.cpp | 1 + mlir/lib/Bindings/Python/Pass.h | 2 +- mlir/lib/CAPI/CMakeLists.txt | 1 + mlir/lib/CAPI/Interfaces/CMakeLists.txt | 5 + mlir/lib/CAPI/Interfaces/Interfaces.cpp | 82 +++ .../ArithmeticToLLVM/ArithmeticToLLVM.cpp | 20 +- .../ArithmeticToSPIRV/ArithmeticToSPIRV.cpp | 24 +- mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp | 6 +- mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp | 2 +- .../Conversion/GPUCommon/GPUToLLVMConversion.cpp | 2 +- .../GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp | 7 +- mlir/lib/Conversion/MathToLibm/MathToLibm.cpp | 2 + mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp | 5 +- mlir/lib/Conversion/SCFToGPU/SCFToGPU.cpp | 2 +- mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp | 14 +- .../ShapeToStandard/ConvertShapeConstraints.cpp | 2 +- .../Conversion/ShapeToStandard/ShapeToStandard.cpp | 75 +-- .../Conversion/StandardToLLVM/StandardToLLVM.cpp | 26 +- .../Conversion/StandardToSPIRV/StandardToSPIRV.cpp | 7 +- mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp | 2 - mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp | 4 +- .../VectorToLLVM/ConvertVectorToLLVM.cpp | 3 +- .../VectorToLLVM/ConvertVectorToLLVMPass.cpp | 2 +- .../Dialect/Affine/Transforms/SuperVectorize.cpp | 4 +- mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp | 72 +-- .../Dialect/Arithmetic/Transforms/Bufferize.cpp | 2 +- .../Dialect/Arithmetic/Transforms/ExpandOps.cpp | 8 +- .../Async/Transforms/AsyncToAsyncRuntime.cpp | 2 +- mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp | 146 +++--- mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt | 1 + .../Dialect/Linalg/Transforms/CodegenStrategy.cpp | 16 +- .../Linalg/Transforms/ComprehensiveBufferize.cpp | 325 +++++++----- mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp | 2 +- .../Linalg/Transforms/LinalgStrategyPasses.cpp | 35 +- mlir/lib/Dialect/Linalg/Utils/Utils.cpp | 4 +- mlir/lib/Dialect/Math/Transforms/CMakeLists.txt | 1 + .../Math/Transforms/PolynomialApproximation.cpp | 211 +++++++- mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | 2 +- mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp | 2 +- mlir/lib/Dialect/SCF/SCF.cpp | 12 +- mlir/lib/Dialect/Shape/IR/Shape.cpp | 122 ++--- .../Shape/Transforms/ShapeToShapeLowering.cpp | 4 +- .../Shape/Transforms/StructuralTypeConversions.cpp | 8 +- .../SparseTensor/IR/SparseTensorDialect.cpp | 4 +- .../Transforms/SparseTensorConversion.cpp | 33 +- .../SparseTensor/Transforms/SparseTensorPasses.cpp | 15 +- mlir/lib/Dialect/StandardOps/IR/Ops.cpp | 200 ++++---- .../Dialect/StandardOps/Transforms/Bufferize.cpp | 9 +- .../Dialect/StandardOps/Transforms/ExpandOps.cpp | 20 +- .../StandardOps/Transforms/FuncConversions.cpp | 2 +- .../Transforms/TensorConstantBufferize.cpp | 6 +- mlir/lib/Dialect/Tensor/IR/TensorOps.cpp | 2 +- mlir/lib/Dialect/Tosa/IR/TosaOps.cpp | 4 +- .../Vector/VectorMultiDimReductionTransforms.cpp | 31 +- mlir/lib/Dialect/Vector/VectorOps.cpp | 10 +- mlir/lib/Dialect/Vector/VectorTransforms.cpp | 52 +- mlir/lib/Dialect/Vector/VectorUtils.cpp | 9 +- mlir/lib/IR/MLIRContext.cpp | 2 +- mlir/lib/Pass/Pass.cpp | 8 + mlir/lib/TableGen/Dialect.cpp | 2 +- mlir/lib/TableGen/Operator.cpp | 25 +- mlir/lib/Target/Cpp/TranslateToCpp.cpp | 4 +- mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp | 4 +- .../Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp | 9 +- mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | 28 +- mlir/lib/Transforms/BufferResultsToOutParams.cpp | 2 +- mlir/lib/Transforms/NormalizeMemRefs.cpp | 2 +- mlir/python/CMakeLists.txt | 40 +- mlir/python/mlir/dialects/PythonTest.td | 33 -- .../mlir/dialects/linalg/opdsl/lang/emitter.py | 34 +- mlir/python/mlir/dialects/python_test.py | 5 + mlir/test/CMakeLists.txt | 4 + .../Conversion/MathToLibm/convert-to-libm.mlir | 14 + .../Conversion/TosaToLinalg/tosa-to-linalg.mlir | 38 +- mlir/test/Dialect/LLVMIR/global.mlir | 6 +- .../comprehensive-module-bufferize-alloca.mlir | 65 +++ mlir/test/Dialect/Math/ops.mlir | 12 + .../Dialect/Math/polynomial-approximation.mlir | 125 +++++ mlir/test/Dialect/SparseTensor/conversion.mlir | 16 + mlir/test/Dialect/Tosa/ops.mlir | 18 +- mlir/test/Target/LLVMIR/llvmir.mlir | 2 +- mlir/test/Target/LLVMIR/openmp-llvm.mlir | 26 + .../lib/Dialect/Linalg/TestConvVectorization.cpp | 8 +- .../Dialect/Linalg/TestLinalgCodegenStrategy.cpp | 21 +- .../lib/Dialect/Linalg/TestLinalgTransforms.cpp | 2 +- mlir/test/lib/Dialect/Math/CMakeLists.txt | 1 + .../Dialect/Math/TestPolynomialApproximation.cpp | 17 +- .../lib/Dialect/Vector/TestVectorTransforms.cpp | 14 +- mlir/test/mlir-cpu-runner/X86Vector/lit.local.cfg | 5 + .../X86Vector/math_polynomial_approx_avx2.mlir | 40 ++ .../mlir-cpu-runner/math_polynomial_approx.mlir | 73 +++ mlir/test/mlir-tblgen/op-python-bindings.td | 83 ++- mlir/test/mlir-tblgen/predicate.td | 11 + mlir/test/python/CMakeLists.txt | 8 + mlir/test/python/dialects/math.py | 2 +- mlir/test/python/dialects/python_test.py | 81 ++- mlir/test/python/dialects/shape.py | 5 +- mlir/test/python/ir/dialects.py | 4 +- mlir/test/python/lib/CMakeLists.txt | 33 ++ mlir/test/python/lib/PythonTestCAPI.cpp | 14 + mlir/test/python/lib/PythonTestCAPI.h | 24 + mlir/test/python/lib/PythonTestDialect.cpp | 25 + mlir/test/python/lib/PythonTestDialect.h | 21 + mlir/test/python/lib/PythonTestModule.cpp | 26 + mlir/test/python/python_test_ops.td | 48 +- mlir/tools/mlir-tblgen/CodeGenHelpers.cpp | 7 + mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp | 8 - mlir/tools/mlir-tblgen/OpPythonBindingGen.cpp | 130 ++++- mlir/tools/mlir-tblgen/RewriterGen.cpp | 10 +- mlir/unittests/Pass/PassManagerTest.cpp | 5 + mlir/utils/vim/syntax/mlir.vim | 3 + openmp/libomptarget/plugins/ppc64/CMakeLists.txt | 2 +- openmp/libomptarget/plugins/ppc64le/CMakeLists.txt | 2 +- openmp/libomptarget/plugins/x86_64/CMakeLists.txt | 2 +- openmp/libomptarget/src/omptarget.cpp | 14 +- openmp/runtime/src/kmp_atomic.cpp | 3 + openmp/runtime/src/kmp_csupport.cpp | 16 +- openmp/runtime/src/ompt-specific.cpp | 7 +- openmp/runtime/test/api/omp_get_num_devices.c | 3 + openmp/runtime/test/api/omp_get_wtime.c | 74 +-- openmp/runtime/test/api/omp_pause_resource.c | 4 + .../runtime/test/critical/omp_critical_with_hint.c | 3 + openmp/runtime/test/lit.cfg | 4 + openmp/runtime/test/ompt/callback.h | 3 +- .../test/ompt/parallel/nested_lwt_thread_num.c | 133 +++++ .../ompt/parallel/nested_serialized_task_frames.c | 81 +++ .../parallel/region_in_expl_task_task_frames.c | 87 ++++ .../ompt/synchronization/ordered_dependences.c | 2 +- openmp/runtime/test/tasking/detach_nested_task.c | 7 +- openmp/runtime/test/teams/kmp_num_teams.c | 2 + .../test/worksharing/for/omp_for_bigbounds.c | 13 +- .../runtime/test/worksharing/for/omp_par_in_loop.c | 2 +- openmp/tools/multiplex/tests/lit.cfg | 4 + .../clang/unittests/BUILD.bazel | 1 + utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 19 + .../llvm-project-overlay/mlir/test/BUILD.bazel | 1 + 673 files changed, 13093 insertions(+), 6198 deletions(-) create mode 100644 clang-tools-extra/clangd/support/ThreadCrashReporter.cpp create mode 100644 clang-tools-extra/clangd/support/ThreadCrashReporter.h create mode 100644 clang-tools-extra/clangd/test/crash.test create mode 100644 clang-tools-extra/clangd/unittests/ThreadCrashReporterTests.cpp create mode 100644 clang/lib/StaticAnalyzer/Checkers/StringChecker.cpp create mode 100644 clang/test/Analysis/std-string.cpp create mode 100644 compiler-rt/test/tsan/free_race3.c delete mode 100644 lld/test/ELF/Inputs/discard-merge-unnamed.o delete mode 100644 lld/test/ELF/Inputs/sht-group-gold-r.elf delete mode 100644 lld/test/ELF/Inputs/sht-group-gold-r.s delete mode 100644 lld/test/ELF/discard-merge-unnamed.s delete mode 100644 lld/test/ELF/sht-group-gold-r.test create mode 100644 lld/test/ELF/x86-64-reloc-pltoff64.s create mode 100644 llvm/test/CodeGen/AArch64/aarch64st1.mir create mode 100644 llvm/test/CodeGen/AArch64/redundant-mov-from-zero-extend.ll create mode 100644 llvm/test/CodeGen/AArch64/redundant-orrwrs-from-zero-extend.mir create mode 100644 llvm/test/CodeGen/AArch64/sve-fp-reciprocal.ll rename llvm/test/CodeGen/RISCV/rvv/{vmulh-sdnode-rv32.ll => vmulh-sdnode.ll} (86%) create mode 100644 llvm/test/CodeGen/Thumb2/LowOverheadLoops/arm_cmplx_dot_prod_f32.ll create mode 100644 llvm/test/CodeGen/WebAssembly/memory64-feature.ll create mode 100644 llvm/test/CodeGen/X86/optimize-compare.mir create mode 100644 llvm/test/CodeGen/X86/tied-depbreak.mir create mode 100644 llvm/test/DebugInfo/MIR/InstrRef/memory-operand-folding-tieddef.mir create mode 100644 llvm/test/DebugInfo/MIR/InstrRef/memory-operand-folding.mir create mode 100644 llvm/test/DebugInfo/MIR/InstrRef/memory-operand-load-folding.mir create mode 100644 llvm/test/DebugInfo/MIR/InstrRef/memory-operand-tracking.mir create mode 100644 llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test create mode 100644 llvm/test/Transforms/Inline/always-inline-invalidate.ll create mode 100644 llvm/test/Transforms/SimplifyCFG/pr52290.ll create mode 100644 mlir/include/mlir-c/Interfaces.h create mode 100644 mlir/include/mlir/CAPI/Interfaces.h create mode 100644 mlir/include/mlir/Dialect/Math/Transforms/Approximation.h create mode 100644 mlir/lib/Bindings/Python/IRInterfaces.cpp create mode 100644 mlir/lib/CAPI/Interfaces/CMakeLists.txt create mode 100644 mlir/lib/CAPI/Interfaces/Interfaces.cpp delete mode 100644 mlir/python/mlir/dialects/PythonTest.td create mode 100644 mlir/test/Dialect/Linalg/comprehensive-module-bufferize-alloca.mlir create mode 100644 mlir/test/mlir-cpu-runner/X86Vector/lit.local.cfg create mode 100644 mlir/test/mlir-cpu-runner/X86Vector/math_polynomial_approx_avx2.mlir create mode 100644 mlir/test/python/CMakeLists.txt create mode 100644 mlir/test/python/lib/CMakeLists.txt create mode 100644 mlir/test/python/lib/PythonTestCAPI.cpp create mode 100644 mlir/test/python/lib/PythonTestCAPI.h create mode 100644 mlir/test/python/lib/PythonTestDialect.cpp create mode 100644 mlir/test/python/lib/PythonTestDialect.h create mode 100644 mlir/test/python/lib/PythonTestModule.cpp create mode 100644 openmp/runtime/test/ompt/parallel/nested_lwt_thread_num.c create mode 100644 openmp/runtime/test/ompt/parallel/nested_serialized_task_frames.c create mode 100644 openmp/runtime/test/ompt/parallel/region_in_expl_task_task_frames.c