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_tk1/llvm-master-arm-spec2k6-O2 in repository toolchain/ci/llvm-project.
from e04ca7c4f1b5 [Coroutines] Regenerate coro-retcon-resume-values.ll adds bee9aa78db3f [InstCombine] Add test coverage from D124503 adds 09761ce295c3 [SLPVectorizer] Remove weird unicode character from commen [...] adds d4f06ec87436 [X86] (style) Don't use auto for non obvious types adds 980f41d7c45d [X86] (style) Use auto for dyn_cast<> results adds 955a05a2782e [clang][dataflow] Optimize flow condition representation adds ae8b10e5439c [DAG] (style) Break apart if-else chain as they all return adds 809ca66eac89 [Polly] Fix test after D119669. adds 34f97a370949 [VectorCombine] Merge isa<>/cast<> into dyn_cast<>. NFC. adds 5387a38c3891 [SimpleLoopUnswitch] Freeze individual OR/AND operands. adds 3c7522899128 [mlir:PDLInterp] Refactor the implementation of result typ [...] adds ee4ac3a856a6 doc: update of the adv build doc now that clang is in tree [...] adds 2019c9b1c858 [RISCV] Lower case the first letter of LowerRISCVMachineOp [...] adds 3939e99aae68 llvm-reduce: Add pass to reduce IR references from MIR adds 0b896b754e86 llvm-reduce: Do not try to delete frame instructions adds 35264e717969 llvm-reduce: Introduce new scoring mechanism for MIR reductions adds aabea3b2ea84 llvm-reduce: Fix not removing first instruction in Machine [...] adds 1790e2976b4b [gn build] Port 3939e99aae68 adds fb7a435492a5 [compiler-rt][builtins] Add several helper functions for AVR adds 6cfcfbdc957f [Driver][test] Remove unneeded -no-canonical-prefixes and [...] adds a132e527f251 [Driver][Ananas] -r: imply -nostdlib like GCC adds 42fa5bae7afc [clang][preprocessor] Add more macros to target AVR adds 3d6fe7ace8b0 [LoopCacheAnalysis] Use stable_sort() to avoid non-determi [...] adds e6295c645f85 [flang] Added tests for taskwait and taskyield translation adds 7c04454227f5 [ArgPromotion][Attributor] Update min-legal-vector-width w [...] adds 946311b89381 [mlir] support isa/cast/dyn_cast<Operation *>(operation) adds 986de8f50b99 [AArch64] Add more comprehensive reverse shuffle costmodel [...] adds 597946a4dd2b [ConstantFold] Don't convert getelementptr to ptrtoint+inttoptr adds 5a2e595eb833 [analyzer] Fix Static Analyzer g_memdup false-positive adds 464c9833df80 [analyzer][docs] Document alpha.security.cert.pos.34c limitations adds c8603db0711e [clang-format] Fix a bug that misformats Access Specifier [...] adds a60fda59dc6b [mlir][OpenMP] Restrict types for omp.parallel args adds aae5f8115a7c [Local] Consider atomic loads from constant global as dead adds fd7efe33f1b2 [analyzer] Fix cast evaluation on scoped enums in ExprEngine adds 86bb7df6e6ea [CostModel][X86] getScalarizationOverhead - handle vXi1 ex [...] adds 5ce7050f701c [analyzer] Allow exploded graph dumps in release builds adds 29dff0d4fb46 [analyzer] Allow CFG dumps in release builds adds a23291b7db48 [Clang] Add integer add reduction builtin adds 2dcb2d85626d [AArch64] Cost modelling for fptoi_sat adds 2fec52a40261 tsan: model atomic read for failing CAS adds c5e875f599c2 [SLP][X86] Add test coverage for PR41892 adds d21289e042d0 [gn build] (manually) port fb7a435492a5 adds 9082ebeb4f14 [InstCombine] Add tests for A+(B&~A) and A+((A&B)^B) (NFC) adds c7662dc3e528 [X86] MOVDDUP has the same sched behaviour as MOVSHDUP/MOV [...] adds 364c5023d2ce [libunwind] Add SystemZ support adds 4b6c2cd647e9 Deferred Concept Instantiation Implementation adds bdc3073147f8 [x86] update test file with complete auto-generated check [...] adds 8bc0272c8cce [x86] add tests for int->FP->int casts; NFC adds cb3fb085081c [AArch64] add tests for int->FP->int casts; NFC adds 2e8a506142c2 [CodeGen] Add tests for X+(Y&~X) pattern (NFC) adds 0c31da483897 Revert "Deferred Concept Instantiation Implementation" adds 9a14c369c422 [X86] Replace avx512f integer add reduction builtins with [...] adds e94045653106 BuildLibCalls: infer allocptr attribute for free and reall [...] adds c7d39fd61ade [LV][SLP] Add tests for vectorizing fptoi_sat intrinsics. NFC adds a97899108e49 Re-apply 4b6c2cd642 "Deferred Concept Instantiation Implem [...] adds c7ae423e3906 BuildLibCalls: add alloc-family attribute to many allocato [...] adds 5a47accda88c [Analyzer] Fix clang::ento::taint::dumpTaint definition adds ce9c0faca161 [X86][AMX] combineLdSt - don't dereference dyn_cast. NFC adds 59dc8ce95a0d [X86] Reduce some superfluous diffs between znver1/znver2 [...] adds 5de0a3e9da72 [trace][intelpt] Support system-wide tracing [1] - Add a m [...] adds f34639828f5a [Analyzer] Minor cleanups in StreamChecker adds aa69cb76958c [gn build] Port 5de0a3e9da72 adds 95fedfab6cfb [InstCombine] Handle non-canonical GEP index in indexed co [...] adds 46cc04de341b [Driver][test] Add back some -no-canonical-prefixes adds b07aab8fc108 [GlobalOpt] Iterate over replaced values deterministically [...] adds 3d09c9b30fe6 [Driver][test] Avoiding producing object file in the curre [...] adds 2534dc120a4c [PowerPC] Enable CR bits support for Power8 and above. adds fed7be096f8e Mark identifier prefixes as substitutable adds 38d0df557706 [mlir] CRunnerUtils: qualify UnrankedMemRefType to avoid c [...] adds c685f8212689 [mlir][OpenMP] Add omp.cancel and omp.cancellationpoint. adds 304378fd0967 Reapply "[BuildLibCalls] Introduce getOrInsertLibFunc() fo [...] adds 7aaad7b18322 [ifs] Fix bug where exclude only excluded when outputting [...] adds 980679981fbc [Driver][test] Remove clang{{.*}} when testing -cc1 command lines adds 214265bce9df [NFC] Add test for HasNativeLLVMSupport adds 2ed0123b7fed [PS5] Check for HasNativeLLVMSupport adds 45c07db31cc7 Revert "Re-apply 4b6c2cd642 "Deferred Concept Instantiatio [...] adds e547a333a433 [DeadArgElim] Set unused arguments for internal functions adds 0ef8ca6d88aa [VPlan] Do not create VPWidenCall recipes for scalar vecto [...] adds b6beb5907345 Update movmsk-cmp.ll to match improvements made to InstCombine adds 4070aa01561c [Object][DX] Initial DXContainer parsing support adds 747c6a0c734e [SDAG] fix miscompile when casting int->FP->int adds 7070c6a96b41 [SystemZ] Accept (. - 0x100000000) PCRel32 constants adds 7ea03f0b4e4e [SLP]Improve reductions analysis and emission, part 1. adds 4d34c4e0e67d [OpenMP] Fix -Wswitch (due to new OMPC_cancellation_constr [...] adds a0b5af46a2a0 [memprof] Don't instrument PGO and other compiler inserted [...] adds 522d90528e5a Revert "Fix a misuse of `cast`" adds 28e850a8da51 [TableGen] Add support for variable length instruction in [...] adds df3765bfdc13 [NFC] Rename `FixedLenDecoderEmitter` as `DecoderEmitter` adds 043e96502408 [clangd] Add inlay hints for mutable reference parameters adds e74a73782f34 [SLP][NFC]Minor code changes for better readability, NFC. adds 55e13a6bc0d6 [NFC] Fix warning reported on bots adds 1dd8da2d7c75 [flang] Fix semantics check for RETURN statement adds b26e44e623c7 [NFC] Fixing error on some versions of GCC adds 084b65f7dc39 [memprof] Only insert dynamic shadow load when needed adds ef4ecc3ceffc [LoopCacheAnalysis] Consider dimension depth of the subscr [...] adds 696092c703b1 [sanitizer] Use canonical syscalls everywhere adds 363b3a645a1e fix warning caused by ef4ecc3ceffcf3ef129640c813f823c974f9ba22 adds 966c40aea663 [Object][DX] Identify DXBC file magic adds 098e80707413 Revert "[DeadArgElim] Set unused arguments for internal fu [...] adds 4f5d525b1d86 [gn build] Port 4070aa01561c adds deaa678137e5 AMDGPU/SDAG: Factor out the fold (add (mul x, y), y) --> m [...] adds 19fb52cbfec7 [NFC] Add missing switch cases adds e927a336a58b [mlir][LLVMIR] Add support for translating FCmp & FP constants adds 751716bebd46 Add transparency report. adds 5f057eaa0ddf [DAGCombiner] reassociationCanBreakAddressingModePattern s [...] adds 32eb7b863e49 [Driver][test] Remove clang{{.*}} when testing -cc1 command lines adds d75cc0859391 [lldb] Remove PlatformRemoteMacOSX::GetFileWithUUID overlo [...] adds d0067738e0cf [lldb] Remove unused PlatformRemoteDarwinDevice::FindFileI [...] adds 41c0ff1e740b [lldb] Hoist device support out of PlatformRemoteDarwinDev [...] adds 322b4130415a [lldb] Move GetSharedModuleWithLocalCache to PlatformDarwi [...] adds 24901ac6d061 [gn build] Port 41c0ff1e740b adds 5807e59a0ab4 [RISCV] Fix incorrect codegen for masked vmsge{u}.vx with [...] adds 3175323ce109 [AMDGPU][NFC] Make lowerINSERT_VECTOR_ELT() more readable adds 589b9df4e151 [AMDGPU] Fix scalar_to_vector for v8i16/v8f16 adds 72a66358f6b7 [RISCV] Add isCommutable to FADD/FMUL/FMIN/FMAX/FEQ. adds eaaa31ff2c2b [RISCV][TargetLowering] Special case overflow expansion fo [...] adds 3baff8080447 [RISCV] Precommit test cases for (uaddo X, C) adds e53019a8ff77 [lldb] Make GetSharedModuleWithLocalCache consider the dev [...] adds 861190957270 [mlir] Create lbOperands before op.setLowerBound adds eeccdd318d25 Revert "tsan: model atomic read for failing CAS" adds fe7d0067bd35 [X86][AMX] Add mayLoad/mayStore property for AMX instructions. adds f6112f490cfe [docs] PCH usage documentation update adds 51e72570d7e1 [lldb] Fix nondeterminism in DWARFIndexCachingTest adds 6f81903e891c [LV][SLP] Mark fptosi_sat as vectorizable adds dd8cf372c54f [NFC] Minimal refactor of TTI to avoid clangsa complaint adds 1d712c381819 [DebugInfo][InstrRef] Don't generate redundant DBG_PHIs adds dccb73318a18 [mlir][MemRef] Return `0` for the canonical strided layout [...] adds c819dce2d304 [clang-format] Add a regression test for aligning macros w [...] adds 4e5e042d9a4a [LoopVectorize] Support reductions that store intermediary result adds 68ee5ec07d4a [Analyzer] Fix assumptions about const field with member-i [...] adds bc8e6012577b sanitizer: support GCC's fallthrough attribute adds ad47114ad850 In MSVC compatibility mode, friend function declarations b [...] adds 6c57b0debeda [mlir] improve and test TransformState::Extension adds 47255834e720 [ValueTracking] A and (B & ~A) have no common bits set adds f496a0eba4f7 sanitizer: use pragma clang conditionally adds 96bbd359edbf [AArch64][SVE] Only fold frame indexes referencing SVE obj [...] adds 74634f4b9807 [SLP][X86] Add test case for Issue #48223 adds f114f0094868 [lldb] Fix ppc64 detection in lldb adds e0892614b162 [SDAG] Extract commutative helper from haveNoCommonBitsSet [...] adds 0a1bcab9f3bf tsan: fix deadlock in libbacktrace adds 1be024ee450f [Windows] Fix cmd line tokenization of unclosed quotes. adds 32814df44269 [Windows] Fix handling of " in program name on cmd line. adds 1fc208d40012 Fix Clang sphinx build adds bd606afe26f2 [ARM] Only update the successor edges for immediate predec [...] adds 903b8845fb5a sanitizer: Fix fallthrough detection. adds cf7cd664f3fd [analyzer] Check for std::__addressof for inner pointer checker adds cdc5b64ed6db AMDGPU/GISel: Update some MIR tests to reduce future churn adds 919e459f1ba3 [Linalg] Remove Optional from getStaticLoopRanges interfac [...] adds b18abde8ada1 [pseudo] Simplify the forest dump, NFC. adds d9b5544e0f99 [Doc] Refine description of llvm.is_fpclass adds 8b42e6d057ed AMDGPU: Remove redundant call to MachineInstrBuilder::setMBB adds 8bc29d14273b [clang][AArch64][SVE] Implement conditional operator for S [...] adds 7667d805948e Revert "[lldb] Fix ppc64 detection in lldb" adds ca0b41665978 [lldb][NFC] Add more tests for GenerateOptionsUsage adds eac22d0754f7 [pseudo] Implement the GLR parsing algorithm. adds ed2d4da73200 [demangler] Fold expressions of .* and ->* adds 2171a896ed00 [SDAG] Handle A and B&~A in haveNoCommonBitsSet() adds 5a64bc4d3e1f [gn build] Port eac22d0754f7 adds 860eabb3953a Revert "[pseudo] Implement the GLR parsing algorithm." adds 3e8aca5324e7 [gn build] Port 860eabb3953a adds 50b51b1860ac Fix a typo in an OpenMP test adds 50c959b4fa42 Add explicit OpenMP 5.0 case for version macros; NFC adds aaddfbf9d6a9 [bazel] Add test targets for dataflow framework adds dc1abb777a80 [X86] const-shift-of-constmasked.ll - replace X32 check pr [...] adds 4779d6cca20c [X86] load-local-v3i129.ll - add checks for targets with f [...] adds 61f2d3074699 [lldb][NFC] Simplify part of Options::GenerateOptionUsage adds 64816e68f441 [AArch64] Support for Ampere1 core adds 731f0e27ec11 [PowerPC] Regenerate urem-seteq-illegal-types.ll adds e6cb64ae9e8d [X86] Add additional add of and not tests (NFC) adds 7e02bc523775 [AArch64] Add native CPU detection for Ampere1 adds 625e0e611b40 [BOLT] [NFC] Remove unused variable adds cf05de7168b0 [lldb][NFC] Refactor printing of short options in help adds 9c46a9cf611f [NFC][GVNSink] Don't pretend that iteration is over instru [...] adds e9d4a9dd8bc4 [X86] Autogen a few tests for ease of update [nfc] adds 9c1085c7e20b [Clang][OpenMP] Add the support for floating-point variabl [...] adds 2929c34da665 [SCEV] Regenerate test checks (NFC) adds 3bc79808d063 [ELF] Fix branch range computation when picking ThunkSection adds bc3056b382ac [X86] Add test showing failure to modulo the rotation amou [...] adds 2deebc0048f9 [RFC] Add and sort decl to maintain order instead of inser [...] adds faa35fc87370 [DAG] Fix issue with rot(rot(x,c1),c2) -> rot(x,c1+c2) fol [...] adds 857eb4a152cf [mlir][LLVMIR] Add support for translating Switch instruction adds 0c8c05064d57 [llvm-ar] Modify usage printouts to use the correct toolname adds 5d1dbe111944 [libc] fix strtold tests on 32 bit systems adds e072a123d3b2 [libc] add printf writer adds 1deea714b3b4 BuildLibCalls: simplify switch statement slightly adds a61c8e1ebdff tsan: for unittests, change to use test fixtures to clear [...] adds 672b908bca67 [mlir] Add sin & cos ops to complex dialect adds 2f9fc576be20 [lldb] Add setting for max depth of value object printing (NFC) adds f2639cf3fe46 [randstruct] Move initializer check to be more effective adds 9f38da258ea7 [pseudo] Implement the GLR parsing algorithm. adds 88962f536f58 [gn build] Port 9f38da258ea7 adds 397188036d4c [clang-format][NFC] Clean up tryToParseLambdaIntroducer() adds 29f70e3e7da8 Minor correction in bitreverse intrinsic semantics adds c7ecfadf9beb Fix some places where PseudoObjectExpr handling assumed th [...] adds c1e17c7dfedd ExtractAPI: Use %clang_cc1 and -verify in enum.c adds 88b6d3211c83 [BOLT][TEST] Fix test failures on AArch64 builder adds 39492ba5d69e Revert "[BOLT][TEST] Fix test failures on AArch64 builder" adds 7e23b46ab8da [OpenMP] Possible fix for sporadic test failure from loop_ [...] adds ed1b32791dbb [pseudo] Print the GSS::Node details when the unittest fai [...] adds 37471cf2c3fd [clang][OpenMP] Local variable alignment incorrect with al [...] adds a47e03685bf3 [InstCombine] add tests for min/max with shuffled operands; NFC adds 432c199e8473 [InstCombine] move shuffle after min/max with same-shuffle [...] adds c4546091ed29 [pseudo] Use a real language option in the parser. adds 2c3326608460 [mlir][sparse] Add lowering for unary and binary ops adds be50b8c185c6 [riscv] Add debug printing support for VSETVLIInfo class [nfc] adds 9eccc7357e6d [bazel] Fix the build after 2c3326608460 adds 5f14aee3bb53 [mlir] Fix Visual Studio warnings adds 3a8266902b58 [SCEV] Removed an unnecessary assertion adds 1abcdc677cfd [mlir][sparse] add missing types to from/to-MLIR conversio [...] adds 2982d0032b33 Fix a buildbot warning [nfc] adds 15d20b976457 Fix DXBC magic parsing adds e1c808b36e2e Fix zero-width bitfield extracts to emit 0 adds 2617f2f70826 [mlir][sparse] fix build issue with unused local under opt builds adds 3d08c778c01e [lldb] Session transcript should use the async debugger streams adds b945b62cf35e [lldb] Add a function to check if lldb is running in an in [...] adds afaa56df7a93 Implement support for __llvm_addrsig for MachO in llvm-mc adds 1d5263c554cb [BOLT][TEST] Fix test failures on AArch64 builder adds 241ca47db5c9 llvm-reduce: Reduce includes adds 5dfe4b7cf277 AMDGPU: Regenerate test checks adds 574ca03ef31f AMDGPU: Remove some invalid kill flags in tests adds 994c96aef639 ARM: Cleanup MIR test adds c4e5a24dd67b ARM: Fix using undefined virtual registers in test adds 3dd00461f9cb [trace][intelpt] Fix out-of-bounds access. adds 0e86cddf9880 [psuedo] Fix for unused warning by moving code into debug macro. adds dbbbc9e2ca4b [riscv] Add a couple more vsetvli tests adds dbe716e8741c [riscv] Add vsetvli tests involving moves to/from scalar regs adds 46a5a8029e15 [OpenMP] Fix save-temps name in linker wrapper adds e29dc0c6fde2 [lld] Implement safe icf for MachO adds e95ae395aa67 [CSSPGO][NFC] Replace SampleProfileLoader::ProfileIsCS wit [...] adds 3113e5bb520c [CSSPGO] Relax size limitation for priority inlining with [...] adds 5afd20806d4e [riscv] Mark function as used to avoid unused warning. adds f9db6d2d5b24 [BOLT][CMAKE] Fix llvm-bolt-fuzzer build adds ec02227bf7c3 [BOLT][NFC] Refactor ICP::findCallTargetSymbols adds d0b1c98c960b [BOLT][NFC] ICP: simplify findTargetsIndex adds c3d53720933b [BOLT][NFC] Make ICP options naming uniform adds 60957a5a08a5 [BOLT] Fix ICPJumpTablesTopN option use adds 097181974067 [RISCV] Don't lookup TII in RISCVInstrInfo::getVLENFactore [...] adds 9cce9a126cca [RISCV] Make use of SHXADD instructions in RVV spill/reload code. adds 1d6430b9e2b8 [RISCV] Update isLegalAddressingMode for RVV. adds 764676b737db [fastregalloc] Fix bug when undef value is tied to def. adds 8ef5710e6303 [ThreadPool] add ability to group tasks into separate groups adds 20048f3150cf [lldb] use one shared ThreadPool and task groups adds 0cb59607dc9b Mark test icf-safe.s as requiring aarch64 to fix buildbots [...] adds 9c34a16c7c52 [ThreadPool] delete debug global variable if not needed adds 63aaf9a6e7f9 [mlir] Add missing CMake deps to mlir-pdll adds 7030654296a0 [iwyu] Handle regressions in libLLVM header include adds 37a147352457 [mlir][bufferize] Allow in-place bufferization for writes [...] adds 5a44980f0a8b [ELF] Support custom sections between DATA_SEGMENT_ALIGN a [...] adds 5f60c4825b35 [mlir][linalg][bufferize][NFC] Make init_tensor eliminatio [...] adds b34ea97f5571 [mlir][linalg][bufferize][NFC] Remove remaining Comprehens [...] adds f1b9245199f3 tsan: fix GCC warnings adds 71672375fe91 [libunwind][SystemZ] Unwind out of signal handlers adds 30e879649603 [docs] Improve documentation around CMAKE_BUILD_TYPE adds 8867e83d0032 [flang] Fix ICE for passing a label for non alternate retu [...] adds fbaec11683b5 [SystemZ] Avoid crashing in tryRISBGZero(). adds 8b4822344731 Recommit "[VPlan] Remove uneeded needsVectorIV check." new cbd3902fa397 [X86] load-local illegal types tests - expose the load/sto [...] new 350bdf9227ce [CMake] Make omitting CMAKE_BUILD_TYPE an error new 02fb5b771d7f [flang][driver] Define the default frontend driver triple new b540ee540266 [X86] Fix redundant `%s` in RUN command. NFC new 2cb2cd242ca0 Change the behavior of implicit int diagnostics new 6234313c6d28 Fix failing buildbot for lldb new b62e9f63bbe4 [SCEV] Add poison implication tests for umin_seq (NFC) new 032cc74d6918 [InstCombine] Fix commuted tests (NFC) new 8f623f4ab0ce [AArch64][SVE] Restore SP from FP when SVE CSRs and variab [...] new 1587f6bb3ca2 Bump the serialization major version number new 2df9bd30e4a0 Do not rely on implicit int for this test new 2d18a86d14a9 [X86] Fix uninitialized variable warnings in cetintrin.h r [...]
The 12 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: bolt/lib/Core/BinaryFunctionProfile.cpp | 24 +- bolt/lib/Passes/IndirectCallPromotion.cpp | 245 ++-- bolt/lib/Profile/DataReader.cpp | 2 - bolt/test/Inputs/icf-jump-tables.c | 2 +- bolt/test/Inputs/stub.c | 1 + bolt/test/Inputs/stub.h | 1 + bolt/test/X86/Inputs/avx512.c | 7 +- bolt/test/X86/Inputs/inline-foo.c | 2 +- bolt/test/X86/inline-debug-info.test | 2 +- bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt | 1 + clang-tools-extra/clangd/InlayHints.cpp | 27 +- .../clangd/unittests/DiagnosticsTests.cpp | 32 +- .../clangd/unittests/InlayHintTests.cpp | 107 ++ .../pseudo/include/clang-pseudo/Forest.h | 4 + .../pseudo/include/clang-pseudo/GLR.h | 165 +++ .../pseudo/include/clang-pseudo/Token.h | 5 + clang-tools-extra/pseudo/lib/CMakeLists.txt | 1 + clang-tools-extra/pseudo/lib/Forest.cpp | 17 +- clang-tools-extra/pseudo/lib/GLR.cpp | 380 ++++++ clang-tools-extra/pseudo/lib/Token.cpp | 23 + clang-tools-extra/pseudo/test/glr.cpp | 35 + clang-tools-extra/pseudo/tool/ClangPseudo.cpp | 56 +- clang-tools-extra/pseudo/unittests/CMakeLists.txt | 1 + clang-tools-extra/pseudo/unittests/GLRTest.cpp | 396 ++++++ ...era-struct-pack-align-invalid-decl-no-crash.cpp | 2 +- .../infrastructure/export-diagnostics.cpp | 4 +- clang/docs/ClangCommandLineReference.rst | 2 + clang/docs/ReleaseNotes.rst | 16 +- clang/docs/UsersManual.rst | 15 +- clang/docs/analyzer/checkers.rst | 19 + .../FlowSensitive/DataflowAnalysisContext.h | 57 +- .../Analysis/FlowSensitive/DataflowEnvironment.h | 15 +- clang/include/clang/Basic/Builtins.def | 1 + clang/include/clang/Basic/BuiltinsX86.def | 2 - clang/include/clang/Basic/DiagnosticCommonKinds.td | 4 +- clang/include/clang/Basic/DiagnosticSemaKinds.td | 15 +- clang/include/clang/Basic/LangOptions.def | 1 - clang/include/clang/Basic/LangOptions.h | 10 + clang/include/clang/Basic/LangStandard.h | 8 +- clang/include/clang/Basic/LangStandards.def | 7 +- clang/include/clang/Sema/Sema.h | 4 + clang/include/clang/Serialization/ASTBitCodes.h | 2 +- clang/lib/AST/Expr.cpp | 36 +- clang/lib/AST/ItaniumMangle.cpp | 23 + clang/lib/Analysis/CFG.cpp | 12 +- .../FlowSensitive/DataflowAnalysisContext.cpp | 76 ++ .../Analysis/FlowSensitive/DataflowEnvironment.cpp | 117 +- clang/lib/Basic/LangOptions.cpp | 1 - clang/lib/Basic/Targets/AVR.cpp | 3 + clang/lib/Basic/Targets/PPC.cpp | 8 + clang/lib/Basic/Targets/PPC.h | 1 + clang/lib/CodeGen/CGBuiltin.cpp | 9 +- clang/lib/CodeGen/CGExprScalar.cpp | 3 +- clang/lib/CodeGen/CGOpenMPRuntime.cpp | 28 +- clang/lib/CodeGen/CGStmtOpenMP.cpp | 34 +- clang/lib/Driver/ToolChains/Ananas.cpp | 14 +- clang/lib/Format/UnwrappedLineParser.cpp | 13 +- clang/lib/Frontend/CompilerInvocation.cpp | 4 + clang/lib/Frontend/InitPreprocessor.cpp | 1 + clang/lib/Headers/avx512fintrin.h | 8 +- clang/lib/Headers/cetintrin.h | 6 + clang/lib/Parse/ParseDecl.cpp | 4 +- clang/lib/Parse/Parser.cpp | 6 +- clang/lib/Sema/SemaChecking.cpp | 2 + clang/lib/Sema/SemaDecl.cpp | 34 +- clang/lib/Sema/SemaExprCXX.cpp | 104 +- clang/lib/Sema/SemaInit.cpp | 10 +- clang/lib/Sema/SemaStmt.cpp | 2 +- clang/lib/Sema/SemaType.cpp | 27 +- clang/lib/Serialization/ASTWriter.cpp | 12 +- .../Checkers/InnerPointerChecker.cpp | 12 +- .../lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 4 +- .../lib/StaticAnalyzer/Checkers/StreamChecker.cpp | 23 +- clang/lib/StaticAnalyzer/Checkers/Taint.cpp | 4 +- clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 45 +- clang/lib/StaticAnalyzer/Core/RegionStore.cpp | 8 +- clang/lib/StaticAnalyzer/Core/SValBuilder.cpp | 4 +- clang/test/Analysis/PR49642.c | 2 +- .../cxx-member-initializer-const-field.cpp | 120 ++ clang/test/Analysis/debug-checkers.cpp | 51 + clang/test/Analysis/dump_egraph.c | 8 +- clang/test/Analysis/dump_egraph.cpp | 3 +- .../exploded-graph-rewriter/dynamic_types.cpp | 1 - .../Analysis/exploded-graph-rewriter/escapes.c | 1 - .../initializers_under_construction.cpp | 1 - .../l_name_starts_with_l.cpp | 1 - .../test/Analysis/exploded-graph-rewriter/macros.c | 1 - .../objects_under_construction.cpp | 1 - .../win_path_forbidden_chars.cpp | 1 - clang/test/Analysis/gmalloc.c | 14 + clang/test/Analysis/inline-unique-reports.c | 2 +- clang/test/Analysis/inner-pointer.cpp | 11 + clang/test/Analysis/malloc.c | 2 +- clang/test/Analysis/z3-refute-enum-crash.cpp | 77 ++ .../dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p2.cpp | 2 +- clang/test/CXX/drs/dr2xx.cpp | 2 +- clang/test/CXX/drs/dr4xx.cpp | 2 +- clang/test/CXX/drs/dr5xx.cpp | 26 +- .../basic/basic.link/module-declaration.cpp | 2 +- clang/test/CXX/temp/p3.cpp | 2 +- clang/test/CXX/temp/temp.deduct.guide/p3.cpp | 4 +- clang/test/CXX/temp/temp.res/temp.local/p3.cpp | 4 +- clang/test/CodeGen/2002-07-14-MiscTests2.c | 2 +- clang/test/CodeGen/2003-08-20-vfork-bug.c | 2 +- clang/test/CodeGen/2007-04-24-bit-not-expr.c | 2 +- clang/test/CodeGen/2007-09-26-Alignment.c | 2 +- clang/test/CodeGen/2010-07-14-ref-off-end.c | 4 +- clang/test/CodeGen/X86/sse-builtins-constrained.c | 4 +- clang/test/CodeGen/builtins-reduction-math.c | 22 + clang/test/CodeGen/mips-clobber-reg.c | 2 +- clang/test/CodeGen/mips-vector-arg.c | 12 +- .../aarch64-sve-vector-conditional-op.cpp | 224 ++++ clang/test/CodeGenCXX/clang-abi-compat.cpp | 35 +- clang/test/CodeGenCXX/mangle.cpp | 12 + clang/test/Driver/amdgcn-toolchain-pic.cl | 12 +- clang/test/Driver/amdgpu-openmp-system-arch.c | 4 +- clang/test/Driver/amdgpu-toolchain-opencl.cl | 44 +- clang/test/Driver/amdgpu-toolchain.c | 16 +- clang/test/Driver/ananas.c | 11 +- .../test/Driver/avr-link-nostdlib-nodefaultlibs.c | 4 +- clang/test/Driver/avr-mmcu.c | 120 +- clang/test/Driver/avr-toolchain.c | 24 +- clang/test/Driver/cc-log-diagnostics.c | 4 +- clang/test/Driver/cc-print-options.c | 4 +- clang/test/Driver/color-diagnostics.c | 26 +- clang/test/Driver/compilation_database.c | 8 +- clang/test/Driver/compiler-rt-unwind.c | 22 +- clang/test/Driver/config-file3.c | 22 +- clang/test/Driver/constructors.c | 68 +- clang/test/Driver/coverage-ld.c | 20 +- clang/test/Driver/csky-toolchain.c | 10 +- clang/test/Driver/cuda-detect.cu | 10 +- clang/test/Driver/cuda-external-tools.cu | 52 +- clang/test/Driver/cuda-flush-denormals-to-zero.cu | 36 +- clang/test/Driver/cxx_for_opencl.clcpp | 2 +- clang/test/Driver/darwin-max-type-align.c | 8 +- clang/test/Driver/darwin-sanitizer-ld.c | 46 +- clang/test/Driver/darwin-xarch.c | 22 +- clang/test/Driver/dragonfly.c | 4 +- clang/test/Driver/env.c | 12 +- clang/test/Driver/fat_archive_amdgpu.cpp | 2 +- clang/test/Driver/fat_archive_nvptx.cpp | 2 +- clang/test/Driver/freebsd.c | 92 +- clang/test/Driver/function-sections.c | 52 +- clang/test/Driver/gfortran.f90 | 6 +- clang/test/Driver/hip-options.hip | 68 +- clang/test/Driver/hip-syntax-only.hip | 6 +- clang/test/Driver/instrprof-ld.c | 64 +- clang/test/Driver/linux-header-search.cpp | 112 +- clang/test/Driver/linux-ld.c | 406 +++--- clang/test/Driver/linux-musl-header-search.cpp | 12 +- clang/test/Driver/linux-per-target-runtime-dir.c | 4 +- clang/test/Driver/mips-cs.cpp | 48 +- clang/test/Driver/mips-fsf.cpp | 208 +-- clang/test/Driver/mips-img-v2.cpp | 24 +- clang/test/Driver/mips-img.cpp | 12 +- clang/test/Driver/mips-mti-linux.c | 4 +- clang/test/Driver/mips-mti.cpp | 32 +- clang/test/Driver/mips-reduced-toolchain.cpp | 4 +- clang/test/Driver/msp430-mmcu.c | 12 +- clang/test/Driver/myriad-toolchain.c | 34 +- clang/test/Driver/native-llvm.c | 5 + clang/test/Driver/nostdlib.c | 16 +- clang/test/Driver/openbsd.c | 80 +- clang/test/Driver/openmp-offload-gpu-new.c | 10 +- clang/test/Driver/openmp-offload-gpu.c | 126 +- clang/test/Driver/ppc-crbits.cpp | 112 ++ clang/test/Driver/preprocessor.c | 6 +- clang/test/Driver/print-multi-directory.c | 12 +- clang/test/Driver/ps4-ps5-toolchain.c | 8 +- clang/test/Driver/report-stat.c | 4 +- clang/test/Driver/riscv32-toolchain.c | 36 +- clang/test/Driver/riscv64-toolchain.c | 30 +- clang/test/Driver/sanitizer-ld.c | 384 +++--- clang/test/Driver/solaris-ld-values.c | 18 +- clang/test/Driver/solaris-ld-values.cpp | 10 +- clang/test/Driver/sparc-as.c | 162 +-- clang/test/Driver/sparcv9-as.c | 54 +- clang/test/Driver/split-stack-ld.c | 8 +- clang/test/Driver/target-override.c | 6 +- clang/test/Driver/target.c | 8 +- clang/test/Driver/ve-toolchain.c | 30 +- clang/test/Driver/ve-toolchain.cpp | 40 +- clang/test/Driver/wasm-toolchain.c | 78 +- clang/test/Driver/wasm-toolchain.cpp | 46 +- clang/test/ExtractAPI/enum.c | 8 +- clang/test/FixIt/fixit.c | 4 +- clang/test/Frontend/fixed_point_errors.c | 4 +- clang/test/Frontend/fixed_point_not_enabled.c | 2 +- clang/test/Frontend/system-header-line-directive.c | 2 +- clang/test/Index/reparsed-live-issue.cpp | 2 +- clang/test/Misc/target-invalid-cpu-note.c | 4 +- clang/test/Misc/warning-flags.c | 5 +- clang/test/Modules/malformed-overload.m | 2 +- clang/test/Modules/va_list.m | 8 +- clang/test/OpenMP/align_clause_codegen.cpp | 20 +- clang/test/OpenMP/atomic_capture_codegen.cpp | 14 +- clang/test/OpenMP/atomic_update_codegen.cpp | 17 +- clang/test/OpenMP/for_reduction_codegen.cpp | 332 ++--- clang/test/OpenMP/parallel_reduction_codegen.cpp | 240 ++-- clang/test/OpenMP/predefined_macro.c | 2 +- clang/test/OpenMP/reduction_implicit_map.cpp | 42 +- clang/test/OpenMP/sections_reduction_codegen.cpp | 280 ++-- clang/test/PCH/decl-in-prototype.c | 2 +- clang/test/Parser/altivec.c | 4 +- clang/test/Parser/attributes.c | 10 +- clang/test/Parser/backtrack-off-by-one.cpp | 2 +- clang/test/Parser/c2x-attributes.c | 6 +- clang/test/Parser/c2x-func-prototype.c | 2 +- clang/test/Parser/colon-colon-parentheses.cpp | 2 +- clang/test/Parser/cxx-altivec.cpp | 3 +- .../Parser/cxx-concepts-ambig-constraint-expr.cpp | 2 +- clang/test/Parser/cxx-decl.cpp | 12 +- clang/test/Parser/cxx-keyword-identifiers.cpp | 2 +- clang/test/Parser/cxx-template-decl.cpp | 16 +- clang/test/Parser/cxx-undeclared-identifier.cpp | 8 +- clang/test/Parser/cxx2b-lambdas.cpp | 2 +- clang/test/Parser/declarators.c | 8 +- clang/test/Parser/explicit-bool.cpp | 2 +- clang/test/Parser/ext-int.cpp | 6 +- clang/test/Parser/objc-forcollection-neg-2.m | 2 +- clang/test/Parser/static_assert.c | 2 +- clang/test/Preprocessor/avr-common.c | 7 +- clang/test/Preprocessor/macro_paste_msextensions.c | 2 +- clang/test/Sema/address_spaces.c | 2 +- clang/test/Sema/auto-type.c | 2 +- clang/test/Sema/block-args.c | 2 +- clang/test/Sema/block-literal.c | 8 +- clang/test/Sema/builtins-reduction-math.c | 17 + clang/test/Sema/c89.c | 14 +- clang/test/Sema/crash-invalid-builtin.c | 2 +- clang/test/Sema/darwin-tls.c | 14 +- clang/test/Sema/function.c | 6 +- clang/test/Sema/implicit-int.c | 37 +- clang/test/Sema/init-randomized-struct.c | 9 +- clang/test/Sema/invalid-decl.c | 2 +- clang/test/Sema/invalid-struct-init.c | 14 +- clang/test/Sema/redefinition.c | 2 +- clang/test/Sema/return.c | 8 +- clang/test/Sema/typo-correction.c | 4 +- clang/test/Sema/warn-strict-prototypes.c | 7 +- clang/test/SemaCXX/MicrosoftSuper.cpp | 2 +- clang/test/SemaCXX/PR9459.cpp | 2 +- clang/test/SemaCXX/PR9460.cpp | 6 +- clang/test/SemaCXX/PR9461.cpp | 4 +- .../SemaCXX/aarch64-sve-vector-conditional-op.cpp | 22 + clang/test/SemaCXX/crashes.cpp | 14 +- .../SemaCXX/cxx1y-variable-templates_top_level.cpp | 86 +- clang/test/SemaCXX/for-range-crash.cpp | 2 +- clang/test/SemaCXX/implicit-int.cpp | 4 +- clang/test/SemaCXX/lambda-invalid-capture.cpp | 2 +- clang/test/SemaCXX/ms-friend-function-decl.cpp | 45 + clang/test/SemaCXX/pr18284-crash-on-invalid.cpp | 4 +- clang/test/SemaCXX/typo-correction-delayed.cpp | 2 +- clang/test/SemaCXX/typo-correction.cpp | 2 +- clang/test/SemaCXX/unknown-type-name.cpp | 2 +- clang/test/SemaObjC/protocols.m | 2 +- clang/test/SemaObjCXX/crash.mm | 6 +- clang/test/SemaOpenCL/invalid-pipes-cl1.2.cl | 2 +- .../test/SemaTemplate/address_space-dependent.cpp | 14 +- clang/test/SemaTemplate/derived.cpp | 2 +- clang/test/SemaTemplate/temp_arg_template.cpp | 10 +- .../auto-detect-from-source-parent-of-cwd.cpp | 2 +- .../Tooling/auto-detect-from-source-parent.cpp | 2 +- clang/test/Tooling/clang-check-args.cpp | 2 +- clang/test/Tooling/clang-check-autodetect-dir.cpp | 2 +- clang/test/Tooling/clang-check-builtin-headers.cpp | 2 +- clang/test/Tooling/clang-check-chdir.cpp | 2 +- clang/test/Tooling/clang-check-pwd.cpp | 2 +- clang/test/Tooling/clang-check-rel-path.cpp | 2 +- clang/test/Tooling/clang-check-strip-o.cpp | 2 +- clang/test/Tooling/clang-check.cpp | 2 +- clang/test/Tooling/multi-jobs.cpp | 2 +- .../clang-linker-wrapper/ClangLinkerWrapper.cpp | 5 +- clang/unittests/AST/ASTImporterTest.cpp | 15 +- clang/unittests/AST/SourceLocationTest.cpp | 10 +- .../FlowSensitive/DataflowAnalysisContextTest.cpp | 50 + clang/unittests/Format/FormatTest.cpp | 13 + compiler-rt/cmake/Modules/CompilerRTUtils.cmake | 3 + compiler-rt/cmake/base-config-ix.cmake | 2 + compiler-rt/cmake/builtin-config-ix.cmake | 3 +- compiler-rt/cmake/config-ix.cmake | 4 +- compiler-rt/lib/builtins/CMakeLists.txt | 7 + .../ICF.h => compiler-rt/lib/builtins/avr/exit.S | 23 +- compiler-rt/lib/builtins/avr/mulhi3.S | 58 + compiler-rt/lib/builtins/avr/mulqi3.S | 31 + .../sanitizer_common/sanitizer_common_libcdep.cpp | 4 + .../lib/sanitizer_common/sanitizer_internal_defs.h | 2 + .../lib/sanitizer_common/sanitizer_linux.cpp | 94 +- .../lib/sanitizer_common/sanitizer_platform.h | 12 - .../lib/tsan/rtl/tsan_interceptors_posix.cpp | 3 +- compiler-rt/lib/tsan/rtl/tsan_shadow.h | 11 +- compiler-rt/lib/tsan/tests/rtl/tsan_mop.cpp | 34 +- compiler-rt/lib/tsan/tests/rtl/tsan_mutex.cpp | 14 +- compiler-rt/lib/tsan/tests/rtl/tsan_string.cpp | 12 +- compiler-rt/lib/tsan/tests/rtl/tsan_test.cpp | 2 +- compiler-rt/lib/tsan/tests/rtl/tsan_test_util.h | 7 + .../lib/tsan/tests/rtl/tsan_test_util_posix.cpp | 44 +- compiler-rt/lib/tsan/tests/rtl/tsan_thread.cpp | 6 +- flang/lib/Frontend/CompilerInvocation.cpp | 15 +- flang/lib/Frontend/FrontendActions.cpp | 21 +- flang/lib/Lower/OpenMP.cpp | 4 +- flang/lib/Semantics/check-call.cpp | 93 +- flang/lib/Semantics/check-omp-structure.cpp | 1 + flang/lib/Semantics/check-return.cpp | 3 +- flang/test/Lower/OpenMP/parallel.f90 | 42 +- flang/test/Lower/OpenMP/taskwait.f90 | 12 + flang/test/Lower/OpenMP/taskyield.f90 | 12 + flang/test/Semantics/altreturn02.f90 | 4 +- flang/test/Semantics/altreturn07.f90 | 6 + flang/test/Semantics/call26.f90 | 17 + flang/unittests/Frontend/FrontendActionTest.cpp | 12 +- libc/src/stdio/printf_core/CMakeLists.txt | 18 + libc/src/stdio/printf_core/string_writer.h | 56 + libc/src/stdio/printf_core/writer.cpp | 37 + libc/src/stdio/printf_core/writer.h | 10 +- libc/test/src/stdio/printf_core/CMakeLists.txt | 11 + .../src/stdio/printf_core/string_writer_test.cpp | 206 +++ libc/test/src/stdlib/strtold_test.cpp | 263 ++-- libcxxabi/src/demangle/ItaniumDemangle.h | 6 +- libcxxabi/test/test_demangle.pass.cpp | 5 + libunwind/include/__libunwind_config.h | 7 + libunwind/include/libunwind.h | 42 + libunwind/src/Registers.hpp | 288 ++++ libunwind/src/UnwindCursor.hpp | 120 +- libunwind/src/UnwindRegistersRestore.S | 37 + libunwind/src/UnwindRegistersSave.S | 43 + libunwind/src/config.h | 2 +- libunwind/src/libunwind.cpp | 2 + libunwind/test/signal_unwind.pass.cpp | 2 +- libunwind/test/unwind_leaffunction.pass.cpp | 2 +- lld/ELF/OutputSections.h | 4 + lld/ELF/Relocations.cpp | 32 +- lld/ELF/ScriptParser.cpp | 15 + lld/ELF/Writer.cpp | 2 + lld/MachO/Driver.cpp | 8 +- lld/MachO/ICF.cpp | 38 +- lld/MachO/ICF.h | 4 + lld/MachO/InputFiles.cpp | 3 + lld/MachO/InputFiles.h | 1 + lld/MachO/InputSection.h | 3 + lld/test/ELF/aarch64-thunk-reuse2.s | 38 + lld/test/ELF/linkerscript/data-segment-relro.test | 25 +- lld/test/MachO/icf-options.s | 5 +- lld/test/MachO/icf-safe.s | 58 + lldb/docs/lldb-gdb-remote.txt | 4 +- lldb/include/lldb/Core/Debugger.h | 4 + .../lldb/DataFormatters/DumpValueObjectOptions.h | 3 +- .../lldb/DataFormatters/ValueObjectPrinter.h | 2 + lldb/include/lldb/Host/Host.h | 7 + lldb/include/lldb/Interpreter/CommandInterpreter.h | 51 +- .../Interpreter/OptionGroupValueObjectDisplay.h | 3 +- .../lldb/Interpreter/OptionValueProperties.h | 4 + lldb/include/lldb/Target/Target.h | 9 + .../lldb/Utility/TraceIntelPTGDBRemotePackets.h | 6 + lldb/source/Commands/CommandObjectFrame.cpp | 7 +- lldb/source/Commands/CommandObjectTarget.cpp | 7 +- lldb/source/Core/Debugger.cpp | 15 +- .../DataFormatters/DumpValueObjectOptions.cpp | 3 +- lldb/source/DataFormatters/ValueObjectPrinter.cpp | 17 +- lldb/source/Host/common/Host.cpp | 1 + lldb/source/Host/macosx/objcxx/Host.mm | 12 + lldb/source/Interpreter/CommandInterpreter.cpp | 3 +- .../Interpreter/OptionGroupValueObjectDisplay.cpp | 12 +- lldb/source/Interpreter/OptionValueProperties.cpp | 11 + lldb/source/Interpreter/Options.cpp | 128 +- lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt | 1 + .../Plugins/Platform/MacOSX/PlatformDarwin.cpp | 161 --- .../Plugins/Platform/MacOSX/PlatformDarwin.h | 5 - .../Platform/MacOSX/PlatformDarwinDevice.cpp | 456 +++++++ .../Plugins/Platform/MacOSX/PlatformDarwinDevice.h | 67 + .../Plugins/Platform/MacOSX/PlatformMacOSX.cpp | 8 +- .../Plugins/Platform/MacOSX/PlatformMacOSX.h | 8 +- .../Platform/MacOSX/PlatformRemoteDarwinDevice.cpp | 276 +--- .../Platform/MacOSX/PlatformRemoteDarwinDevice.h | 45 +- .../Platform/MacOSX/PlatformRemoteMacOSX.cpp | 50 +- .../Plugins/Platform/MacOSX/PlatformRemoteMacOSX.h | 3 - lldb/source/Plugins/Process/Linux/CMakeLists.txt | 1 + .../Plugins/Process/Linux/IntelPTCollector.cpp | 30 +- lldb/source/Plugins/Process/Linux/Perf.cpp | 3 + lldb/source/Plugins/Process/Linux/Procfs.cpp | 71 + lldb/source/Plugins/Process/Linux/Procfs.h | 25 + .../Plugins/SymbolFile/DWARF/ManualDWARFIndex.cpp | 29 +- .../source/Plugins/Trace/intel-pt/TraceIntelPT.cpp | 9 +- .../Trace/intel-pt/TraceIntelPTSessionSaver.cpp | 4 +- .../Plugins/TypeSystem/Clang/TypeSystemClang.cpp | 1 - lldb/source/Target/Target.cpp | 9 + lldb/source/Target/TargetProperties.td | 3 + .../Utility/TraceIntelPTGDBRemotePackets.cpp | 3 + .../API/commands/expression/rdar42038760/main.c | 2 +- lldb/test/API/commands/help/TestHelp.py | 60 + lldb/unittests/Process/Linux/CMakeLists.txt | 1 + lldb/unittests/Process/Linux/PerfTests.cpp | 1 + lldb/unittests/Process/Linux/ProcfsTests.cpp | 104 ++ .../SymbolFile/DWARF/DWARFIndexCachingTest.cpp | 3 +- llvm/CMakeLists.txt | 15 +- llvm/docs/AdvancedBuilds.rst | 12 +- llvm/docs/CMake.rst | 42 +- llvm/docs/CodeOfConduct.rst | 2 +- llvm/docs/GettingStarted.rst | 27 +- llvm/docs/HowToCrossCompileLLVM.rst | 4 +- llvm/docs/LangRef.rst | 22 +- llvm/docs/ReleaseNotes.rst | 8 + llvm/docs/TestSuiteGuide.md | 1 + llvm/include/llvm/Analysis/IVDescriptors.h | 41 +- llvm/include/llvm/Analysis/LoopAccessAnalysis.h | 8 + llvm/include/llvm/Analysis/LoopCacheAnalysis.h | 14 +- llvm/include/llvm/Analysis/TargetLibraryInfo.h | 7 + .../llvm/Analysis/TargetTransformInfoImpl.h | 6 +- llvm/include/llvm/Analysis/VectorUtils.h | 10 +- llvm/include/llvm/BinaryFormat/DXContainer.h | 91 ++ llvm/include/llvm/BinaryFormat/Magic.h | 1 + llvm/include/llvm/CodeGen/MachineBasicBlock.h | 6 + llvm/include/llvm/CodeGen/MachineFrameInfo.h | 8 + llvm/include/llvm/CodeGen/MachineFunction.h | 7 +- llvm/include/llvm/CodeGen/MachineModuleInfo.h | 1 - llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h | 2 +- llvm/include/llvm/DebugInfo/GSYM/LookupResult.h | 2 +- llvm/include/llvm/Demangle/ItaniumDemangle.h | 6 +- llvm/include/llvm/Frontend/OpenMP/OMP.td | 19 + llvm/include/llvm/IR/Attributes.h | 3 + llvm/include/llvm/IR/Constants.h | 5 + llvm/include/llvm/IR/Module.h | 2 + llvm/include/llvm/MC/MCMachObjectWriter.h | 2 + llvm/include/llvm/MC/MCObjectFileInfo.h | 2 + llvm/include/llvm/MC/MCObjectWriter.h | 12 +- llvm/include/llvm/Object/DXContainer.h | 44 + llvm/include/llvm/Support/AArch64TargetParser.def | 3 + llvm/include/llvm/Support/CommandLine.h | 24 +- llvm/include/llvm/Support/ThreadPool.h | 97 +- .../include/llvm/Transforms/Scalar/JumpThreading.h | 1 - llvm/include/llvm/Transforms/Utils/BuildLibCalls.h | 65 +- .../llvm/Transforms/Utils/SimplifyLibCalls.h | 2 +- .../Vectorize/LoopVectorizationLegality.h | 8 + llvm/lib/Analysis/ConstantFolding.cpp | 30 +- llvm/lib/Analysis/IVDescriptors.cpp | 150 ++- llvm/lib/Analysis/LoopAccessAnalysis.cpp | 5 +- llvm/lib/Analysis/LoopCacheAnalysis.cpp | 81 +- llvm/lib/Analysis/MemoryBuiltins.cpp | 1 + llvm/lib/Analysis/ScalarEvolution.cpp | 5 - llvm/lib/Analysis/ValueTracking.cpp | 14 + llvm/lib/Analysis/VectorUtils.cpp | 17 +- llvm/lib/BinaryFormat/Magic.cpp | 5 + llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 3 +- llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | 8 + llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | 1 - llvm/lib/CodeGen/MachineFunction.cpp | 30 +- llvm/lib/CodeGen/MachineModuleInfo.cpp | 6 - llvm/lib/CodeGen/RegAllocFast.cpp | 20 +- llvm/lib/CodeGen/ReplaceWithVeclib.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 57 +- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 39 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 4 +- llvm/lib/DebugInfo/GSYM/LookupResult.cpp | 1 + llvm/lib/IR/Attributes.cpp | 11 + llvm/lib/IR/Constants.cpp | 11 + llvm/lib/MC/ELFObjectWriter.cpp | 6 - llvm/lib/MC/MCMachOStreamer.cpp | 15 + llvm/lib/MC/MCObjectFileInfo.cpp | 3 + llvm/lib/MC/MachObjectWriter.cpp | 21 + llvm/lib/MC/WinCOFFObjectWriter.cpp | 7 - llvm/lib/Object/Binary.cpp | 1 + llvm/lib/Object/CMakeLists.txt | 1 + llvm/lib/Object/DXContainer.cpp | 44 + llvm/lib/Object/ObjectFile.cpp | 1 + llvm/lib/Support/CommandLine.cpp | 67 +- llvm/lib/Support/Host.cpp | 6 + llvm/lib/Support/ThreadPool.cpp | 171 ++- llvm/lib/Support/Windows/Process.inc | 5 +- llvm/lib/Target/AArch64/AArch64.td | 18 + llvm/lib/Target/AArch64/AArch64FrameLowering.cpp | 5 +- llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp | 18 +- llvm/lib/Target/AArch64/AArch64SchedAmpere1.td | 1136 ++++++++++++++++ llvm/lib/Target/AArch64/AArch64SchedPredAmpere.td | 25 + llvm/lib/Target/AArch64/AArch64SchedPredicates.td | 2 +- llvm/lib/Target/AArch64/AArch64Subtarget.cpp | 6 + llvm/lib/Target/AArch64/AArch64Subtarget.h | 1 + .../Target/AArch64/AArch64TargetTransformInfo.cpp | 43 + llvm/lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp | 1 - llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp | 1 + llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h | 5 +- .../Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp | 1 - llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 126 +- llvm/lib/Target/AMDGPU/SIISelLowering.h | 2 + llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h | 2 +- llvm/lib/Target/ARM/ARMAsmPrinter.cpp | 1 - llvm/lib/Target/ARM/ARMFrameLowering.cpp | 5 +- llvm/lib/Target/PowerPC/PPC.td | 3 +- llvm/lib/Target/RISCV/RISCV.h | 2 +- llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp | 2 +- llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 11 +- llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 9 +- llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp | 39 + llvm/lib/Target/RISCV/RISCVInstrInfo.cpp | 34 +- llvm/lib/Target/RISCV/RISCVInstrInfoD.td | 10 +- llvm/lib/Target/RISCV/RISCVInstrInfoF.td | 42 +- llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td | 10 +- llvm/lib/Target/RISCV/RISCVMCInstLower.cpp | 4 +- .../Target/SystemZ/AsmParser/SystemZAsmParser.cpp | 11 +- llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp | 2 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 50 +- llvm/lib/Target/X86/X86InstrAMX.td | 7 + llvm/lib/Target/X86/X86LowerAMXType.cpp | 4 +- llvm/lib/Target/X86/X86SchedSkylakeClient.td | 6 +- llvm/lib/Target/X86/X86SchedSkylakeServer.td | 12 +- llvm/lib/Target/X86/X86ScheduleZnver2.td | 15 +- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 17 +- llvm/lib/Transforms/Coroutines/CoroEarly.cpp | 2 +- llvm/lib/Transforms/Coroutines/CoroElide.cpp | 2 - llvm/lib/Transforms/Coroutines/CoroSplit.cpp | 3 - llvm/lib/Transforms/Coroutines/Coroutines.cpp | 5 - llvm/lib/Transforms/IPO/ArgumentPromotion.cpp | 10 + llvm/lib/Transforms/IPO/Attributor.cpp | 10 + llvm/lib/Transforms/IPO/GlobalOpt.cpp | 3 +- llvm/lib/Transforms/IPO/InferFunctionAttrs.cpp | 2 +- llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 2 - llvm/lib/Transforms/IPO/SampleProfile.cpp | 42 +- .../Transforms/InstCombine/InstCombineCalls.cpp | 41 + .../Transforms/InstCombine/InstCombineCompares.cpp | 2 +- .../InstCombine/InstCombineMulDivRem.cpp | 6 +- .../Instrumentation/AddressSanitizer.cpp | 2 - .../Transforms/Instrumentation/GCOVProfiling.cpp | 2 - .../Instrumentation/HWAddressSanitizer.cpp | 3 - .../Instrumentation/IndirectCallPromotion.cpp | 2 - .../lib/Transforms/Instrumentation/MemProfiler.cpp | 31 +- .../Transforms/Instrumentation/MemorySanitizer.cpp | 2 - .../Instrumentation/PGOInstrumentation.cpp | 2 - .../Transforms/Instrumentation/PGOMemOPSizeOpt.cpp | 5 - .../Transforms/Instrumentation/ThreadSanitizer.cpp | 1 - llvm/lib/Transforms/Scalar/GVNSink.cpp | 9 +- llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 14 +- llvm/lib/Transforms/Scalar/Scalarizer.cpp | 6 +- llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp | 29 +- llvm/lib/Transforms/Utils/BuildLibCalls.cpp | 316 +++-- llvm/lib/Transforms/Utils/Local.cpp | 7 + llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 176 +-- .../Vectorize/LoopVectorizationLegality.cpp | 114 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 40 +- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 867 ++++++++---- llvm/lib/Transforms/Vectorize/VPlan.cpp | 3 + llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp | 11 +- llvm/lib/Transforms/Vectorize/VectorCombine.cpp | 22 +- llvm/test/Analysis/CostModel/AArch64/fptoi_sat.ll | 216 +-- .../Analysis/CostModel/AArch64/shuffle-reverse.ll | 96 +- .../Analysis/CostModel/X86/intrinsic-cost-kinds.ll | 4 +- .../X86/masked-intrinsic-cost-inseltpoison.ll | 256 ++-- .../CostModel/X86/masked-intrinsic-cost.ll | 256 ++-- .../CostModel/X86/shuffle-replication-i1.ll | 781 ++++++----- .../LoopCacheAnalysis/PowerPC/LoopnestFixedSize.ll | 35 +- .../LoopCacheAnalysis/PowerPC/loads-store.ll | 6 +- .../Analysis/LoopCacheAnalysis/PowerPC/matmul.ll | 6 +- .../LoopCacheAnalysis/PowerPC/matvecmul.ll | 10 +- .../LoopCacheAnalysis/PowerPC/multi-store.ll | 102 ++ .../LoopCacheAnalysis/PowerPC/single-store.ll | 6 +- .../Analysis/LoopCacheAnalysis/PowerPC/stencil.ll | 4 +- .../ScalarEvolution/exit-count-select-safe.ll | 329 +++++ llvm/test/Analysis/ScalarEvolution/trip-count14.ll | 107 +- .../form-bitfield-extract-from-shr-and.mir | 17 + llvm/test/CodeGen/AArch64/addrsig-macho.ll | 116 ++ llvm/test/CodeGen/AArch64/cpus.ll | 1 + llvm/test/CodeGen/AArch64/float-conv-elim.ll | 98 ++ llvm/test/CodeGen/AArch64/framelayout-sve.mir | 1 - llvm/test/CodeGen/AArch64/neon-dot-product.ll | 1 + llvm/test/CodeGen/AArch64/remat.ll | 1 + llvm/test/CodeGen/AArch64/sve-alloca.ll | 2 +- .../sve-fixed-length-frame-offests-crash.ll | 36 + .../AArch64/sve-fixed-length-frame-offests.ll | 31 + .../CodeGen/AMDGPU/GlobalISel/legalize-mul.mir | 143 +- .../CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir | 966 +++++++++++++- .../CodeGen/AMDGPU/GlobalISel/legalize-srem.mir | 919 ++++++++++++- .../CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir | 807 +++++++++++- .../CodeGen/AMDGPU/GlobalISel/legalize-umulo.mir | 1124 ++++++++-------- .../CodeGen/AMDGPU/GlobalISel/legalize-urem.mir | 770 ++++++++++- .../test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll | 77 +- llvm/test/CodeGen/AMDGPU/optimize-compare.mir | 1384 +++++++++++-------- .../AMDGPU/optimize-negated-cond-exec-masking.mir | 4 +- llvm/test/CodeGen/AMDGPU/scalar_to_vector.v8i16.ll | 186 +++ llvm/test/CodeGen/ARM/segmented-stacks.ll | 20 + llvm/test/CodeGen/PowerPC/addegluecrash.ll | 11 +- llvm/test/CodeGen/PowerPC/atomics-constant.ll | 6 +- llvm/test/CodeGen/PowerPC/f128-branch-cond.ll | 51 +- llvm/test/CodeGen/PowerPC/fast-isel-fcmp-nan.ll | 12 +- llvm/test/CodeGen/PowerPC/fp-strict-fcmp-noopt.ll | 97 +- llvm/test/CodeGen/PowerPC/fp64-to-int16.ll | 10 +- llvm/test/CodeGen/PowerPC/pcrel-byte-loads.ll | 24 +- .../CodeGen/PowerPC/urem-seteq-illegal-types.ll | 4 +- llvm/test/CodeGen/RISCV/machine-cse.ll | 204 +++ llvm/test/CodeGen/RISCV/rvv/allocate-lmul-2-4-8.ll | 262 ++-- .../RISCV/rvv/fixed-vector-strided-load-store.ll | 27 +- llvm/test/CodeGen/RISCV/rvv/masked-tama.ll | 4 +- llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.ll | 96 ++ llvm/test/CodeGen/RISCV/split-offsets.ll | 35 + llvm/test/CodeGen/RISCV/xaluo.ll | 230 ++++ llvm/test/CodeGen/SystemZ/and-09.ll | 16 + llvm/test/CodeGen/Thumb/segmented-stacks.ll | 20 + llvm/test/CodeGen/Thumb2/mve-vpt-optimisations.mir | 1376 ++++++++++--------- llvm/test/CodeGen/Thumb2/segmented-stacks.ll | 20 + llvm/test/CodeGen/X86/add-and-not.ll | 205 +++ llvm/test/CodeGen/X86/combine-rotates.ll | 17 + .../test/CodeGen/X86/const-shift-of-constmasked.ll | 1386 ++++++++++---------- llvm/test/CodeGen/X86/fastregalloc-tied-undef.mir | 36 + llvm/test/CodeGen/X86/float-conv-elim.ll | 135 +- llvm/test/CodeGen/X86/load-local-v3i129.ll | 51 +- llvm/test/CodeGen/X86/load-local-v4i5.ll | 16 +- llvm/test/CodeGen/X86/lsr-interesting-step.ll | 32 +- llvm/test/CodeGen/X86/movmsk-cmp.ll | 54 + llvm/test/CodeGen/X86/sink-out-of-loop.ll | 68 +- llvm/test/DebugInfo/X86/dbg-value-funcarg.ll | 3 +- llvm/test/DebugInfo/X86/dbg-value-funcarg4.ll | 51 + llvm/test/DebugInfo/X86/instr-ref-selectiondag.ll | 5 +- .../HeapProfiler/no-instrumentation.ll | 23 + .../HeapProfiler/skip-compiler-inserted.ll | 47 + llvm/test/MC/AArch64/armv8.2a-dotprod.s | 3 + llvm/test/MC/AArch64/armv8.3a-rcpc.s | 1 + .../test/MC/Disassembler/AArch64/armv8.3a-rcpc.txt | 1 + llvm/test/MC/SystemZ/insn-bad.s | 6 + llvm/test/MC/SystemZ/insn-good.s | 6 + llvm/test/TableGen/VarLenDecoder.td | 87 ++ .../ArgumentPromotion/min-legal-vector-width.ll | 25 + .../X86/min-legal-vector-width.ll | 118 +- llvm/test/Transforms/GlobalOpt/malloc-promote-6.ll | 30 + .../test/Transforms/InferFunctionAttrs/annotate.ll | 53 +- .../InstCombine/SystemZ/libcall-arg-exts.ll | 98 ++ llvm/test/Transforms/InstCombine/add.ll | 312 ++++- llvm/test/Transforms/InstCombine/atomic.ll | 2 - .../Transforms/InstCombine/constant-fold-gep.ll | 8 +- .../InstCombine/double-float-shrink-1.ll | 2 +- .../Transforms/InstCombine/minmax-intrinsics.ll | 117 ++ llvm/test/Transforms/InstCombine/pr39177.ll | 10 +- llvm/test/Transforms/InstCombine/pr55228.ll | 21 + .../Transforms/InstCombine/simplify-libcalls.ll | 13 + llvm/test/Transforms/InstCombine/sub-minmax.ll | 97 ++ .../LoopStrengthReduce/X86/2012-01-13-phielim.ll | 111 +- .../LoopVectorize/AArch64/scalable-reductions.ll | 14 +- .../LoopVectorize/AArch64/strict-fadd.ll | 8 +- llvm/test/Transforms/LoopVectorize/fpsat.ll | 161 +++ .../LoopVectorize/interleave-with-call.ll | 6 +- .../reduction-with-invariant-store.ll | 161 ++- .../Transforms/LoopVectorize/vplan-printing.ll | 44 + .../PhaseOrdering/X86/vector-reductions-logical.ll | 53 +- .../PhaseOrdering/X86/vector-reductions.ll | 2 +- .../test/Transforms/SLPVectorizer/AArch64/fpsat.ll | 67 + .../SLPVectorizer/AArch64/gather-root.ll | 24 +- .../AArch64/transpose-inseltpoison.ll | 8 +- .../Transforms/SLPVectorizer/AArch64/transpose.ll | 8 +- .../test/Transforms/SLPVectorizer/X86/PR35628_1.ll | 10 +- .../test/Transforms/SLPVectorizer/X86/PR35628_2.ll | 10 +- llvm/test/Transforms/SLPVectorizer/X86/PR39774.ll | 168 +-- llvm/test/Transforms/SLPVectorizer/X86/PR40310.ll | 16 +- .../X86/blending-shuffle-inseltpoison.ll | 2 +- .../SLPVectorizer/X86/blending-shuffle.ll | 2 +- .../SLPVectorizer/X86/hadd-inseltpoison.ll | 26 + llvm/test/Transforms/SLPVectorizer/X86/hadd.ll | 26 + .../SLPVectorizer/X86/horizontal-list.ll | 260 ++-- .../insert-element-build-vector-inseltpoison.ll | 82 +- .../X86/insert-element-build-vector.ll | 82 +- .../Transforms/SLPVectorizer/X86/malformed_phis.ll | 66 +- .../SLPVectorizer/X86/matched-shuffled-entries.ll | 45 +- .../Transforms/SLPVectorizer/X86/pr48879-sroa.ll | 189 +++ .../SLPVectorizer/X86/reduction-logical.ll | 232 ++-- .../SLPVectorizer/X86/reduction-same-vals.ll | 29 +- .../SLPVectorizer/X86/reduction_loads.ll | 22 +- .../SLPVectorizer/X86/reduction_unrolled.ll | 4 +- .../SLPVectorizer/X86/reorder_repeated_ops.ll | 29 +- .../SLPVectorizer/X86/revectorized_rdx_crash.ll | 18 +- .../SLPVectorizer/X86/vectorize-reorder-reuse.ll | 16 +- .../SLPVectorizer/slp-umax-rdx-matcher-crash.ll | 2 +- llvm/test/Transforms/Scalarizer/intrinsics.ll | 25 + ...rivial-unswitch-freeze-individual-conditions.ll | 59 +- .../trivial-unswitch-logical-and-or.ll | 13 +- .../SimpleLoopUnswitch/trivial-unswitch.ll | 13 +- llvm/test/tools/llvm-ar/tool-name.test | 15 +- llvm/test/tools/llvm-ifs/exclude.test | 4 + .../llvm-mca/X86/SkylakeClient/resources-avx1.s | 2 +- .../llvm-mca/X86/SkylakeClient/resources-sse3.s | 2 +- .../llvm-mca/X86/SkylakeServer/resources-avx1.s | 2 +- .../llvm-mca/X86/SkylakeServer/resources-sse3.s | 2 +- llvm/test/tools/llvm-ranlib/tool-name.test | 10 +- .../tools/llvm-reduce/mir/drop-ir-references.mir | 86 ++ llvm/test/tools/llvm-reduce/mir/generic-vreg.mir | 14 +- llvm/test/tools/llvm-reduce/mir/instr-reduce.mir | 4 +- .../tools/llvm-reduce/mir/preserve-block-info.mir | 2 +- .../tools/llvm-reduce/mir/preserve-frame-info.mir | 4 +- .../tools/llvm-reduce/mir/remove-frame-destroy.mir | 24 + llvm/test/tools/llvm-reduce/mir/subreg-def0.mir | 3 +- llvm/test/tools/llvm-reduce/mir/subreg-def1.mir | 9 +- llvm/tools/llvm-ar/llvm-ar.cpp | 45 +- llvm/tools/llvm-ifs/llvm-ifs.cpp | 7 +- llvm/tools/llvm-profdata/llvm-profdata.cpp | 1 + llvm/tools/llvm-reduce/CMakeLists.txt | 1 + llvm/tools/llvm-reduce/DeltaManager.cpp | 25 +- llvm/tools/llvm-reduce/ReducerWorkItem.cpp | 77 ++ llvm/tools/llvm-reduce/ReducerWorkItem.h | 9 + .../llvm-reduce/deltas/ReduceIRReferences.cpp | 82 ++ llvm/tools/llvm-reduce/deltas/ReduceIRReferences.h | 31 + .../llvm-reduce/deltas/ReduceInstructionsMIR.cpp | 48 +- .../llvm-reduce/deltas/ReduceInstructionsMIR.h | 4 +- llvm/unittests/Object/CMakeLists.txt | 1 + llvm/unittests/Object/DXContainerTest.cpp | 54 + llvm/unittests/Support/CommandLineTest.cpp | 32 +- llvm/unittests/Support/Host.cpp | 4 + llvm/unittests/Support/TargetParserTest.cpp | 10 +- llvm/unittests/Support/ThreadPool.cpp | 165 ++- llvm/utils/TableGen/CMakeLists.txt | 2 +- ...xedLenDecoderEmitter.cpp => DecoderEmitter.cpp} | 709 ++++++---- llvm/utils/TableGen/DisassemblerEmitter.cpp | 26 +- llvm/utils/TableGen/VarLenCodeEmitterGen.cpp | 48 +- llvm/utils/TableGen/VarLenCodeEmitterGen.h | 45 +- .../clang-tools-extra/pseudo/lib/BUILD.gn | 1 + .../clang-tools-extra/pseudo/unittests/BUILD.gn | 1 + .../gn/secondary/compiler-rt/lib/builtins/BUILD.gn | 8 + .../lldb/source/Plugins/Platform/MacOSX/BUILD.gn | 1 + .../lldb/source/Plugins/Process/Linux/BUILD.gn | 1 + llvm/utils/gn/secondary/llvm/lib/Object/BUILD.gn | 1 + .../gn/secondary/llvm/tools/llvm-reduce/BUILD.gn | 1 + .../gn/secondary/llvm/unittests/Object/BUILD.gn | 1 + .../gn/secondary/llvm/utils/TableGen/BUILD.gn | 2 +- .../Dialect/Bufferization/Transforms/Passes.td | 4 + mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td | 40 + .../mlir/Dialect/Linalg/IR/LinalgInterfaces.td | 9 +- mlir/include/mlir/Dialect/Linalg/Passes.h | 13 +- mlir/include/mlir/Dialect/Linalg/Passes.td | 53 +- .../Transforms/BufferizableOpInterfaceImpl.h | 15 +- mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td | 38 +- .../mlir/Dialect/PDLInterp/IR/PDLInterpOps.td | 51 +- .../Dialect/SparseTensor/IR/SparseTensorOps.td | 5 +- .../mlir/Dialect/SparseTensor/Utils/Merger.h | 43 +- .../Dialect/Transform/IR/TransformInterfaces.h | 22 +- mlir/include/mlir/ExecutionEngine/CRunnerUtils.h | 6 +- mlir/include/mlir/IR/Operation.h | 5 + mlir/include/mlir/Support/InterfaceSupport.h | 1 + .../ComplexToStandard/ComplexToStandard.cpp | 92 +- mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp | 6 +- .../Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp | 90 +- mlir/lib/Dialect/Affine/Utils/Utils.cpp | 7 +- .../Dialect/Bufferization/Transforms/Bufferize.cpp | 1 + .../Bufferization/Transforms/OneShotAnalysis.cpp | 25 +- mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp | 13 +- .../Transforms/BufferizableOpInterfaceImpl.cpp | 50 +- mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt | 2 +- .../Transforms/ComprehensiveBufferizePass.cpp | 135 -- .../Linalg/Transforms/ElementwiseOpFusion.cpp | 8 +- .../Linalg/Transforms/InitTensorElimination.cpp | 50 + .../Dialect/Linalg/Transforms/SplitReduction.cpp | 8 +- mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | 74 ++ mlir/lib/Dialect/PDLInterp/IR/PDLInterp.cpp | 52 + .../SparseTensor/Transforms/Sparsification.cpp | 20 +- mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp | 203 ++- .../Dialect/Transform/IR/TransformInterfaces.cpp | 61 +- mlir/lib/ExecutionEngine/SparseTensorUtils.cpp | 44 + mlir/lib/IR/BuiltinTypes.cpp | 6 +- mlir/lib/Rewrite/ByteCode.cpp | 63 +- mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp | 102 +- .../ComplexToStandard/convert-to-standard.mlir | 42 + .../Conversion/MemRefToLLVM/memref-to-llvm.mlir | 14 + .../PDLToPDLInterp/pdl-to-pdl-interp-rewriter.mlir | 23 + .../one-shot-module-bufferize-analysis.mlir | 59 + mlir/test/Dialect/Complex/ops.mlir | 6 + .../comprehensive-module-bufferize-alloca.mlir | 65 - ...in.mlir => one-shot-bufferize-aliasing-in.mlir} | 2 +- ...> one-shot-bufferize-analysis-aliasing-in.mlir} | 2 +- ...ufferize-analysis-init-tensor-elimination.mlir} | 4 +- ...ne-shot-bufferize-init-tensor-elimination.mlir} | 4 +- mlir/test/Dialect/OpenMP/invalid.mlir | 113 ++ mlir/test/Dialect/OpenMP/ops.mlir | 118 +- mlir/test/Dialect/PDLInterp/invalid.mlir | 26 + mlir/test/Dialect/PDLInterp/ops.mlir | 7 + .../Transform/transform-state-extension.mlir | 46 + ...bufferize.mlir => test-one-shot-bufferize.mlir} | 4 +- .../Dialect/SparseTensor/CPU/sparse_binary.mlir | 294 +++++ .../SparseTensor/CPU/sparse_matrix_ops.mlir | 2 +- .../Dialect/SparseTensor/CPU/sparse_unary.mlir | 205 +++ .../SparseTensor/CPU/sparse_vector_ops.mlir | 4 +- mlir/test/Rewrite/pdl-bytecode.mlir | 41 +- mlir/test/Target/LLVMIR/Import/basic.ll | 162 +++ .../Transform/TestTransformDialectExtension.cpp | 45 +- .../Transform/TestTransformDialectExtension.td | 37 + .../Transform/TestTransformStateExtension.h | 42 + mlir/tools/mlir-pdll/CMakeLists.txt | 8 +- .../test/ompt/worksharing/for/loop_dispatch.c | 19 +- polly/test/GPGPU/cuda-managed-memory-simple.ll | 2 +- utils/bazel/llvm-project-overlay/clang/BUILD.bazel | 2 + .../clang/unittests/BUILD.bazel | 25 + utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 1 + 785 files changed, 27195 insertions(+), 10447 deletions(-) create mode 100644 clang-tools-extra/pseudo/include/clang-pseudo/GLR.h create mode 100644 clang-tools-extra/pseudo/lib/GLR.cpp create mode 100644 clang-tools-extra/pseudo/test/glr.cpp create mode 100644 clang-tools-extra/pseudo/unittests/GLRTest.cpp create mode 100644 clang/test/Analysis/cxx-member-initializer-const-field.cpp create mode 100644 clang/test/Analysis/debug-checkers.cpp create mode 100644 clang/test/Analysis/z3-refute-enum-crash.cpp create mode 100644 clang/test/CodeGenCXX/aarch64-sve-vector-conditional-op.cpp create mode 100644 clang/test/Driver/native-llvm.c create mode 100644 clang/test/Driver/ppc-crbits.cpp create mode 100644 clang/test/SemaCXX/aarch64-sve-vector-conditional-op.cpp create mode 100644 clang/test/SemaCXX/ms-friend-function-decl.cpp copy lld/MachO/ICF.h => compiler-rt/lib/builtins/avr/exit.S (50%) create mode 100644 compiler-rt/lib/builtins/avr/mulhi3.S create mode 100644 compiler-rt/lib/builtins/avr/mulqi3.S create mode 100644 flang/test/Lower/OpenMP/taskwait.f90 create mode 100644 flang/test/Lower/OpenMP/taskyield.f90 create mode 100644 flang/test/Semantics/altreturn07.f90 create mode 100644 flang/test/Semantics/call26.f90 create mode 100644 libc/src/stdio/printf_core/string_writer.h create mode 100644 libc/src/stdio/printf_core/writer.cpp create mode 100644 libc/test/src/stdio/printf_core/string_writer_test.cpp create mode 100644 lld/test/ELF/aarch64-thunk-reuse2.s create mode 100644 lld/test/MachO/icf-safe.s create mode 100644 lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp create mode 100644 lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.h create mode 100644 lldb/source/Plugins/Process/Linux/Procfs.cpp create mode 100644 lldb/unittests/Process/Linux/ProcfsTests.cpp create mode 100644 llvm/include/llvm/BinaryFormat/DXContainer.h create mode 100644 llvm/include/llvm/Object/DXContainer.h create mode 100644 llvm/lib/Object/DXContainer.cpp create mode 100644 llvm/lib/Target/AArch64/AArch64SchedAmpere1.td create mode 100644 llvm/lib/Target/AArch64/AArch64SchedPredAmpere.td create mode 100644 llvm/test/Analysis/LoopCacheAnalysis/PowerPC/multi-store.ll create mode 100644 llvm/test/CodeGen/AArch64/addrsig-macho.ll create mode 100644 llvm/test/CodeGen/AArch64/float-conv-elim.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-fixed-length-frame-offests-crash.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-fixed-length-frame-offests.ll create mode 100644 llvm/test/CodeGen/AMDGPU/scalar_to_vector.v8i16.ll create mode 100644 llvm/test/CodeGen/SystemZ/and-09.ll create mode 100644 llvm/test/CodeGen/X86/add-and-not.ll create mode 100644 llvm/test/CodeGen/X86/fastregalloc-tied-undef.mir create mode 100644 llvm/test/DebugInfo/X86/dbg-value-funcarg4.ll create mode 100644 llvm/test/Instrumentation/HeapProfiler/no-instrumentation.ll create mode 100644 llvm/test/Instrumentation/HeapProfiler/skip-compiler-inserted.ll create mode 100644 llvm/test/TableGen/VarLenDecoder.td create mode 100644 llvm/test/Transforms/ArgumentPromotion/min-legal-vector-width.ll create mode 100644 llvm/test/Transforms/GlobalOpt/malloc-promote-6.ll create mode 100644 llvm/test/Transforms/InstCombine/SystemZ/libcall-arg-exts.ll create mode 100644 llvm/test/Transforms/InstCombine/pr55228.ll create mode 100644 llvm/test/Transforms/LoopVectorize/fpsat.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/AArch64/fpsat.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/X86/pr48879-sroa.ll create mode 100644 llvm/test/tools/llvm-reduce/mir/drop-ir-references.mir create mode 100644 llvm/test/tools/llvm-reduce/mir/remove-frame-destroy.mir create mode 100644 llvm/tools/llvm-reduce/deltas/ReduceIRReferences.cpp create mode 100644 llvm/tools/llvm-reduce/deltas/ReduceIRReferences.h create mode 100644 llvm/unittests/Object/DXContainerTest.cpp rename llvm/utils/TableGen/{FixedLenDecoderEmitter.cpp => DecoderEmitter.cpp} (82%) delete mode 100644 mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp create mode 100644 mlir/lib/Dialect/Linalg/Transforms/InitTensorElimination.cpp delete mode 100644 mlir/test/Dialect/Linalg/comprehensive-module-bufferize-alloca.mlir rename mlir/test/Dialect/Linalg/{comprehensive-module-bufferize-aliasing-in.mlir = [...] rename mlir/test/Dialect/Linalg/{comprehensive-module-bufferize-analysis-aliasing- [...] rename mlir/test/Dialect/Linalg/{comprehensive-module-bufferize-analysis-init-tens [...] rename mlir/test/Dialect/Linalg/{comprehensive-module-bufferize-init-tensor-elimin [...] create mode 100644 mlir/test/Dialect/PDLInterp/invalid.mlir create mode 100644 mlir/test/Dialect/Transform/transform-state-extension.mlir rename mlir/test/Integration/Dialect/Linalg/CPU/{test-comprehensive-bufferize.mlir [...] create mode 100644 mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_binary.mlir create mode 100644 mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_unary.mlir create mode 100644 mlir/test/lib/Dialect/Transform/TestTransformStateExtension.h