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_tx1/llvm-master-aarch64-spec2k6-O3_LTO in repository toolchain/ci/llvm-project.
from 6bf20aa59030 [AIX] support xcoff for llvm-nm adds 75de92d3e25c [DSE] Seperate malloc+memset -> calloc transform from noop [...] adds 6bf590d6e86d [InstCombine] Pull out a helper function to simplify upcom [...] adds 0cf860ec1e3a AMDGPU/GlobalISel: Regenerate baseline checks to include -NEXT adds 5a434ceafbe7 GlobalISel: Use cloneVirtualRegister in localizer adds c0581f7df685 Revert D109159 : Revert "[amdgpu] Enable selection of `s_c [...] adds 4372e629a9a9 [AIX] add the xcoff symbol size for the llvm-nm. adds e7cb716ef955 [mlir][Linalg] Pattern to fuse pad operation with elementw [...] adds 85e6e748d426 [MCA] Switching from conservatively guessing which instruc [...] adds 6479f03daec1 [clang][#47272] Avoid suggesting deprecated version of a d [...] adds e3cf70502cae [libc++] Introduce __debug_db_insert_c() adds d5b5fc06b85a [libc++] Add Status page for P2321R2 (Zip) adds fcfc0e7ad34c [libc++] Introduce __fits_in_sso() adds 7ea175d1c6fa Add 'eager-checks' as a module parameter to MSAN. adds e9b5b815565b [NFC][llvm-libtool-darwin] Encapsulate the process of addi [...] adds 4993eff3e253 [llvm-libtool-darwin] Print a warning if object file names [...] adds c79d37279156 [sanitizer_common] Only use NT_GNU_BUILD_ID in sanitizer_l [...] adds 4614b93f5373 [TSan][Darwin] Mark test UNSUPPORTED for iOS simulator adds 9e634b35ff51 [libc++] Temporarily disable the in_out_result test on Fuchsia. adds ff11cd955019 [TSan][Darwin] Enable Trace/TraceAlloc unit tests adds 97567bde5baa [MLIR][SCF] Canonicalize while statement whose cmp conditi [...] adds 7acb68b80be6 [NFC] Fixup for comment adds 945aa520ef07 [LLDB][NativePDB] Add support for inlined functions adds b7f298f17416 [NFC][MLGO] Use ASSERT_TRUE in TFUtilsTest, where appropriate. adds b2715660ed0f [clang][CodeGen][UBSan] VLA size checking for unsigned int [...] adds 1f5dceb1d0d3 [MLGO] Add support for multiple training traces per module adds 97a5dccb7d3a [lld-macho] Rename LazySymbol to LazyArchive. NFC adds 0d1365e380b5 [libc++][test] Move iter_swap into iterator.cust.swap. NFC. adds f0b2a1a629da ASTMatchers: Avoid using SmallVector::set_size() adds d23fa4f2f131 [MLIR][SCF] Remove unused arguments to whileop adds 4d04526bf48d ADT: Avoid using SmallVector::set_size() in SmallString adds e976c457c5a3 [lld-macho] Initialize separate time trace profiler for ma [...] adds 3110060bc721 AST: Avoid using SmallVector::set_size() in UnresolvedSet adds 4d4439470eaf Support: Avoid SmallVector::set_size() in Windows code adds b0492d92adc5 Support: Avoid SmallVector::set_size() in Unix code adds 345223a7be3c Support: Extract sys::fs::readNativeFileToEOF() from MemoryBuffer adds 403772ff1ce5 [Coroutines] Enhance symmetric transfer for constant CmpInst adds bfd00ae31ea2 [lld-link] Change config and driver to unique_ptr adds bf95d5e33488 [gn build] (manually) port 85e6e748d426 (llvm/lib/Target/X86/MCA) adds 06c7bdc8f195 [lldb] Specify LLVM target requirements in TestLaunchProce [...] adds 37fc1a29cb41 [gn build] minor comment tweaks, no behavior change adds 248d55af3e44 [NFC][MLGO] Use LazyCallGraph::Node to track functions. adds 63b17eb9ec10 [RISCV] Add strictfp support for compares. adds 4a7890c67c42 [M68k][NFC] Add missing #endif comment adds 48fd67cff100 [M68k][NFC] Rename header guard of M68kSubtarget.h adds 171e4d1845a8 Update LLVM CMakeFiles to include BOLT adds 4ed8711520e5 [BOLT] README: address @apinski-cavium comment adds 876b5ea96bf5 [OpenMP][Clang] Allow passing target features in ISA trait [...] adds 65d39942dce1 [BOLT] Update README build instructions adds 96c66040125e Revert "[llvm-libtool-darwin] Print a warning if object fi [...] adds bbced7419991 [NFC] Remove invisible character in comments adds 8470bf2b0884 [AMDGPU] Do not reserve any VGPR for SGPR spills adds dc01fb1d726a [DAGCombiner][AArch64] precommit some tests for D116915 NFC adds aaa0c81683d8 [MLIR][LLVM] Add memoryeffect for alloca adds 2f8b956ab6e6 [MLIR][Math] Enable constant folding of ops adds d2c547342c6d Revert "[MLIR][Math] Enable constant folding of ops" adds 62790f366fbe [lld-macho] Try and fix map-file.s' flakiness adds 3fabda51a6d7 [JITLink] Use Section + Offset format for anon symbols in [...] adds c2ba53518f54 [ORC] Add an ostream operator for ExecutorAddrRange. adds 1f3d4525d87e [JITLink][AArch64] Use R-X permissions for the GOT. adds aad49c8eb984 [llvm-readobj][XCOFF] dump auxiliary symbols. adds fc61d07dc1e1 Add inliner interface for GPU dialect adds 99f7d55eeeec [clang][dataflow] Add transfer functions for data members [...] adds 22225cc5e665 [Coroutines] Handle lifetime markers, bitcast and unused i [...] adds c4db521cea32 [clang] Introduce support for disabling warnings in system macros adds f3e87176e1c5 [GlobalOpt] Support "stored once" optimization for differe [...] adds 47a47733f01f [GlobalStatus] Remove unused HasNonInstructionUser member (NFC) adds 5642ce5ac227 [GlobalOpt] Drop redundant setExternallyInitialized() call (NFC) adds 6c654b519835 [mlir][linalg][bufferize] Support std.select bufferization adds 42f90a28a32d [extract_symbols.py] Fix line-splitting of tool output. adds 95a436f8cca6 [X86][ABI] Pre-commit test for the f80 ABI alignment change. NFC adds 7e68061305a9 [IRBuilder] Migrate add-folding to value-based FoldAdd. adds 38e745b00623 [flang] Make the `flang` wrapper script check the Bash version adds 253ce92844f7 [JITLink][AArch64] Add support for splitting eh-frames on [...] adds 351edf1c477f [ARM] Remove FeaturePerfMon from armv7-m adds fe958b140ab3 [libc++] Quick fix to remove a narrowing conversion from t [...] adds 1bb0caf56168 [X86][MS] Change the alignment of f80 to 16 bytes on Windo [...] adds dfd9879d6f43 [Clang] Make Clang copy its CMake modules into the build dir adds 57e714bcc813 [mlir][linalg][bufferize] Add pass options for `createDeallocs` adds 612f5ed88231 [clang][CodeComplete] Perform approximate member search in bases adds 091e760cd398 [lldb] Don't print "Command Options Usage:" for an alias w [...] adds 776d0ed632d9 [flang] Fix overallocation by fir-to-llvm-ir pass adds eadb4cfeeff5 Revert (2) "[AST] Add RParen loc for decltype AutoTypeloc." adds 39385d4cd1c6 [CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf metho [...] adds e3275cfa947b [BuildLibCalls] Add nounwind,willreturn to memset_pattern{ [...] adds 35cca45b09b8 Misleading bidirectional detection adds 9b43237128da [X86][LLD] Update datelayout in LLD tests. NFCI adds de05128eae69 [gn build] Port 35cca45b09b8 adds bf5f2354fa6e [NFC] [Coroutines] Add regression tests for symmetric tran [...] adds edb9175de63e [RISCV][llvm] Update CSRs adds 3fd9c90bdc04 [lldb][AArch64] Correct top nibble setting in memory tag r [...] adds 138fcc5f7619 [IRBuilder] Migrate icmp-folding to value-based FoldICmp. adds 13362abf3d66 [X86][XOP] Add tests for missing demanded elts handling fo [...] adds c2426fdcae62 [X86][XOP] Add SimplifyDemandedVectorElts handling for xop shifts adds 33efbc81842c [VP] llvm.vp.merge intrinsic and LangRef adds b5493ff571a9 [NFC] Run script to autogenerate CHECK lines for CodeGen/A [...] adds 23e8a4d16018 [UBSan] Relax test expectations in Misc/objc-cast.m test adds 6a605b97a200 [DebugInfo] Move flag for instr-ref to LLVM option, from T [...] adds 4b85800bfd6c [OpenCL] Set external linkage for block enqueue kernels adds 552eb372cb81 [LoopVectorize] Pass a vector type to isLegalMaskedGather/Scatter adds d4a8fc3a87a1 [VPlan] Introduce and use BranchOnCount VPInstruction. adds c8c3021e9fe6 Update Pietro Albini's employer adds 732ad8ea62ed [clang][auto-init] Provide __builtin_alloca*_uninitialized [...] adds 0f853930042f [MachO] Port call graph profile section and directive adds c490f8feb71e [clangd][StdSymbolMap] Prefer std::remove from algorithm adds 9a1ce35d7e7f [lldb] [Process/FreeBSD] Set current thread ID on events adds d3b90f41041c Revert "[llvm-readobj][XCOFF] dump auxiliary symbols." adds 0c8d30a30521 [X86][AVX2] Add tests for missing demanded elts handling f [...] adds de3808c8fc0e [X86][AVX2] Add SimplifyDemandedVectorElts handling for av [...] adds 6cbebfc7fb34 [clang-format] Fix comment. NFC. adds 968be05b8fdc [clang] Fix crash for sizeof on VLAs adds dcc20143e170 [clang-tidy] UseDefaultMemberInitCheck::checkDefaultInit - [...] adds 497a4b26c487 CGBuiltin - Use castAs<> instead of getAs<> to avoid deref [...] adds 6db04b97e6a2 [lld-macho] Port CallGraphSort from COFF/ELF adds d202c76441e1 [libc++] Start using `arc4random()` to implement `std::ran [...] adds d5be48c66d3e [Inline] Attempt to delete any discardable if unused functions adds 9f38a681cf25 GlobalIsel: Precommit fma combine tests with one operand f [...] adds c8c5dc766b25 GlobalIsel: Fix fma combine when one of the operands comes [...] adds 10bc3362a1a8 Revert "[LLDB][NativePDB] Add support for inlined functions" adds 3150bce0780c [NFC][MLGO] Prep a few files before the main ML Regalloc adviser adds 8fec756c0b54 [lldb] Disable one more watchpoint test on Windows adds 1773dddadf5d [MLIR][Math] Enable constant folding of ops adds 118f966b46cf [clang][#51931] Enable `-Wdeclaration-after-statement` for [...] adds 2d97f0f2efde [BOLT][TEST] Move exceptions-instrumentation.test to X86 adds f51b25a4b97a [AIX] demangle xcoff label symbol for llvm-nm adds b2d2e93138eb [NFC][MLGO] The regalloc reward is float, not int64_t adds 632c263eb302 [RISCV] Add RISCVProcFamilyEnum and add SiFive7. adds 3a32d2e74e5c [Clang][Sema] Use VersionMap from SDKSettings for remappin [...] adds fe827a93f69d [ModuleInliner] Properly delete dead functions adds c025fd8b0b79 [mlir] Update BUILD rule for MathDialect. adds a70fe03961dd [libc++] [ranges] SFINAE away ranges::cbegin(const T&&) fo [...] adds 6e77ad11ffab Add an assert in cpudispatch emit to try to track down an error. adds db08df0570b6 [ELF] Support discarding .relr.dyn adds 5014d6fc53d8 [ELF] -Map --why-extract=: print despite errors adds 8a16201a0b50 GlobalISel: Fix insert point in localizer adds bd2c01e9370e AMDGPU/GlobalISel: Do not use terminator copy before water [...] adds 22e6722632f5 AMDGPU/GlobalISel: Regenerate mir test checks adds f8476fd47b53 [llvm-ar][test] Test that --plugin is ignored adds 24e7371fef0d [llvm-ar] Enforce one-dash form for long options adds 33d008b169f3 [RISCV] Update recently ratified Zb{a,b,c,s} extensions to [...] adds 66b2ed477f90 Revert "[JITLink][AArch64] Add support for splitting eh-fr [...] adds d8b7ae947db0 [ELF][test] Temporarily remove .relr.dyn test which is not [...] adds c87e917fb23d [InstCombine] add tests for binop with phi operands; NFC adds b0a309dd7a59 [mlir][vector] Add folding for extract + extract/insert_strided adds f6fab68c3062 Fold arith.cmpf when at least one operand is known to be NaN. adds bf9c8636f2cd [ELF] Support discarding .relr.dyn adds be1aeb818cd9 Remove NaN constant from arith.minf, arith.maxf expansion adds 56f62fbf73a2 [mlir] Finish removing Identifier from the C++ API adds 6bd127b07916 [InstSimplify] use knownbits to fold more udiv/urem adds 15a78f9d09e2 [RISCV] Remove stale references to experimental-b. NFC adds ac5d32b1039b Add an example of integration test invoking MLIR source wi [...] adds 44bdcb889a14 Apply clang-tidy fixes for bugprone-macro-parentheses in I [...] adds 44bb5cd80d08 [mlir] Fix a warning adds 453a056df616 Add split-file to the MLIR test dependencies (Fix bot) adds 1f53dd1f2387 [CODE OWNERS] Add wallace as code owner adds b592cbf329ea [ELF][test] Improve discard-gnu-hash.s to check DT_HASH an [...] adds 43d927984c26 [ELF] Refactor how .gnu.hash and .hash are discarded adds fff59f48173d [clang-tidy] Improve modernize-redundant-void-arg to recog [...] adds 9dc4dea11064 Add llc to the list of build dependencies to test MLIR (Fi [...] adds a5249c2dd2bb [ELF] Change gnuHashTab/hashTab to unique_ptr. NFC adds 57092f87b233 Revert "[libc++] Temporarily disable the in_out_result tes [...] adds d1021978b8e7 Omit "clang" from CHECK lines. adds 963f40051a42 [clang][dataflow] Add transfer functions for initializers adds 7e29da875ca9 Add support for return values in bugprone-stringview-nullptr adds 669bfcf03652 [Demangle] Add minimal support for D simple basic types adds bec08795db0d [Demangle] Add support for D symbols back referencing adds b21ea1c2701d [Demangle] Add support for D types back referencing adds 6983968e833b [Demangle] Pass Ret parameter from decodeNumber by reference adds 81c330e23dd4 Filter string_view from the nullptr diagnosis of bugprone- [...] adds d4d016869d6c [mlir] Remove populateFuncOpTypeConversionPattern adds 2db4cf5962de clang support for Armv8.8/9.3 HBC adds aa1c533a4e44 [mlir][tosa] Expand tosa.apply_scale lowering for vectors adds a60e83fe7ceb [mlir][Interfaces] Add a extraSharedClassDeclaration field adds 676bfb2a226e [mlir] Refactor ShapedType into an interface adds 310e9636caeb [tosa][mlir] Support dynamic batch dimension for ops where [...] adds ba6a3972d74c [libc] add working ARM entrypoints adds e42eeb88d7b2 [NFC][libcxxabi] Rename GlobalLock to GlobalMutex adds 3601ee6cfd7f [libcxxabi] Make InitByteGlobalMutex check GetThreadID ins [...] adds 847ea7621989 [libcxxabi] Pulled guard byte code out of GuardObject adds 29be7c9c4f5d [libcxxabi] Re-organized inheritance structure to remove C [...] adds f011a53c148a [libcxxabi] Added convenience classes to cxa_guard adds 04e8c8f9973b [libc] fix strtold_test formatting on ARM adds 0998637e6fba [mlir] Add a parsePassPipeline overload that returns a new [...] adds b9499e14d24f [AArch64][GlobalISel] Re-generate checks for a test. adds 4163f61f29f4 [libc++] [ranges] Fix a missing auto(x) cast in ranges::data. adds 9be193bc58b3 [libc++] [ranges] Finish ADL-proofing ranges::data. adds 07ddfa95e3b5 GlobalISel: Add G_ASSERT_ALIGN hint instruction adds 3d2d208f6a0a IR: Make getRetAlign check callee function attributes adds ab593baa2dc1 AMDGPU: Add base test for future optimization patch adds 4515c24bbc32 AMDGPU/GlobalISel: Fix assertions on legalize queries with [...] adds 5f39a02ea950 RegScavenger: Remove used regs from scavenge candidates adds 5a16306c0944 GlobalISel: Always enable GISelKnownBits for InstructionSelect adds b9bc3c107c6c [libc++][ranges] Implement `construct_at` and `destroy{,_at}`. adds 0e811d3b66ff [flang] Fix handling of space between # and name in prepro [...] adds 4ff4e7ea3033 [CostModel] Use cost of target trunc type when only it is [...] adds 32d5634b1a2d [gn build] Port b9bc3c107c6c adds 1e36bd8516f2 [compiler-rt][darwin] check for strcmp to test interceptor [...] adds d043822daab9 [AMDGPU] Fixed physreg asm constraint parsing adds 1adeebc2cf3e AMDGPU: Fix assert on function argument as loop condition adds db57065b368a [Attributor] Use getAllocAlignment where possible [NFC] adds 8e76720cf2c0 [Attributor] Reuse object size evaluation code [NFC] adds d1f4c6a6112a [Attributor] Generalize calloc handling in heap-to-stack f [...] adds 71af8068ac12 [JITLink] Fix assert condition broken in 118e953b18ff0. adds a141e4713850 [NFC] Minimize noundef analysis when disabled adds d9b2983ea10e [bolt] Fix relative links in README adds aea27c310039 [flang] RESHAPE(PAD=) can be arbitrary array rank adds 997929970581 [Attributor] Simplify how we handle required alignment dur [...] adds 16877c5d2cd3 [RISCV] Add bfp and bfpw intrinsic in zbf extension adds 68c393c9dbe4 [BOLT] Update repo location in Dockerfile adds 55fcbf0a8489 Revert "[Inline] Attempt to delete any discardable if unus [...] adds 483f7f553652 [libc++] [ranges] Implement ranges::cdata. adds e00ac48df3a6 [ELF] Use tombstone values for discarded symbols in reloca [...] adds cd772844d8c6 [CSKY] Ensure a newline at the end of a file (NFC) adds 728c77dbb352 [Sema] Fix a bugprone argument comment (NFC) adds cb7f806a3a74 [clang] Remove redundant member initialization (NFC) adds d8716cd7d31c [CodeCompletion] (mostly) fix completion in incomplete C++ [...] adds 9c9119ab364b [clangd] Extend SymbolOrigin, stop serializing it adds cc1b9acf550d [NVPTX] Lower fp16 fminnum, fmaxnum to native on sm_80. adds bb13036483d2 [M68k][NFC] Use Register instead of unsigned int adds 7ee4236789bb [clang-format] clang-format eats space in front of attribu [...] adds 0ef5aa69e77f [JITLink] Add fixup value range check adds 159898d56827 [mlir] Add missing const to cloneWith method. adds ea9394c43c98 [NFC][AArch64][CodeGen] Add fixed-width vector tests for g [...] adds 6b22c370c823 RuntimeDyldELF: Don't abort on R_AARCH64_NONE relocation adds 54eb70886cda [clangd] Remove --inlay-hints flag adds ef1ca4d3e965 [AArch64] Fix incorrect use of MVT::getVectorNumElements i [...] adds ec0a880d5463 libclc: Add clspv64 target adds 7ce48be0fd83 [LV] Inline CreateSplatIV call for scalar VFs (NFC). adds 31009f0b5afb [CodeGen][AArch64] Ensure isSExtCheaperThanZExt returns tr [...]
No new revisions were added by this update.
Summary of changes: bolt/README.md | 17 +- .../runtime/{ => X86}/Inputs/exceptions_split.cpp | 0 .../{ => X86}/exceptions-instrumentation.test | 0 bolt/utils/docker/Dockerfile | 2 +- .../clang-tidy/bugprone/StringConstructorCheck.cpp | 33 +- .../clang-tidy/bugprone/StringConstructorCheck.h | 1 + .../clang-tidy/bugprone/StringviewNullptrCheck.cpp | 295 +- clang-tools-extra/clang-tidy/misc/CMakeLists.txt | 1 + .../clang-tidy/misc/MiscTidyModule.cpp | 3 + .../clang-tidy/misc/MisleadingBidirectional.cpp | 139 + .../clang-tidy/misc/MisleadingBidirectional.h | 38 + .../clang-tidy/modernize/RedundantVoidArgCheck.cpp | 164 +- .../modernize/UseDefaultMemberInitCheck.cpp | 2 +- .../modernize/UseTrailingReturnTypeCheck.cpp | 13 +- clang-tools-extra/clangd/ClangdLSPServer.cpp | 5 +- clang-tools-extra/clangd/ClangdLSPServer.h | 3 - clang-tools-extra/clangd/Diagnostics.cpp | 2 +- clang-tools-extra/clangd/StdSymbolMap.inc | 1 - .../clangd/include-mapping/cppreference_parser.py | 20 +- .../clangd/index/BackgroundIndexStorage.cpp | 3 +- clang-tools-extra/clangd/index/FileIndex.cpp | 5 +- clang-tools-extra/clangd/index/Serialization.cpp | 26 +- clang-tools-extra/clangd/index/Serialization.h | 10 +- clang-tools-extra/clangd/index/SymbolOrigin.cpp | 4 +- clang-tools-extra/clangd/index/SymbolOrigin.h | 18 +- .../clangd/index/YAMLSerialization.cpp | 42 +- clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp | 5 +- clang-tools-extra/clangd/index/remote/Index.proto | 2 +- .../index/remote/marshalling/Marshalling.cpp | 1 - .../clangd/index/remote/server/Server.cpp | 3 +- .../clangd/refactor/tweaks/ExpandAutoType.cpp | 4 +- .../test/index-serialization/Inputs/sample.idx | Bin 476 -> 476 bytes clang-tools-extra/clangd/tool/ClangdMain.cpp | 14 +- .../clangd/unittests/BackgroundIndexTests.cpp | 3 +- .../clangd/unittests/CodeCompleteTests.cpp | 59 +- clang-tools-extra/clangd/unittests/IndexTests.cpp | 6 +- .../clangd/unittests/SelectionTests.cpp | 2 - .../clangd/unittests/SerializationTests.cpp | 7 +- .../unittests/tweaks/ExpandAutoTypeTests.cpp | 3 +- clang-tools-extra/docs/ReleaseNotes.rst | 4 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 3 +- .../checks/misc-misleading-bidirectional.rst | 21 + .../checkers/bugprone-stringview-nullptr.cpp | 1242 ++++-- .../checkers/misc-misleading-bidirectional.cpp | Bin 0 -> 1479 bytes .../checkers/modernize-redundant-void-arg.cpp | 38 +- clang/cmake/modules/CMakeLists.txt | 8 + clang/include/clang/AST/ASTConcept.h | 3 +- clang/include/clang/AST/TypeLoc.h | 24 +- clang/include/clang/AST/UnresolvedSet.h | 2 +- .../clang/ASTMatchers/Dynamic/Diagnostics.h | 2 +- .../FlowSensitive/DataflowAnalysisContext.h | 18 +- .../Analysis/FlowSensitive/DataflowEnvironment.h | 26 +- clang/include/clang/Basic/Builtins.def | 2 + clang/include/clang/Basic/BuiltinsRISCV.def | 14 +- clang/include/clang/Basic/DarwinSDKInfo.h | 14 + clang/include/clang/Basic/Diagnostic.td | 10 +- clang/include/clang/Basic/DiagnosticAST.h | 2 +- clang/include/clang/Basic/DiagnosticAnalysis.h | 2 +- clang/include/clang/Basic/DiagnosticComment.h | 2 +- clang/include/clang/Basic/DiagnosticCrossTU.h | 2 +- clang/include/clang/Basic/DiagnosticDriver.h | 2 +- clang/include/clang/Basic/DiagnosticFrontend.h | 2 +- clang/include/clang/Basic/DiagnosticGroups.td | 1 + clang/include/clang/Basic/DiagnosticIDs.h | 2 +- clang/include/clang/Basic/DiagnosticLex.h | 2 +- clang/include/clang/Basic/DiagnosticParse.h | 2 +- clang/include/clang/Basic/DiagnosticParseKinds.td | 2 +- clang/include/clang/Basic/DiagnosticRefactoring.h | 2 +- clang/include/clang/Basic/DiagnosticSema.h | 2 +- clang/include/clang/Basic/DiagnosticSemaKinds.td | 20 +- .../include/clang/Basic/DiagnosticSerialization.h | 2 +- clang/include/clang/Parse/Parser.h | 3 +- clang/include/clang/Sema/ParsedAttr.h | 2 +- clang/include/clang/Sema/ParsedTemplate.h | 3 +- clang/include/clang/Sema/Sema.h | 6 + clang/lib/AST/MicrosoftCXXABI.cpp | 4 +- clang/lib/AST/TypeLoc.cpp | 1 - clang/lib/ASTMatchers/Dynamic/Marshallers.h | 5 +- .../Analysis/FlowSensitive/ControlFlowContext.cpp | 1 + .../Analysis/FlowSensitive/DataflowEnvironment.cpp | 37 + clang/lib/Analysis/FlowSensitive/Transfer.cpp | 60 +- .../FlowSensitive/TypeErasedDataflowAnalysis.cpp | 82 +- clang/lib/Basic/DiagnosticIDs.cpp | 17 +- clang/lib/Basic/Targets/AArch64.cpp | 3 + clang/lib/Basic/Targets/AArch64.h | 1 + clang/lib/Basic/Targets/X86.h | 11 +- clang/lib/CodeGen/CGBuiltin.cpp | 18 +- clang/lib/CodeGen/CGCall.cpp | 5 +- clang/lib/CodeGen/CodeGenFunction.cpp | 28 +- clang/lib/CodeGen/CodeGenModule.cpp | 5 +- clang/lib/CodeGen/TargetInfo.cpp | 2 +- clang/lib/Format/DefinitionBlockSeparator.cpp | 2 +- clang/lib/Format/TokenAnnotator.cpp | 7 + clang/lib/Parse/ParseCXXInlineMethods.cpp | 18 +- clang/lib/Parse/ParseDecl.cpp | 1 - clang/lib/Parse/ParseOpenMP.cpp | 10 +- clang/lib/Sema/Sema.cpp | 14 +- clang/lib/Sema/SemaChecking.cpp | 2 + clang/lib/Sema/SemaCodeComplete.cpp | 14 +- clang/lib/Sema/SemaCoroutine.cpp | 14 +- clang/lib/Sema/SemaDecl.cpp | 2 - clang/lib/Sema/SemaDeclAttr.cpp | 50 +- clang/lib/Sema/SemaExpr.cpp | 17 +- clang/lib/Sema/SemaExprCXX.cpp | 2 +- clang/lib/Sema/SemaLookup.cpp | 43 +- clang/lib/Sema/SemaStmt.cpp | 10 +- clang/lib/Sema/SemaTemplateDeduction.cpp | 2 +- clang/lib/Sema/SemaType.cpp | 3 - clang/lib/Serialization/ASTReader.cpp | 2 - clang/lib/Serialization/ASTWriter.cpp | 3 - clang/test/AST/ast-dump-template-decls-json.cpp | 6 +- clang/test/AST/ast-dump-template-decls.cpp | 2 +- clang/test/CodeCompletion/ctor-initializer.cpp | 20 + clang/test/CodeCompletion/member-access.cpp | 15 + .../RISCV/rvb-intrinsics/riscv32-zbb-error.c | 2 +- .../CodeGen/RISCV/rvb-intrinsics/riscv32-zbb.c | 2 +- .../CodeGen/RISCV/rvb-intrinsics/riscv32-zbc.c | 2 +- .../CodeGen/RISCV/rvb-intrinsics/riscv32-zbf.c | 18 + .../CodeGen/RISCV/rvb-intrinsics/riscv64-zbb.c | 2 +- .../CodeGen/RISCV/rvb-intrinsics/riscv64-zbc.c | 2 +- .../CodeGen/RISCV/rvb-intrinsics/riscv64-zbf.c | 33 + clang/test/CodeGen/catch-undef-behavior.c | 11 + clang/test/CodeGen/target-data.c | 2 +- clang/test/CodeGenCXX/trivial-auto-var-init.cpp | 28 + clang/test/CodeGenCoroutines/Inputs/coroutine.h | 55 +- clang/test/CodeGenCoroutines/coro-elide.cpp | 63 + .../coro-symmetric-transfer-03.cpp | 68 + .../test/CodeGenOpenCL/cl20-device-side-enqueue.cl | 30 +- clang/test/Driver/aarch64-hbc.c | 6 + clang/test/Driver/riscv-arch.c | 21 +- clang/test/Driver/spirv-toolchain.cl | 4 +- .../OpenMP/metadirective_device_isa_codegen.cpp | 32 + .../metadirective_device_isa_codegen_amdgcn.cpp | 53 + clang/test/OpenMP/metadirective_messages.cpp | 2 + clang/test/Preprocessor/riscv-target-features.c | 40 +- .../Sema/Inputs/AppleTVOS15.0.sdk/SDKSettings.json | 67 + .../Sema/Inputs/WatchOS7.0.sdk/SDKSettings.json | 57 + clang/test/Sema/attr-availability-tvos.c | 87 +- clang/test/Sema/attr-availability-watchos.c | 19 +- clang/test/Sema/warn-alloca.c | 14 + clang/test/Sema/warn-mixed-decls.c | 28 + clang/test/SemaCXX/pr31042.cpp | 10 + clang/test/SemaCXX/typo-correction.cpp | 31 + clang/test/SemaCXX/warn-sysheader-macro.cpp | 14 +- clang/test/TableGen/DiagnosticBase.inc | 9 + clang/test/TableGen/deferred-diag.td | 12 +- clang/tools/diagtool/DiagnosticNames.cpp | 6 +- clang/unittests/AST/SourceLocationTest.cpp | 7 - .../Analysis/FlowSensitive/TestingSupport.h | 2 +- .../Analysis/FlowSensitive/TransferTest.cpp | 774 +++- clang/unittests/Format/FormatTest.cpp | 5 + clang/utils/TableGen/ClangDiagnosticsEmitter.cpp | 5 + clang/utils/TableGen/MveEmitter.cpp | 3 +- .../sanitizer_common/sanitizer_linux_libcdep.cpp | 2 + compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp | 14 +- .../lib/tsan/tests/unit/tsan_trace_test.cpp | 8 +- compiler-rt/test/tsan/Darwin/mach_vm_allocate.c | 3 + compiler-rt/test/ubsan/TestCases/Misc/objc-cast.m | 2 +- .../llvm-prettyprinters/gdb/mlir-support.cpp | 3 +- flang/lib/Evaluate/intrinsics.cpp | 2 - flang/lib/Lower/FIRBuilder.cpp | 6 +- flang/lib/Optimizer/Builder/FIRBuilder.cpp | 6 +- flang/lib/Optimizer/CodeGen/CodeGen.cpp | 19 +- flang/lib/Parser/preprocessor.cpp | 3 +- flang/test/Fir/convert-to-llvm.fir | 54 +- flang/test/Preprocessing/pp045.F | 9 + flang/test/Preprocessing/pp131.F90 | 9 + flang/tools/f18/flang | 25 + .../unittests/Optimizer/Builder/FIRBuilderTest.cpp | 4 +- libc/config/linux/aarch64/entrypoints.txt | 13 +- libc/test/src/stdlib/strtold_test.cpp | 8 +- libclc/CMakeLists.txt | 13 +- libclc/clspv64 | 1 + libcxx/docs/ReleaseNotes.rst | 5 + libcxx/docs/Status/RangesAlgorithms.csv | 8 +- libcxx/docs/Status/RangesPaper.csv | 14 +- libcxx/docs/Status/Zip.rst | 29 + libcxx/docs/Status/ZipProjects.csv | 27 + libcxx/docs/index.rst | 1 + libcxx/include/CMakeLists.txt | 1 + libcxx/include/__config | 9 +- libcxx/include/__debug | 11 + libcxx/include/__memory/construct_at.h | 12 +- libcxx/include/__memory/ranges_construct_at.h | 144 + libcxx/include/__random/random_device.h | 19 + libcxx/include/__ranges/access.h | 18 +- libcxx/include/__ranges/data.h | 51 +- libcxx/include/list | 60 +- libcxx/include/memory | 26 + libcxx/include/module.modulemap | 4 + libcxx/include/string | 135 +- libcxx/include/unordered_map | 116 +- libcxx/include/unordered_set | 116 +- libcxx/include/vector | 66 +- libcxx/src/random.cpp | 4 +- .../memory/ranges_construct_at.module.verify.cpp | 16 +- .../algorithms.results/in_out_result.pass.cpp | 5 +- .../iter_swap.pass.cpp} | 2 +- .../cpo.compile.pass.cpp | 2 +- .../std/numerics/rand/rand.device/ctor.pass.cpp | 22 +- .../std/numerics/rand/rand.device/eval.pass.cpp | 3 - libcxx/test/std/ranges/range.access/begin.pass.cpp | 4 +- libcxx/test/std/ranges/range.access/data.pass.cpp | 123 +- libcxx/test/std/ranges/range.access/empty.pass.cpp | 1 + libcxx/test/std/ranges/range.access/end.pass.cpp | 13 +- libcxx/test/std/ranges/range.access/size.pass.cpp | 1 + libcxx/test/std/ranges/range.access/ssize.pass.cpp | 1 + .../contiguous_range.compile.pass.cpp | 6 +- .../specialized.construct/construct_at.pass.cpp | 28 +- .../ranges_construct_at.pass.cpp | 139 + .../specialized.destroy/destroy.pass.cpp | 2 +- .../specialized.destroy/destroy_at.pass.cpp | 5 +- .../specialized.destroy/destroy_n.pass.cpp | 2 +- .../specialized.destroy/ranges_destroy.pass.cpp | 222 + .../specialized.destroy/ranges_destroy_at.pass.cpp | 160 + .../specialized.destroy/ranges_destroy_n.pass.cpp | 144 + libcxxabi/src/cxa_guard_impl.h | 320 +- libcxxabi/test/guard_test_basic.pass.cpp | 36 +- libcxxabi/test/guard_threaded_test.pass.cpp | 2 +- lld/COFF/Config.h | 2 +- lld/COFF/Driver.cpp | 8 +- lld/COFF/Driver.h | 3 +- lld/ELF/InputSection.cpp | 87 +- lld/ELF/LinkerScript.cpp | 10 +- lld/ELF/SyntheticSections.cpp | 7 +- lld/ELF/SyntheticSections.h | 4 +- lld/ELF/Writer.cpp | 16 +- lld/MachO/CMakeLists.txt | 1 + lld/MachO/CallGraphSort.cpp | 252 ++ lld/MachO/CallGraphSort.h | 22 + lld/MachO/Config.h | 8 + lld/MachO/Driver.cpp | 28 +- lld/MachO/InputFiles.cpp | 23 +- lld/MachO/InputFiles.h | 11 + lld/MachO/InputSection.h | 4 + lld/MachO/Options.td | 9 + lld/MachO/SymbolTable.cpp | 10 +- lld/MachO/SymbolTable.h | 4 +- lld/MachO/Symbols.cpp | 2 +- lld/MachO/Symbols.h | 12 +- lld/MachO/UnwindInfoSection.cpp | 2 +- lld/MachO/Writer.cpp | 11 +- lld/test/COFF/libcall-archive.ll | 2 +- lld/test/COFF/lto-lazy-reference.ll | 2 +- lld/test/COFF/lto-reloc-model.ll | 2 +- lld/test/ELF/debug-dead-reloc-relocatable.s | 36 + lld/test/ELF/linkerscript/discard-gnu-hash.s | 27 +- lld/test/ELF/linkerscript/discard-section-err.s | 5 +- lld/test/ELF/linkerscript/plugin.test | 9 + lld/test/ELF/map-file.s | 10 + lld/test/ELF/why-extract.s | 8 + lld/test/MachO/cgprofile-icf.s | 46 + lld/test/MachO/cgprofile-obj.s | 42 + lld/test/MachO/cgprofile-print.s | 34 + lld/test/MachO/map-file.s | 5 +- lldb/CODE_OWNERS.txt | 9 +- lldb/source/Interpreter/Options.cpp | 15 +- .../Process/FreeBSD/NativeProcessFreeBSD.cpp | 12 +- .../commands/platform/basic/TestPlatformCommand.py | 8 +- .../TestWatchpointMultipleThreads.py | 1 + .../TestAArch64LinuxMTEMemoryTagAccess.py | 9 +- lldb/test/API/linux/aarch64/mte_tag_access/main.c | 16 +- .../posix_spawn/TestLaunchProcessPosixSpawn.py | 4 + llvm/CMakeLists.txt | 2 +- llvm/docs/CommandGuide/llvm-mca.rst | 24 +- llvm/docs/LangRef.rst | 61 + llvm/docs/Security.rst | 2 +- llvm/include/llvm/ADT/SmallString.h | 12 +- llvm/include/llvm/Analysis/InlineAdvisor.h | 21 +- llvm/include/llvm/Analysis/InstSimplifyFolder.h | 23 +- llvm/include/llvm/Analysis/MLInlineAdvisor.h | 12 +- llvm/include/llvm/Analysis/TargetFolder.h | 25 +- llvm/include/llvm/Analysis/TargetTransformInfo.h | 18 + .../llvm/Analysis/TargetTransformInfoImpl.h | 24 +- llvm/include/llvm/Analysis/Utils/TFUtils.h | 6 + llvm/include/llvm/BinaryFormat/Dwarf.h | 3 + llvm/include/llvm/CodeGen/AsmPrinter.h | 4 + llvm/include/llvm/CodeGen/DIE.h | 42 +- .../llvm/CodeGen/GlobalISel/MachineIRBuilder.h | 25 +- llvm/include/llvm/CodeGen/TargetLowering.h | 6 +- .../ExecutionEngine/JITLink/JITLinkMemoryManager.h | 3 +- .../ExecutionEngine/Orc/Shared/ExecutorAddress.h | 4 + llvm/include/llvm/IR/ConstantFolder.h | 27 +- llvm/include/llvm/IR/IRBuilder.h | 10 +- llvm/include/llvm/IR/IRBuilderFolder.h | 9 +- llvm/include/llvm/IR/InstrTypes.h | 8 +- llvm/include/llvm/IR/Intrinsics.td | 6 + llvm/include/llvm/IR/IntrinsicsRISCV.td | 3 + llvm/include/llvm/IR/NoFolder.h | 23 +- llvm/include/llvm/IR/VPIntrinsics.def | 4 + llvm/include/llvm/MCA/CustomBehaviour.h | 4 + llvm/include/llvm/MCA/Instruction.h | 11 +- llvm/include/llvm/Support/AArch64TargetParser.def | 81 +- llvm/include/llvm/Support/AArch64TargetParser.h | 1 + llvm/include/llvm/Support/FileSystem.h | 19 + llvm/include/llvm/Support/TargetOpcodes.def | 3 +- llvm/include/llvm/Target/GenericOpcodes.td | 7 + .../Transforms/Instrumentation/MemorySanitizer.h | 8 +- llvm/include/llvm/Transforms/Utils/GlobalStatus.h | 4 - llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp | 2 - llvm/lib/Analysis/InlineAdvisor.cpp | 15 - llvm/lib/Analysis/InstructionSimplify.cpp | 10 + llvm/lib/Analysis/MLInlineAdvisor.cpp | 19 +- llvm/lib/Analysis/TFUtils.cpp | 48 +- llvm/lib/Analysis/TargetTransformInfo.cpp | 10 + llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 6 + llvm/lib/CodeGen/AsmPrinter/DIE.cpp | 128 +- llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp | 4 +- llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | 3 +- llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 6 +- llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 +- llvm/lib/CodeGen/CommandFlags.cpp | 18 - llvm/lib/CodeGen/GlobalISel/CallLowering.cpp | 27 +- llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | 172 +- llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp | 17 + llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp | 8 +- llvm/lib/CodeGen/GlobalISel/Localizer.cpp | 10 +- llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp | 12 - llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp | 3 +- .../CodeGen/LiveDebugValues/LiveDebugValues.cpp | 14 + llvm/lib/CodeGen/LiveDebugValues/LiveDebugValues.h | 4 + llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp | 10 +- llvm/lib/CodeGen/MachineFunction.cpp | 4 +- llvm/lib/CodeGen/RegAllocEvictionAdvisor.h | 3 +- llvm/lib/CodeGen/RegisterScavenging.cpp | 22 + llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 13 +- .../CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h | 2 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 +- llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 1 + llvm/lib/Demangle/DLangDemangle.cpp | 238 +- llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp | 34 +- llvm/lib/ExecutionEngine/JITLink/JITLink.cpp | 11 +- llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp | 2 +- .../ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 2 + llvm/lib/IR/AutoUpgrade.cpp | 19 +- llvm/lib/IR/IntrinsicInst.cpp | 1 + llvm/lib/MC/MCMachOStreamer.cpp | 42 +- llvm/lib/MC/MCParser/DarwinAsmParser.cpp | 8 + llvm/lib/MC/MachObjectWriter.cpp | 17 + llvm/lib/MCA/HardwareUnits/LSUnit.cpp | 13 +- llvm/lib/Passes/PassBuilder.cpp | 2 + llvm/lib/Passes/PassRegistry.def | 2 +- llvm/lib/Support/AArch64TargetParser.cpp | 2 + llvm/lib/Support/MemoryBuffer.cpp | 20 +- llvm/lib/Support/Path.cpp | 20 + llvm/lib/Support/RISCVISAInfo.cpp | 9 +- llvm/lib/Support/Unix/Path.inc | 12 +- llvm/lib/Support/Windows/Path.inc | 36 +- llvm/lib/Support/Windows/Process.inc | 8 +- llvm/lib/Support/Windows/Program.inc | 8 +- llvm/lib/Target/AArch64/AArch64ISelLowering.h | 8 + .../Target/AArch64/AArch64TargetTransformInfo.cpp | 9 +- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 10 +- llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 11 +- .../Target/AMDGPU/AMDGPUTargetTransformInfo.cpp | 11 +- llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp | 6 + llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | 10 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 80 +- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 98 +- llvm/lib/Target/AMDGPU/SIInstrInfo.h | 7 +- llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp | 53 - llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | 47 +- llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h | 3 - llvm/lib/Target/AMDGPU/SOPInstructions.td | 5 +- llvm/lib/Target/ARM/ARM.td | 17 +- llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 12 - llvm/lib/Target/ARM/ARMTargetTransformInfo.h | 12 + llvm/lib/Target/CSKY/CSKYConstantPoolValue.cpp | 2 +- llvm/lib/Target/M68k/GISel/M68kRegisterBankInfo.h | 2 +- llvm/lib/Target/M68k/M68k.h | 2 +- llvm/lib/Target/M68k/M68kAsmPrinter.h | 2 +- llvm/lib/Target/M68k/M68kCallingConv.h | 2 +- llvm/lib/Target/M68k/M68kFrameLowering.cpp | 16 +- llvm/lib/Target/M68k/M68kFrameLowering.h | 2 +- llvm/lib/Target/M68k/M68kISelLowering.cpp | 16 +- llvm/lib/Target/M68k/M68kInstrInfo.cpp | 12 +- llvm/lib/Target/M68k/M68kInstrInfo.h | 2 +- llvm/lib/Target/M68k/M68kMCInstLower.h | 2 +- llvm/lib/Target/M68k/M68kRegisterInfo.h | 2 +- llvm/lib/Target/M68k/M68kSubtarget.h | 6 +- llvm/lib/Target/M68k/M68kTargetMachine.h | 2 +- llvm/lib/Target/M68k/M68kTargetObjectFile.h | 2 +- llvm/lib/Target/M68k/MCTargetDesc/M68kBaseInfo.h | 2 +- llvm/lib/Target/M68k/MCTargetDesc/M68kFixupKinds.h | 2 +- .../lib/Target/M68k/MCTargetDesc/M68kInstPrinter.h | 2 +- llvm/lib/Target/M68k/MCTargetDesc/M68kMCAsmInfo.h | 2 +- .../Target/M68k/MCTargetDesc/M68kMCCodeEmitter.h | 2 +- .../Target/M68k/MCTargetDesc/M68kMCTargetDesc.h | 2 +- llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp | 12 +- llvm/lib/Target/NVPTX/NVPTXInstrInfo.td | 26 + llvm/lib/Target/RISCV/RISCV.td | 26 +- llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 73 +- llvm/lib/Target/RISCV/RISCVISelLowering.h | 9 +- llvm/lib/Target/RISCV/RISCVInstrFormats.td | 7 + llvm/lib/Target/RISCV/RISCVInstrInfo.td | 4 + llvm/lib/Target/RISCV/RISCVInstrInfoD.td | 39 +- llvm/lib/Target/RISCV/RISCVInstrInfoF.td | 42 +- llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | 14 +- llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td | 39 +- llvm/lib/Target/RISCV/RISCVSubtarget.h | 17 + llvm/lib/Target/RISCV/RISCVSystemOperands.td | 230 +- llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp | 5 +- llvm/lib/Target/X86/CMakeLists.txt | 1 + llvm/lib/Target/X86/MCA/CMakeLists.txt | 14 + llvm/lib/Target/X86/MCA/X86CustomBehaviour.cpp | 64 + llvm/lib/Target/X86/MCA/X86CustomBehaviour.h | 47 + llvm/lib/Target/X86/X86ISelLowering.cpp | 18 + llvm/lib/Target/X86/X86TargetMachine.cpp | 2 +- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 54 +- llvm/lib/Target/X86/X86TargetTransformInfo.h | 4 + llvm/lib/Transforms/Coroutines/CoroSplit.cpp | 121 +- llvm/lib/Transforms/IPO/AttributorAttributes.cpp | 76 +- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 23 +- llvm/lib/Transforms/IPO/Inliner.cpp | 9 +- llvm/lib/Transforms/IPO/ModuleInliner.cpp | 9 +- .../InstCombine/InstructionCombining.cpp | 83 +- .../Transforms/Instrumentation/MemorySanitizer.cpp | 19 +- .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 149 +- .../Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp | 7 +- llvm/lib/Transforms/Utils/BuildLibCalls.cpp | 4 +- llvm/lib/Transforms/Utils/GlobalStatus.cpp | 4 - llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 114 +- llvm/lib/Transforms/Vectorize/VPlan.cpp | 65 +- llvm/lib/Transforms/Vectorize/VPlan.h | 2 + llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp | 13 + .../Analysis/CostModel/AArch64/load-to-trunc.ll | 27 + .../CostModel/AArch64/sve-insert-extract.ll | 57 + .../Analysis/CostModel/AArch64/sve-intrinsics.ll | 4 +- .../Analysis/CostModel/AMDGPU/load-to-trunc.ll | 27 + llvm/test/Analysis/CostModel/ARM/load-to-trunc.ll | 28 + .../Analysis/CostModel/PowerPC/load-to-trunc.ll | 26 + .../test/Analysis/CostModel/RISCV/load-to-trunc.ll | 27 + .../Analysis/CostModel/SystemZ/load-to-trunc.ll | 27 + llvm/test/Analysis/CostModel/X86/load-to-trunc.ll | 28 + llvm/test/Bitcode/upgrade-datalayout3.ll | 2 +- .../AArch64/GlobalISel/gisel-commandline-option.ll | 2 +- llvm/test/CodeGen/AArch64/O0-pipeline.ll | 1 + .../CodeGen/AArch64/aarch64-isel-csinc-type.ll | 71 + llvm/test/CodeGen/AArch64/aarch64-isel-csinc.ll | 71 + llvm/test/CodeGen/AArch64/active_lane_mask.ll | 277 ++ llvm/test/CodeGen/AArch64/arm64-ccmp.ll | 535 +++ llvm/test/CodeGen/AArch64/arm64-vshuffle.ll | 18 +- llvm/test/CodeGen/AArch64/arm64_32-atomics.ll | 2 +- llvm/test/CodeGen/AArch64/cmpxchg-idioms.ll | 6 +- llvm/test/CodeGen/AArch64/dag-numsignbits.ll | 11 +- llvm/test/CodeGen/AArch64/fast-isel-cmp-vec.ll | 74 +- llvm/test/CodeGen/AArch64/funnel-shift.ll | 14 +- llvm/test/CodeGen/AArch64/reduce-and.ll | 3 +- .../AArch64/redundant-copy-elim-empty-mbb.ll | 2 +- .../CodeGen/AArch64/statepoint-call-lowering.ll | 2 +- llvm/test/CodeGen/AArch64/sve-vector-splat.ll | 9 +- .../unfold-masked-merge-vector-variablemask.ll | 24 +- .../CodeGen/AArch64/vecreduce-and-legalization.ll | 3 +- .../combine-fma-add-mul-post-legalize.mir | 4206 ++++++++++--------- .../AMDGPU/GlobalISel/combine-fma-add-mul.ll | 164 + .../GlobalISel/combine-fma-unmerge-values.mir | 413 ++ .../AMDGPU/GlobalISel/crash-stack-address-O0.ll | 25 + .../GlobalISel/extractelement-stack-lower.ll | 188 +- .../AMDGPU/GlobalISel/image-waterfall-loop-O0.ll | 165 + .../inst-select-amdgpu-atomic-cmpxchg-flat.mir | 401 +- .../inst-select-amdgpu-atomic-cmpxchg-global.mir | 1102 ++--- .../inst-select-atomic-cmpxchg-local.mir | 152 +- .../inst-select-atomic-cmpxchg-region.mir | 152 +- .../GlobalISel/inst-select-atomicrmw-add-flat.mir | 776 ++-- .../inst-select-atomicrmw-add-global.mir | 1048 ++--- .../inst-select-atomicrmw-fadd-local.mir | 91 +- .../inst-select-atomicrmw-fadd-region.mir | 91 +- .../inst-select-atomicrmw-xchg-local.mir | 66 +- .../inst-select-atomicrmw-xchg-region.mir | 66 +- .../GlobalISel/inst-select-load-atomic-flat.mir | 310 +- .../GlobalISel/inst-select-load-atomic-local.mir | 229 +- .../GlobalISel/inst-select-load-constant.mir | 914 ++-- .../AMDGPU/GlobalISel/inst-select-load-flat.mir | 1744 ++++---- .../GlobalISel/inst-select-load-global-saddr.mir | 648 +-- .../AMDGPU/GlobalISel/inst-select-load-global.mir | 2528 +++++------ .../GlobalISel/inst-select-load-global.s96.mir | 115 +- .../GlobalISel/inst-select-load-local-128.mir | 136 +- .../AMDGPU/GlobalISel/inst-select-load-local.mir | 581 +-- .../AMDGPU/GlobalISel/inst-select-load-private.mir | 415 +- .../GlobalISel/inst-select-sextload-local.mir | 67 +- .../GlobalISel/inst-select-store-atomic-flat.mir | 140 +- .../GlobalISel/inst-select-store-atomic-local.mir | 250 +- .../AMDGPU/GlobalISel/inst-select-store-flat.mir | 648 +-- .../AMDGPU/GlobalISel/inst-select-store-global.mir | 916 ++-- .../GlobalISel/inst-select-store-global.s96.mir | 115 +- .../AMDGPU/GlobalISel/inst-select-store-local.mir | 471 ++- .../GlobalISel/inst-select-store-private.mir | 221 +- .../GlobalISel/inst-select-zextload-local.mir | 67 +- .../AMDGPU/GlobalISel/irtranslator-assert-align.ll | 169 + .../AMDGPU/GlobalISel/legalize-load-flat.mir | 24 + .../AMDGPU/GlobalISel/legalize-load-global.mir | 37 + .../llvm.amdgcn.raw.buffer.atomic.add.ll | 332 +- .../llvm.amdgcn.raw.buffer.atomic.cmpswap.ll | 277 +- .../llvm.amdgcn.raw.buffer.atomic.fadd.ll | 684 +-- .../llvm.amdgcn.raw.buffer.load.format.f16.ll | 466 ++- .../llvm.amdgcn.raw.buffer.load.format.ll | 241 +- .../GlobalISel/llvm.amdgcn.raw.buffer.load.ll | 1137 ++--- .../llvm.amdgcn.raw.buffer.store.format.f16.ll | 832 ++-- .../llvm.amdgcn.raw.buffer.store.format.f32.ll | 442 +- .../GlobalISel/llvm.amdgcn.raw.buffer.store.ll | 1101 ++--- .../GlobalISel/llvm.amdgcn.raw.tbuffer.load.f16.ll | 556 +-- .../GlobalISel/llvm.amdgcn.raw.tbuffer.load.ll | 296 +- .../llvm.amdgcn.raw.tbuffer.store.f16.ll | 820 ++-- .../GlobalISel/llvm.amdgcn.raw.tbuffer.store.i8.ll | 518 +-- .../GlobalISel/llvm.amdgcn.raw.tbuffer.store.ll | 890 ++-- .../AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll | 144 +- .../llvm.amdgcn.struct.buffer.atomic.add.ll | 339 +- .../llvm.amdgcn.struct.buffer.atomic.cmpswap.ll | 301 +- .../llvm.amdgcn.struct.buffer.atomic.fadd.ll | 748 ++-- .../llvm.amdgcn.struct.buffer.load.format.f16.ll | 564 +-- .../llvm.amdgcn.struct.buffer.load.format.ll | 296 +- .../GlobalISel/llvm.amdgcn.struct.buffer.load.ll | 535 +-- .../llvm.amdgcn.struct.buffer.store.format.f16.ll | 422 +- .../llvm.amdgcn.struct.buffer.store.format.f32.ll | 243 +- .../GlobalISel/llvm.amdgcn.struct.buffer.store.ll | 363 +- .../llvm.amdgcn.struct.tbuffer.load.f16.ll | 568 +-- .../GlobalISel/llvm.amdgcn.struct.tbuffer.load.ll | 296 +- .../GlobalISel/localizer-wrong-insert-point.mir | 32 + llvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll | 36 + .../regbankselect-amdgcn-s-buffer-load.mir | 148 +- .../regbankselect-amdgcn.image.load.1d.ll | 564 +-- .../regbankselect-amdgcn.image.sample.1d.ll | 860 ++-- .../regbankselect-amdgcn.raw.buffer.load.ll | 284 +- .../regbankselect-amdgcn.s.buffer.load.ll | 96 +- .../regbankselect-amdgcn.struct.buffer.load.ll | 276 +- .../regbankselect-amdgcn.struct.buffer.store.ll | 278 +- .../GlobalISel/regbankselect-assert-align.mir | 62 + .../GlobalISel/regbankselect-waterfall-agpr.mir | 138 +- llvm/test/CodeGen/AMDGPU/addrspacecast.ll | 28 +- .../CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll | 4384 ++------------------ llvm/test/CodeGen/AMDGPU/call-reqd-group-size.ll | 136 + llvm/test/CodeGen/AMDGPU/dagcombine-select.ll | 8 +- llvm/test/CodeGen/AMDGPU/extract_vector_dynelt.ll | 69 +- llvm/test/CodeGen/AMDGPU/extract_vector_elt-f64.ll | 64 +- llvm/test/CodeGen/AMDGPU/extract_vector_elt-i64.ll | 78 +- .../CodeGen/AMDGPU/indirect-call-known-callees.ll | 62 +- llvm/test/CodeGen/AMDGPU/indirect-call.ll | 2 +- llvm/test/CodeGen/AMDGPU/insert_vector_dynelt.ll | 20 +- llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll | 135 +- llvm/test/CodeGen/AMDGPU/llvm.mulo.ll | 126 +- llvm/test/CodeGen/AMDGPU/load-select-ptr.ll | 6 +- .../CodeGen/AMDGPU/loop-on-function-argument.ll | 46 + llvm/test/CodeGen/AMDGPU/select64.ll | 263 +- llvm/test/CodeGen/AMDGPU/selectcc.ll | 9 +- ...sgpr-spill.ll => sgpr-spills-split-regalloc.ll} | 142 +- llvm/test/CodeGen/AMDGPU/sint_to_fp.f64.ll | 8 +- llvm/test/CodeGen/AMDGPU/uint_to_fp.f64.ll | 10 +- llvm/test/CodeGen/ARM/readcyclecounter.ll | 1 + llvm/test/CodeGen/NVPTX/math-intrins.ll | 42 +- llvm/test/CodeGen/RISCV/addimm-mulimm.ll | 4 +- llvm/test/CodeGen/RISCV/attributes.ll | 16 +- llvm/test/CodeGen/RISCV/div-by-constant.ll | 4 +- llvm/test/CodeGen/RISCV/double-fcmp-strict.ll | 1281 ++++++ llvm/test/CodeGen/RISCV/float-fcmp-strict.ll | 1249 ++++++ llvm/test/CodeGen/RISCV/half-fcmp-strict.ll | 573 +++ llvm/test/CodeGen/RISCV/imm.ll | 6 +- llvm/test/CodeGen/RISCV/rv32zba.ll | 2 +- llvm/test/CodeGen/RISCV/rv32zbb-intrinsic.ll | 2 +- llvm/test/CodeGen/RISCV/rv32zbb-zbp.ll | 10 +- llvm/test/CodeGen/RISCV/rv32zbb.ll | 18 +- llvm/test/CodeGen/RISCV/rv32zbc-intrinsic.ll | 2 +- llvm/test/CodeGen/RISCV/rv32zbf-intrinsic.ll | 14 + llvm/test/CodeGen/RISCV/rv32zbp.ll | 8 +- llvm/test/CodeGen/RISCV/rv32zbs.ll | 14 +- llvm/test/CodeGen/RISCV/rv32zbt.ll | 8 +- .../test/CodeGen/RISCV/rv64i-exhaustive-w-insts.ll | 2 +- llvm/test/CodeGen/RISCV/rv64zba.ll | 2 +- llvm/test/CodeGen/RISCV/rv64zbb-intrinsic.ll | 2 +- llvm/test/CodeGen/RISCV/rv64zbb-zbp.ll | 2 +- llvm/test/CodeGen/RISCV/rv64zbb.ll | 2 +- llvm/test/CodeGen/RISCV/rv64zbc-intrinsic.ll | 2 +- llvm/test/CodeGen/RISCV/rv64zbf-intrinsic.ll | 25 + llvm/test/CodeGen/RISCV/rv64zbs.ll | 2 +- .../RISCV/rvv/fixed-vectors-store-merge-crash.ll | 2 +- llvm/test/CodeGen/RISCV/sadd_sat.ll | 8 +- llvm/test/CodeGen/RISCV/sadd_sat_plus.ll | 8 +- llvm/test/CodeGen/RISCV/selectcc-to-shiftand.ll | 4 +- llvm/test/CodeGen/RISCV/sextw-removal.ll | 4 +- llvm/test/CodeGen/RISCV/ssub_sat.ll | 8 +- llvm/test/CodeGen/RISCV/ssub_sat_plus.ll | 8 +- llvm/test/CodeGen/RISCV/uadd_sat.ll | 4 +- llvm/test/CodeGen/RISCV/uadd_sat_plus.ll | 4 +- .../unfold-masked-merge-scalar-variablemask.ll | 4 +- llvm/test/CodeGen/RISCV/usub_sat.ll | 4 +- llvm/test/CodeGen/RISCV/usub_sat_plus.ll | 4 +- llvm/test/CodeGen/RISCV/xaluo.ll | 4 +- llvm/test/CodeGen/X86/combine-avx2-intrinsics.ll | 54 + llvm/test/CodeGen/X86/combine-udiv.ll | 9 +- llvm/test/CodeGen/X86/long-double-abi-align.ll | 104 + llvm/test/CodeGen/X86/scalar-fp-to-i32.ll | 219 +- llvm/test/CodeGen/X86/scalar-fp-to-i64.ll | 32 +- llvm/test/CodeGen/X86/xop-shifts.ll | 37 + .../MachO_arm64_stub_to_got_distance_stress_test.s | 17 + .../ExecutionEngine/JITLink/RISCV/ELF_abs_reloc.s | 8 +- .../JITLink/RISCV/ELF_pc_indirect.s | 4 +- .../RuntimeDyld/AArch64/ELF_ARM64_NONE.yaml | 24 + .../Instrumentation/MemorySanitizer/msan_eager.ll | 2 + llvm/test/MC/MachO/cgprofile.ll | 51 + llvm/test/MC/MachO/cgprofile.s | 45 + llvm/test/MC/RISCV/attribute-arch-invalid.s | 12 - llvm/test/MC/RISCV/hypervisor-csr-names.s | 375 ++ llvm/test/MC/RISCV/machine-csr-names.s | 1069 ++++- llvm/test/MC/RISCV/rv32-hypervisor-csr-names.s | 41 + llvm/test/MC/RISCV/rv32-machine-csr-names.s | 135 +- llvm/test/MC/RISCV/rv32-only-csr-names.s | 90 + llvm/test/MC/RISCV/rv32zba-invalid.s | 2 +- llvm/test/MC/RISCV/rv32zba-valid.s | 12 +- llvm/test/MC/RISCV/rv32zbb-aliases-valid.s | 12 +- llvm/test/MC/RISCV/rv32zbb-invalid.s | 2 +- llvm/test/MC/RISCV/rv32zbb-valid.s | 12 +- llvm/test/MC/RISCV/rv32zbbp-invalid.s | 2 +- llvm/test/MC/RISCV/rv32zbbp-only-valid.s | 6 +- llvm/test/MC/RISCV/rv32zbbp-valid.s | 12 +- llvm/test/MC/RISCV/rv32zbc-invalid.s | 2 +- llvm/test/MC/RISCV/rv32zbc-valid.s | 12 +- llvm/test/MC/RISCV/rv32zbe-invalid.s | 2 +- llvm/test/MC/RISCV/rv32zbf-invalid.s | 2 +- llvm/test/MC/RISCV/rv32zbp-invalid.s | 2 +- llvm/test/MC/RISCV/rv32zbr-invalid.s | 2 +- llvm/test/MC/RISCV/rv32zbs-aliases-valid.s | 12 +- llvm/test/MC/RISCV/rv32zbs-invalid.s | 2 +- llvm/test/MC/RISCV/rv32zbs-valid.s | 12 +- llvm/test/MC/RISCV/rv32zbt-invalid.s | 2 +- llvm/test/MC/RISCV/rv64zba-aliases-valid.s | 12 +- llvm/test/MC/RISCV/rv64zba-invalid.s | 2 +- llvm/test/MC/RISCV/rv64zba-valid.s | 6 +- llvm/test/MC/RISCV/rv64zbb-aliases-valid.s | 12 +- llvm/test/MC/RISCV/rv64zbb-invalid.s | 2 +- llvm/test/MC/RISCV/rv64zbb-valid.s | 6 +- llvm/test/MC/RISCV/rv64zbbp-invalid.s | 2 +- llvm/test/MC/RISCV/rv64zbbp-valid.s | 6 +- llvm/test/MC/RISCV/rv64zbe-invalid.s | 2 +- llvm/test/MC/RISCV/rv64zbf-invalid.s | 2 +- llvm/test/MC/RISCV/rv64zbm-invalid.s | 2 +- llvm/test/MC/RISCV/rv64zbp-invalid.s | 2 +- llvm/test/MC/RISCV/rv64zbr-invalid.s | 2 +- llvm/test/MC/RISCV/rv64zbs-aliases-valid.s | 12 +- llvm/test/MC/RISCV/rv64zbt-invalid.s | 2 +- llvm/test/MC/RISCV/supervisor-csr-names.s | 36 + llvm/test/MC/RISCV/user-csr-names-invalid.s | 38 - llvm/test/Object/archive-format.test | 3 + llvm/test/Other/new-pm-print-pipeline.ll | 4 +- llvm/test/Transforms/Attributor/heap_to_stack.ll | 3 +- llvm/test/Transforms/Attributor/lowerheap.ll | 9 +- .../Attributor/value-simplify-pointer-info.ll | 24 +- .../ConstantHoisting/RISCV/immediates.ll | 4 +- .../Transforms/Coroutines/coro-split-musttail4.ll | 4 +- .../Transforms/Coroutines/coro-split-musttail5.ll | 4 +- .../Transforms/Coroutines/coro-split-musttail6.ll | 7 +- .../Transforms/Coroutines/coro-split-musttail7.ll | 7 +- .../DeadStoreElimination/libcalls-darwin.ll | 12 +- .../GlobalOpt/stored-once-different-type.ll | 40 + .../Transforms/GlobalOpt/stored-once-value-type.ll | 5 - .../test/Transforms/InferFunctionAttrs/annotate.ll | 7 +- .../Transforms/InstCombine/binop-phi-operands.ll | 711 ++++ llvm/test/Transforms/InstSimplify/div.ll | 7 +- llvm/test/Transforms/InstSimplify/rem.ll | 5 +- llvm/test/Transforms/LoopIdiom/RISCV/popcnt.ll | 4 +- .../LoopVectorize/AArch64/sve-tail-folding.ll | 2 +- .../LoopVectorize/AArch64/sve-widen-gep.ll | 5 +- .../AArch64/tail-fold-uniform-memops.ll | 2 +- .../LoopVectorize/AArch64/vector-reverse-mask4.ll | 2 +- .../LoopVectorize/ARM/mve-reduction-predselect.ll | 12 +- .../LoopVectorize/ARM/mve-reduction-types.ll | 12 +- .../X86/invariant-store-vectorization.ll | 84 +- .../LoopVectorize/X86/masked_load_store.ll | 194 +- .../LoopVectorize/X86/tail_loop_folding.ll | 2 +- .../first-order-recurrence-complex.ll | 6 +- ...first-order-recurrence-sink-replicate-region.ll | 25 +- .../LoopVectorize/first-order-recurrence.ll | 16 +- .../Transforms/LoopVectorize/float-induction.ll | 4 +- .../test/Transforms/LoopVectorize/icmp-uniforms.ll | 5 +- llvm/test/Transforms/LoopVectorize/induction.ll | 12 +- .../outer-loop-vec-phi-predecessor-order.ll | 1 - .../LoopVectorize/pr30654-phiscev-sext-trunc.ll | 10 +- .../LoopVectorize/pr51614-fold-tail-by-masking.ll | 2 +- .../Transforms/LoopVectorize/select-reduction.ll | 2 +- .../Transforms/LoopVectorize/vplan-dot-printing.ll | 3 +- .../Transforms/LoopVectorize/vplan-printing.ll | 35 +- .../vplan-sink-scalars-and-merge-vf1.ll | 5 +- .../LoopVectorize/vplan-sink-scalars-and-merge.ll | 60 +- .../vplan-vectorize-inner-loop-reduction.ll | 1 - .../LoopVectorize/vplan-widen-call-instruction.ll | 1 - llvm/test/Transforms/LoopVersioning/lcssa.ll | 6 +- .../LoopVersioning/wrapping-pointer-versioning.ll | 3 +- llvm/test/Transforms/SLPVectorizer/X86/pr47623.ll | 10 +- .../SLPVectorizer/X86/pr47629-inseltpoison.ll | 130 +- llvm/test/Transforms/SLPVectorizer/X86/pr47629.ll | 130 +- llvm/test/tools/llvm-ar/plugin.test | 9 + llvm/test/tools/llvm-ar/response.test | 2 +- llvm/test/tools/llvm-ar/version.test | 5 +- .../AArch64/Cortex/A55-load-store-noalias.s | 44 +- llvm/test/tools/llvm-mca/AMDGPU/gfx9-retireooo.s | 82 +- .../llvm-mca/X86/Barcelona/store-throughput.s | 8 +- .../llvm-mca/X86/BdVer2/load-store-throughput.s | 41 +- llvm/test/tools/llvm-mca/X86/BdVer2/pr37790.s | 20 +- .../tools/llvm-mca/X86/BdVer2/store-throughput.s | 43 +- llvm/test/tools/llvm-mca/X86/BtVer2/pr37790.s | 16 +- .../tools/llvm-mca/X86/BtVer2/stmxcsr-ldmxcsr.s | 60 +- .../llvm-mca/X86/Haswell/reserved-resources.s | 4 +- .../tools/llvm-mca/X86/Haswell/stmxcsr-ldmxcsr.s | 74 +- llvm/test/tools/llvm-mca/X86/barrier_output.s | 25 + llvm/test/tools/llvm-nm/XCOFF/demangle.test | 40 + llvm/test/tools/llvm-nm/XCOFF/size.test | 51 + llvm/tools/CMakeLists.txt | 1 + llvm/tools/llvm-ar/llvm-ar.cpp | 6 +- .../llvm-libtool-darwin/llvm-libtool-darwin.cpp | 451 +- llvm/tools/llvm-mca/Views/InstructionInfoView.cpp | 32 +- llvm/tools/llvm-mca/Views/InstructionInfoView.h | 10 +- llvm/tools/llvm-mca/llvm-mca.cpp | 13 +- llvm/tools/llvm-nm/llvm-nm.cpp | 38 +- llvm/tools/llvm-readobj/MachODumper.cpp | 67 +- llvm/tools/llvm-readobj/llvm-readobj.cpp | 2 + llvm/unittests/Analysis/TFUtilsTest.cpp | 38 +- llvm/unittests/Bitcode/DataLayoutUpgradeTest.cpp | 2 +- llvm/unittests/CodeGen/DIETest.cpp | 9 +- .../unittests/CodeGen/GlobalISel/KnownBitsTest.cpp | 55 + llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp | 6 +- llvm/unittests/Demangle/DLangDemangleTest.cpp | 27 +- llvm/unittests/IR/VPIntrinsicTest.cpp | 2 + llvm/unittests/Support/Path.cpp | 47 + llvm/unittests/Support/TargetParserTest.cpp | 72 +- llvm/utils/extract_symbols.py | 4 +- .../clang-tools-extra/clang-tidy/misc/BUILD.gn | 1 + llvm/utils/gn/secondary/libcxx/include/BUILD.gn | 1 + llvm/utils/gn/secondary/lld/MachO/BUILD.gn | 1 + .../gn/secondary/llvm/lib/Target/X86/BUILD.gn | 1 + .../gn/secondary/llvm/lib/Target/X86/MCA/BUILD.gn | 13 + .../llvm/lib/Target/targets_with_mcas.gni | 7 +- .../gn/secondary/llvm/tools/llvm-config/BUILD.gn | 8 +- mlir/docs/Interfaces.md | 12 + mlir/include/mlir-c/Bindings/Python/Interop.h | 3 +- .../mlir/Dialect/Arithmetic/IR/Arithmetic.h | 2 + mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | 2 +- .../ComprehensiveBufferize/AffineInterfaceImpl.h | 2 +- .../BufferizableOpInterface.h | 6 +- .../ComprehensiveBufferize/ModuleBufferization.h | 2 +- .../{AffineInterfaceImpl.h => StdInterfaceImpl.h} | 12 +- mlir/include/mlir/Dialect/Linalg/Passes.td | 3 + .../mlir/Dialect/Linalg/Transforms/Transforms.h | 6 + mlir/include/mlir/Dialect/Math/IR/MathBase.td | 1 + mlir/include/mlir/Dialect/Math/IR/MathOps.td | 2 + mlir/include/mlir/Dialect/SCF/SCFOps.td | 2 + .../mlir/Dialect/Tosa/Utils/CoversionUtils.h | 84 + mlir/include/mlir/Dialect/Vector/VectorOps.td | 10 + mlir/include/mlir/IR/Attributes.h | 3 - mlir/include/mlir/IR/Builders.h | 2 - mlir/include/mlir/IR/BuiltinAttributes.td | 6 - mlir/include/mlir/IR/BuiltinTypeInterfaces.td | 147 + mlir/include/mlir/IR/BuiltinTypes.h | 141 +- mlir/include/mlir/IR/BuiltinTypes.td | 60 +- mlir/include/mlir/IR/Identifier.h | 20 - mlir/include/mlir/IR/OpBase.td | 4 + mlir/include/mlir/Pass/PassRegistry.h | 16 +- mlir/include/mlir/TableGen/Interfaces.h | 4 + mlir/include/mlir/Transforms/DialectConversion.h | 6 - mlir/lib/CAPI/IR/IR.cpp | 4 +- mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp | 2 +- mlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp | 4 +- mlir/lib/Conversion/LLVMCommon/Pattern.cpp | 4 +- mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp | 4 +- mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp | 75 +- .../Conversion/TosaToLinalg/TosaToLinalgNamed.cpp | 93 +- .../Conversion/TosaToStandard/TosaToStandard.cpp | 57 +- mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp | 8 +- .../Dialect/Arithmetic/Transforms/ExpandOps.cpp | 20 +- mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | 16 + .../BufferizableOpInterface.cpp | 46 +- .../Linalg/ComprehensiveBufferize/CMakeLists.txt | 9 + .../ComprehensiveBufferize.cpp | 58 +- .../ComprehensiveBufferize/ModuleBufferization.cpp | 2 +- .../ComprehensiveBufferize/StdInterfaceImpl.cpp | 79 + mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt | 2 + .../Transforms/ComprehensiveBufferizePass.cpp | 3 + .../Dialect/Linalg/Transforms/PadOpInterchange.cpp | 122 + .../Dialect/Linalg/Transforms/Vectorization.cpp | 6 +- mlir/lib/Dialect/Math/IR/CMakeLists.txt | 1 + mlir/lib/Dialect/Math/IR/MathOps.cpp | 57 + mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | 10 +- mlir/lib/Dialect/SCF/SCF.cpp | 124 +- .../SparseTensor/Transforms/SparseTensorPasses.cpp | 2 +- .../SparseTensor/Transforms/Sparsification.cpp | 2 +- .../StandardOps/Transforms/FuncBufferize.cpp | 2 +- mlir/lib/Dialect/Tensor/IR/TensorOps.cpp | 11 +- mlir/lib/Dialect/Tosa/CMakeLists.txt | 1 + mlir/lib/Dialect/Tosa/Utils/ConversionUtils.cpp | 30 + mlir/lib/Dialect/Vector/VectorOps.cpp | 111 +- .../Vector/VectorTransferSplitRewritePatterns.cpp | 6 +- mlir/lib/IR/Builders.cpp | 4 - mlir/lib/IR/BuiltinTypeInterfaces.cpp | 51 + mlir/lib/IR/BuiltinTypes.cpp | 234 +- mlir/lib/IR/CMakeLists.txt | 1 + mlir/lib/Pass/Pass.cpp | 2 +- mlir/lib/Pass/PassRegistry.cpp | 22 +- mlir/lib/TableGen/Interfaces.cpp | 6 + mlir/lib/Transforms/Inliner.cpp | 12 +- mlir/lib/Transforms/Utils/DialectConversion.cpp | 5 - mlir/test/CMakeLists.txt | 2 +- .../TosaToLinalg/tosa-to-linalg-named.mlir | 78 + .../Conversion/TosaToLinalg/tosa-to-linalg.mlir | 48 + .../TosaToStandard/tosa-to-standard.mlir | 37 + mlir/test/Dialect/Arithmetic/canonicalize.mlir | 14 + mlir/test/Dialect/Arithmetic/expand-ops.mlir | 22 +- mlir/test/Dialect/LLVMIR/canonicalize.mlir | 8 + .../comprehensive-function-bufferize-compat.mlir | 31 + .../comprehensive-module-bufferize-analysis.mlir | 81 + .../Linalg/comprehensive-module-bufferize.mlir | 53 +- mlir/test/Dialect/Linalg/pad_fusion.mlir | 93 + mlir/test/Dialect/Math/canonicalize.mlir | 75 + mlir/test/Dialect/SCF/canonicalize.mlir | 78 + mlir/test/Dialect/Vector/canonicalize.mlir | 84 + mlir/test/Integration/Dialect/Memref/memref_abi.c | 173 + mlir/test/Transforms/inlining.mlir | 12 + mlir/test/lib/Dialect/Linalg/CMakeLists.txt | 2 + .../Dialect/Linalg/TestComprehensiveBufferize.cpp | 9 +- .../lib/Dialect/Linalg/TestLinalgDistribution.cpp | 2 +- mlir/test/lib/Dialect/Linalg/TestPadFusion.cpp | 48 + mlir/test/lib/Dialect/Test/TestPatterns.cpp | 4 +- mlir/test/lit.cfg.py | 4 +- mlir/test/mlir-tblgen/op-interface.td | 18 + mlir/tools/mlir-opt/mlir-opt.cpp | 2 + mlir/tools/mlir-tblgen/OpInterfacesGen.cpp | 9 + mlir/unittests/IR/ShapedTypeTest.cpp | 28 +- mlir/unittests/Pass/CMakeLists.txt | 1 + mlir/unittests/Pass/PassPipelineParserTest.cpp | 45 + utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 23 +- .../llvm-project-overlay/mlir/test/BUILD.bazel | 1 + 829 files changed, 40431 insertions(+), 25923 deletions(-) rename bolt/test/runtime/{ => X86}/Inputs/exceptions_split.cpp (100%) rename bolt/test/runtime/{ => X86}/exceptions-instrumentation.test (100%) create mode 100644 clang-tools-extra/clang-tidy/misc/MisleadingBidirectional.cpp create mode 100644 clang-tools-extra/clang-tidy/misc/MisleadingBidirectional.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/misc-misleading-bidire [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/misc-misleading-bidi [...] create mode 100644 clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbf.c create mode 100644 clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbf.c create mode 100644 clang/test/CodeGenCoroutines/coro-elide.cpp create mode 100644 clang/test/CodeGenCoroutines/coro-symmetric-transfer-03.cpp create mode 100644 clang/test/Driver/aarch64-hbc.c create mode 100644 clang/test/OpenMP/metadirective_device_isa_codegen.cpp create mode 100644 clang/test/OpenMP/metadirective_device_isa_codegen_amdgcn.cpp create mode 100644 clang/test/Sema/Inputs/AppleTVOS15.0.sdk/SDKSettings.json create mode 100644 clang/test/Sema/Inputs/WatchOS7.0.sdk/SDKSettings.json create mode 100644 clang/test/Sema/warn-mixed-decls.c create mode 100644 clang/test/SemaCXX/pr31042.cpp create mode 100644 flang/test/Preprocessing/pp045.F create mode 100644 flang/test/Preprocessing/pp131.F90 create mode 120000 libclc/clspv64 create mode 100644 libcxx/docs/Status/Zip.rst create mode 100644 libcxx/docs/Status/ZipProjects.csv create mode 100644 libcxx/include/__memory/ranges_construct_at.h copy mlir/lib/Dialect/Math/IR/MathOps.cpp => libcxx/test/libcxx/diagnostics/detail [...] rename libcxx/test/std/iterators/iterator.requirements/iterator.cust/{iterator.cus [...] create mode 100644 libcxx/test/std/utilities/memory/specialized.algorithms/special [...] create mode 100644 libcxx/test/std/utilities/memory/specialized.algorithms/special [...] create mode 100644 libcxx/test/std/utilities/memory/specialized.algorithms/special [...] create mode 100644 libcxx/test/std/utilities/memory/specialized.algorithms/special [...] create mode 100644 lld/MachO/CallGraphSort.cpp create mode 100644 lld/MachO/CallGraphSort.h create mode 100644 lld/test/ELF/debug-dead-reloc-relocatable.s create mode 100644 lld/test/ELF/linkerscript/plugin.test create mode 100644 lld/test/MachO/cgprofile-icf.s create mode 100644 lld/test/MachO/cgprofile-obj.s create mode 100644 lld/test/MachO/cgprofile-print.s create mode 100644 llvm/lib/Target/X86/MCA/CMakeLists.txt create mode 100644 llvm/lib/Target/X86/MCA/X86CustomBehaviour.cpp create mode 100644 llvm/lib/Target/X86/MCA/X86CustomBehaviour.h create mode 100644 llvm/test/Analysis/CostModel/AArch64/load-to-trunc.ll create mode 100644 llvm/test/Analysis/CostModel/AArch64/sve-insert-extract.ll create mode 100644 llvm/test/Analysis/CostModel/AMDGPU/load-to-trunc.ll create mode 100644 llvm/test/Analysis/CostModel/ARM/load-to-trunc.ll create mode 100644 llvm/test/Analysis/CostModel/PowerPC/load-to-trunc.ll create mode 100644 llvm/test/Analysis/CostModel/RISCV/load-to-trunc.ll create mode 100644 llvm/test/Analysis/CostModel/SystemZ/load-to-trunc.ll create mode 100644 llvm/test/Analysis/CostModel/X86/load-to-trunc.ll create mode 100644 llvm/test/CodeGen/AArch64/aarch64-isel-csinc-type.ll create mode 100644 llvm/test/CodeGen/AArch64/aarch64-isel-csinc.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-unmerge-values.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/crash-stack-address-O0.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/image-waterfall-loop-O0.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-assert-align.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/localizer-wrong-insert-point.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-assert-align.mir create mode 100644 llvm/test/CodeGen/AMDGPU/call-reqd-group-size.ll create mode 100644 llvm/test/CodeGen/AMDGPU/loop-on-function-argument.ll rename llvm/test/CodeGen/AMDGPU/{reserve-vgpr-for-sgpr-spill.ll => sgpr-spills-spl [...] create mode 100644 llvm/test/CodeGen/RISCV/double-fcmp-strict.ll create mode 100644 llvm/test/CodeGen/RISCV/float-fcmp-strict.ll create mode 100644 llvm/test/CodeGen/RISCV/half-fcmp-strict.ll create mode 100644 llvm/test/CodeGen/RISCV/rv32zbf-intrinsic.ll create mode 100644 llvm/test/CodeGen/RISCV/rv64zbf-intrinsic.ll create mode 100644 llvm/test/CodeGen/X86/long-double-abi-align.ll create mode 100644 llvm/test/CodeGen/X86/xop-shifts.ll create mode 100644 llvm/test/ExecutionEngine/JITLink/AArch64/MachO_arm64_stub_to_g [...] create mode 100644 llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_NONE.yaml create mode 100644 llvm/test/MC/MachO/cgprofile.ll create mode 100644 llvm/test/MC/MachO/cgprofile.s create mode 100644 llvm/test/MC/RISCV/hypervisor-csr-names.s create mode 100644 llvm/test/MC/RISCV/rv32-hypervisor-csr-names.s create mode 100644 llvm/test/MC/RISCV/rv32-only-csr-names.s delete mode 100644 llvm/test/MC/RISCV/user-csr-names-invalid.s create mode 100644 llvm/test/Transforms/GlobalOpt/stored-once-different-type.ll create mode 100644 llvm/test/Transforms/InstCombine/binop-phi-operands.ll create mode 100644 llvm/test/tools/llvm-ar/plugin.test create mode 100644 llvm/test/tools/llvm-mca/X86/barrier_output.s create mode 100644 llvm/test/tools/llvm-nm/XCOFF/demangle.test create mode 100644 llvm/test/tools/llvm-nm/XCOFF/size.test create mode 100644 llvm/utils/gn/secondary/llvm/lib/Target/X86/MCA/BUILD.gn copy mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/{AffineInterfaceImpl. [...] create mode 100644 mlir/include/mlir/Dialect/Tosa/Utils/CoversionUtils.h delete mode 100644 mlir/include/mlir/IR/Identifier.h create mode 100644 mlir/lib/Dialect/Linalg/ComprehensiveBufferize/StdInterfaceImpl.cpp create mode 100644 mlir/lib/Dialect/Linalg/Transforms/PadOpInterchange.cpp create mode 100644 mlir/lib/Dialect/Tosa/Utils/ConversionUtils.cpp create mode 100644 mlir/lib/IR/BuiltinTypeInterfaces.cpp create mode 100644 mlir/test/Dialect/Linalg/comprehensive-function-bufferize-compat.mlir create mode 100644 mlir/test/Dialect/Linalg/pad_fusion.mlir create mode 100644 mlir/test/Dialect/Math/canonicalize.mlir create mode 100644 mlir/test/Integration/Dialect/Memref/memref_abi.c create mode 100644 mlir/test/lib/Dialect/Linalg/TestPadFusion.cpp create mode 100644 mlir/unittests/Pass/PassPipelineParserTest.cpp