This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-arm-next-allnoconfig in repository toolchain/ci/llvm-project.
from c59473aacce3 [NFC][RISCV][CodeGen] Use ArrayRef in TargetLowering functions adds 6c1a0d5205f6 Consistently use the same apostrophe in these docs. adds e1836123a7ec [flang] Get ppc64le build bot back up adds e1318078a4e1 Support non identity layout map for reshape ops in MemRefT [...] adds a27b9ab391d1 llvm-reduce: Preserve frame index values when cloning function adds 7b57ef670c64 llvm-reduce: Simplify virtual register cloning adds 957ada4164dd [AArch64][NFC] Deleted llvm/test/Analysis/CostModel/AArch6 [...] adds 7b81192d462b Introduce new symbol on-demand for debug info adds 224386679d2b [gn build] Port 7b81192d462b adds 6753bb2c4126 [AMDGPU] Precommit a test case for D124450 adds f4bb211a3b16 [flang] Fix crash from PDT component init in module file adds 3a9ae9cf7c34 [RISCV] Add out of range immediate tests for shifts and ro [...] adds a907d36cfe80 Attributes: add a new `allocptr` attribute adds 55ce296d6f21 [SLP][TTI] Refactoring of `getShuffleCost` `Args` to work [...] adds 4c98e183774f [RISCV] Add more out of range immediate tests to rv64zbp-i [...] adds c8ed784ee69a [InstCombine] fold freeze of partial undef/poison vector c [...] adds 6a9bbd9f20dc Revert "[SLP][TTI] Refactoring of `getShuffleCost` `Args` [...] adds 903aa5e0f80e [InstCombine] try to fold icmp with mismatched extended operands adds 0a27622a1d62 [NVPTX] Disable DWARF .file directory for PTX adds 5ee0123642fe [EarlyCSE] Add tests demonstrating missed opportunitites adds e44795048373 [NFC] Fix order of initialization in MCTargetOptions adds 8628b54038e9 [NVPTX] Temporary disable dwarf-file-dir.ll on Windows adds 2807c420cd23 [InstCombine] add a strnlen handler stub. adds 25febbd155a5 [InstCombine] Fold strnlen with a bound of zero and one. adds 10c99ce67d54 [InstCombine] Fold memrchr calls with constant size, bail [...] adds ce8f42d4af2c [InstCombine] Fold memrchr calls with a constant character. adds aabeb5eb7f0a Revert "[demangler] Simplify OutputBuffer initialization" adds d738d4717f6d Disable symbol on-demand feature for Windows adds 72adc461cca5 [PS5] Add debug option testing for the PS5 target adds fa8a9fea47e0 Recommit "[SLP][TTI] Refactoring of `getShuffleCost` `Args [...] adds a9ccc7bc54bd [AMDGPU] Properly mark MUBUF and FLAT LDS DMA instructions. NFC. adds 1692c2fdaacc Revert "[compiler-rt] Use C_STANDARD instead of custom log [...] adds 077488a6bf2e [InstCombine] Add tests reproducing PR53252 (NFC) adds ff289feeba40 [OpenMPIRBuilder] Remove ContinuationBB argument from Body [...] adds 4041c4485358 [InstCombine] Update predicate when canonicalizing compari [...] adds df08b3493869 [NFC] Cleanup miscellaneous header items adds 44e58509be72 [NFC] More synching of sources for upstreaming. adds a1bb5719eca6 try to fix check-llvm on windows after 0a27622a1d62 adds 449adafabe46 [InstCombine] Fold strnlen of constant strings. adds 33e8ab8ea089 [mlir][sparse] support pattern-only matrices from Matrix Market adds a0b8ab1ba316 [BOLT][NFC] Fix warning for unqualified call to std::move adds ffed0cfcdbee [SimplifyLibCalls] avoid slicing 64-bit integers in an ILP [...] adds f6d209b3ec4c [AIX][XCOFF] error on emit symbol visibility for XCOFF obj [...] adds 35e7b4f82cfa [NFC] Fix argument types in doxygen comment adds 0ffcec418e45 Fix missing import for test adds de94cf528627 [libc] Minor test signedness fixes adds 684b1f03e336 Fix [libc] Minor test signedness fixes adds 00d84a9f923a [AMDGPU] Remove vdata from buffer to lds load adds 0274811b5a83 [AMDGPU] Add both mayLoad and mayStore to MUBUF LDS opcodes adds 57a210e5b705 [CUDA][HIP] Fix linkage of __clang_gpu_used_external adds 6a24e372192a [AMDGPU] Remove now unused variable HasLdsModifier. NFC. adds 6beb2db7d168 [Support] Factor out isCrash from throwIfCrash adds 8dc8e59eba49 Upstream test for wide character literals. adds a2681c43308c Don't push null ExecutionContext on CommandInterp exectx stack adds b3fc0fa84a09 [mlir][PDLL] Don't use the result of `Constraint::getDefNa [...] adds 597fde54a8d6 [mlir][PDLL] Add support for generating PDL patterns from [...] adds fb5a59f6e1b9 [mlir][PDLL] Add initial support for a PDLL compilation database adds 09af7fefc8dc [mlir][PDLL] Add document link and hover support to mlir-p [...] adds 41d2c6df5cce [mlir][PDLL-LSP] Add code completion for include file paths adds c15ae0a37dda [RISCV][NFC] Add RV64Zbs invalid tests adds 7cc328600e25 [ELF] Prevent LTO stripping of wrapped script-referenced symbols adds 021b2545476d [mlir:PDLL] Fix build on windows related to different file paths adds 71aad31c0bcb [mlir:PDLL] Use normalized paths in compilation database test adds 9e0b5533594e [mlir] Add extensible dialects adds 693246e03f28 [clang-tidy] Modernize-macro-to-enum should skip macros us [...] adds bcb2b86df672 [RISCV] Precommit test for D121881 adds 6b55f133fb07 [RISCV][RVV] Select unmasked TU RVV pseudos in a DAG post-process adds e1567e771b89 [docs] Fix typos in the 'CodeGenerator' doc adds d47565ed62a3 [CMake][compiler-rt] Use COMPILE_OPTIONS and LINK_OPTIONS adds 0571af01df20 Revert "[CMake][compiler-rt] Use COMPILE_OPTIONS and LINK_ [...] adds a910337b5d01 [FuncSpec] Conditional jump or move depends on uninitialis [...] adds 56058b921bd9 [clangd] Output inlay hints with `clangd --check` adds 19190cc651ef [Driver] Support for compressed debug info on Fuchsia adds 9de7b93bc008 [RISCV][NFC] Update and add missing closed curly bracket c [...] adds 86c770346c26 [AsmParser] Automatically declare and lex attribute keywor [...] adds c103f5e9da49 [InstCombine] Combine opaque pointer GEPs with mismatching [...] adds c1e94591bcc9 Revert "[asan] Enable detect_stack_use_after_return=1 by default" adds 4a8c13a6f42e [CostModel] Add basic fptoi_sat costs adds a15b66e76d1e [DebugInfo][InstrRef] Describe value sizes when spilt to stack adds ca3cd345a0d0 [MIPS][SelectionDAG] Enable TargetLowering::hasBitTest for [...] adds d902dd011c94 [flang][driver] NFC: Make code more in line with LLVM style adds 6e078f980450 [GVN][NewGVN] Regenerate no_speculative_loads_with_asan.ll tests adds 425620ccdd47 [libc++] Implement P0980R1 (constexpr std::string) adds c10bbc20bc4d [mlir][bazel] Add suport for PDLL tests. adds c45e4c140f98 [Debuginfo][LSR] Add salvaging variadic dbg.value intrinsi [...] adds d6327050e00f [AArch64] Use PerfectShuffle costs in AArch64TTIImpl::getS [...] adds 31ff40042d05 Revert "[Driver] Support for compressed debug info on Fuchsia" adds 8f550368b169 [Debuginfo][LSR] Add salvaging variadic dbg.value intrinsi [...] adds 855752e563ec Revert [Debuginfo][LSR] Add salvaging variadic dbg.value i [...] adds 74273d575f99 [Debuginfo][LSR] Add salvaging variadic dbg.value intrinsi [...] adds 8052f4d22a12 [AST] Consider QualifiedTemplateName in TemplateName::getA [...] adds acd75440c67a [Flang] Lower the FailImage Statement adds d42f222f9d6f [AArch64] Add some larger shuffle cost tests. NFC adds 8e2a0e61f538 [AArch64] Break up larger shuffle-masks into legal sizes i [...] adds 4059770af593 [StatepointLowering] Only export STATEPOINT results if use [...] adds 51be0925b42e [SimpleLoopUnswitch] Add trivial unswitching tests with selects. adds f513b5fc47df [lldb] Make test names unique adds 089a1d9deba5 [lldb] Fix TestWithLimitDebugInfo.py adds 70dbb5abd361 InstCombine: Add tests to show or-and scenarios which can [...] adds c515b2f39e77 [IRCE] Avoid computing potentially unnecessary analyses. NFC adds 6e8dda047fe0 [NFC] XFAIL tests which need visibility in XCOFF objectwriting adds 6ddf2a824da9 [AMDGPU] Adjust wave priority based on VMEM instructions t [...] adds 4fcbd0eb4ad5 [GVN] Add more tests for opaque pointer GEPs (NFC) adds 74ddcc2b2702 [gn build] Port 6ddf2a824da9 adds fd9026131e6c [InstCombine] add tests for ashr/lshr of constant with shi [...] adds 0a4a43cf138b [OpenMP] Properly handle the `-f/-fno` veraints for the ne [...] adds eeaa3b547853 [lldb] Remove sanity check from TestWithLimitDebugInfo adds a6b355dd3164 [SLP] Fix a typo that causes redundant assertion and poten [...] adds 38e802a09de6 [mlir][spirv] Allow converting from index type in unsigned ops adds d4563bfeb940 [NFC][InstCombine] Add some tests for open-coded round-up [...] adds aac0afd1dd99 [InstCombine] Fold 'round up integer' pattern (when alignm [...] adds ffafa71f6425 [InstCombine] 'round up integer': if bias is just right, j [...] adds d137c05fc9a3 [mlir][spirv] Add conversion from vector.reduction adds 99333026607f [NVPTX] Fix NVPTX DebugInfo tests on Windows adds 46cef9a82df8 [AArch64] Attempt to fix bots by ensuring legalized type i [...] adds 03482bccad33 [X86] collectConcatOps - add ability to collect from vecto [...] adds 16baf59c6d0b tsan: avoid false positives related to epoll adds 90537673302f Remove Python 2 support from the ScriptInterpreter plugin adds 0e9af88b7099 Remove Python 2 checks from the test suite adds aed44d282249 Remove the Visual Studio/MSBuild integration (llvm/tools/m [...] adds 05b765ff6995 [DXIL] [NFC] Remove dead attribute code paths adds 88bc24a7e39e [mlir] Allow setting operation legality with an OperationName adds d8b4ea486a5c [flang] Fix UBOUND() folding for constant arrays adds 00fcf9e95a4a [mlir][LLVMIR] Add support for importing struct-type Const [...] adds ea9bcb8b274a [mlir][LLVMIR] Do not cache Instruction generated on-the-fly adds a75657d66a12 [mlir][LLVMIR] Do not cache llvm::Constant into instMap adds c7bb5ac5ca1b [NFC] Renamed /test/Analysis/CostModel/X86/splat-load.ll t [...] adds ccd047cba4f1 [mlir][sparse] optimize COO index handling adds 26a0d53b1544 [CHR] Skip region containing llvm.coro.id adds 1041a9642ba0 [lit] Support %if ... %else syntax for RUN lines adds afd639071bb3 [LLDB][NativePDB] Minor fix ParseInlinesite. adds 29a470e3804c [COST]Improve cost model for shuffles in SLP. adds efa0f12c0beb [InstCombine] Fold strnlen calls in equality to zero. adds c2614b31d955 [RISCV] Add isCommutable to scalar FMA instructions. adds f8a574bf4de4 [InstCombine] C0 >> (X - C1) --> (C0 << C1) >> X adds 6d6288f2bebf llvm-reduce: Preserve subregisters and other fields for to [...] adds 2d0c897212d0 [Driver] Support for compressed debug info on Fuchsia adds e617d1a1d7f6 llvm-reduce: Fix mangling types of generic registers adds 82aa5e2c6fe9 Revert "[Driver] Support for compressed debug info on Fuchsia" adds 8b574a1e5133 [Darwin][UBSan][Sanitizer] abort_on_error ubsan test fix f [...] adds 787ee99d4fd9 [flang] Allow for host association in ConvertTo(Object|Pro [...] adds 84c6dc96accc [flang] Downgrade a fatal error to a warning adds 5e096ce6c84f Update PGO and 3-stage cache files adds e3785775248b [X86] Use is128BitLaneRepeatedShuffleMask wrapper. NFC. adds 81b38668ff20 [X86] Add test case for Issue #55138 adds edc80e7d43ca [X86] setcc.ll - remove unnecessary cpu attributes adds 8032c5f68cf1 [X86] setcc.ll - add bmi2 + tbm test coverage adds 93182c9ff4c0 [SimpleLoopUnswitch] Add test cases where freeze of OR/AND [...] adds 25d53aa9a2f3 [SimpleLoopUnswitch] Fix CHECK lines of tests added in 931 [...] adds fd0e60d78743 [PS5] Test sanitizer options/lib names adds 727c590fe955 DebugInfo: Use hash-based unit lookup when available in dwp files adds db57acff2647 [clang-format] Adjust editor cursor position past #include blocks adds 18b9c4637099 llvm-reduce: Fix not cloning MachineInstr flags adds a3b7cb015fd5 [llvm-pdbutil] Add options to only dump symbol record at s [...] adds 0da640cb87ae DWP parsing: Use the index by hash when available adds 1747a93b28c3 llvm-reduce: Try to parse triple/datalayout from module adds 9df99d8ac22f [flang] Fix MAXLOC/MINLOC when MASK is scalar .FALSE. adds 49c75345871d llvm-reduce: Try to fix test on windows buildbots adds 7c2db6663248 llvm-reduce: Support multiple MachineFunctions adds e39e9d339c94 llvm-reduce: Fix crashing on file opening error for mir path adds 8f2ec974d1cf [X86] Move target-generic code into CodeGen [NFC] adds 7d2dddce8f0d [PS5] Enable dead-stripping globals in ASan adds 6ff91d17d66d BranchFolder: Assert on SSA functions adds 717209763e17 llvm-reduce: Fix incorrect cloning of MachineMemOperands adds d32c685e1012 [modules] Merge equivalent extensions and diagnose ivar re [...] adds 7762a3ce18cc Revert "BranchFolder: Assert on SSA functions" adds 1043eeaf86ac [llvm-symbolizer][native-pdb] Don't reset CurLineOffset if [...] adds 761366e6ae81 Revert "[Debuginfo][LSR] Add salvaging variadic dbg.value [...] adds c74a706893f0 [LegacyPM] Remove ThreadSanitizerLegacyPass adds 7d67a1e45a04 [dsymutil] Fix memory issue in the BinaryHolder adds 5205c1774950 [lldb] Fix escaping when launching in terminal with AppleScript adds 6adb8c220875 Fix test fail-file-open.test on Windows to hopefully fix t [...] adds c9a16e8c3d99 Drop '* text=auto' from .gitattributes and normalize adds b6b8d34554a4 [flang] Add lowering stubs for OpenMP/OpenACC declarative [...] adds 4e65291837aa [OpaquePtr][GlobalOpt] Don't attempt to evaluate global co [...] adds 6a6b0e4a6310 [X86] Check the address in machine verifier adds 6365bde65856 [XCORE][CodeGen][NFC] Use ArrayRef in TargetLowering functions adds 96d3be84438e [InferAddressSpaces] Check if AS are the same in isNoopPtr [...] adds 35f38583d2f2 [JumpThreading][NFC][CompileTime] Do not recompute BPI/BFI [...] adds 3d7da810e4a6 [Driver][Solaris] -r: imply -nostdlib like GCC adds 942ec5c36d92 [X86][AMX] combine tile cast and load/store instruction. adds b9dc5651477b [GVN] Encode GEPs in offset representation adds 515f890033cc [CodeGen] Remove an outdated comment in MachinePointerInfo adds 6301574206b3 [mlir][SparseTensor] Enable VLA ops in index value generation adds dc0ae8ce1822 [RISCV] Support VP_SETCC mask operations adds 57f99d0dc387 [lldb] Reduce duplication in DWARFASTParserClang::CopyUniq [...] adds e8cc7490d234 Revert "[clang-format] SortIncludes should support "@impor [...] adds be656df18721 [clang-format] add a regression test for include sorting adds 2b833d4086ab [AST] Improve traversal of concepts and concept requirements adds 051deb2d9d34 [ARM] add Armv9 build attribute adds bf0bcb5e539b [Analyzer] Remove undefined function adds 92e22c97e9ef [flang] Fix UBOUND() constant folding for parentheses expr adds 35cc2ec4ed4a [flang] Support FINDLOC/MAXLOC/MINLOC with scalar mask adds e9b4f2256a32 [RS4GC] Add tests showing cases in which we could find a b [...] adds e7435e61e948 [X86] Add test case for Issue #55157 adds dcb2ddd6c925 [flang][driver] Fix spelling (nfc) adds cfb4e782520c Revert "[llvm-pdbutil] Add options to only dump symbol rec [...] adds 8680dd5117b0 [X86] getFauxShuffle - don't assume an UNDEF src element f [...] adds ae8143547a34 Revert rG8680dd5117b0c36f807fecc4360122ae1dd73b6d "[X86] g [...] adds ed8dffef4c37 [X86] getFauxShuffle - don't assume an UNDEF src element f [...] adds b1f1688e90b2 [clang-tidy] support --load in clang-tidy-diff.py/run-clan [...] adds 0f1b5f115a7f [NVPTX] Integrate ptxas to LIT tests adds 72959f77146e [X86] Add test case for Issue #55158 adds 8854b736065c [mlir][spirv] Convert memref.alloca to spv.Variable adds bbffece3835d [mlir][spirv] Remove layout decoration on unneeded storage [...] adds 4aba5fa77482 Use `-text` git attribute instead of `text eol=...` adds 5e4a77f0c4e7 [clangd] Record latency for ASTSignal derivation adds de7e5394320b [gn build] (manually) port 0f1b5f115a7f adds f7068c82a256 [Sema][SVE2] Move/simplify Sema testing for SVE2 ACLE builtins adds 2ae15c98ed8d [InstCombine] Add tests for or of icmp trunc/and (NFC) adds f2b31f06b79a re-roll-forward "[clang] Mark `trivial_abi` types as "triv [...] adds 3f2b76ec90b5 [Debuginfo][LSR] Add salvaging variadic dbg.value intrinsi [...] adds b5b3e50f65ee [Flang] Initial lowering of the Fortran Do loop adds 90dba831ae50 [InstCombine] Fold or of icmp ne trunc/and adds cd5f9efc4da6 Revert "[Debuginfo][LSR] Add salvaging variadic dbg.value [...] adds cf68b31f14a9 llvm-reduce: Don't check tool name in error message check adds 0cbad6635475 [lldb/DWARF] Fix a typo in 57f99d0dc3 adds ddfffbeb319a try to fix check-llvm on windows after e39e9d33 adds c792884589b8 [Debuginfo][LSR] Add salvaging variadic dbg.value intrinsi [...] adds 05b0a498329c [AArch64] Add a fp128 shuffle test. NFC adds 744a8378387e [ArgPromotion] Rename variables according to the code style. NFC adds b809c4cdb70a [lldb] Add FixAnyAddress to ABI plugins adds ee157b207b7a [InstCombine][X86] Show failure to simplify demanded vecto [...] adds f9f227639904 [VecCombine] Add tests for removing shuffles from reductions. NFC adds 8854d1244c90 [PS5] Disable exceptions by default adds 2e14900db9a8 [test][NewPM] Use -passes=loop-vectorize instead of -loop- [...] adds 451c5578b834 [PS5] Set default cpu to znver2, with no tuning adds 5420834aadbd [demangler] Fix demangling a template argument which happe [...] adds 501cc4ae304f [PS5] Rename a test to reflect its new purpose adds 39dd29736ffa [mlir][emitc] Disallow !emitc.opaque pointers adds de7cee24b6fe [X86] getBT - attempt to peek through aext(and(trunc(x),c) [...] adds d03bc249d81c [NFC][libc++][format] Enable unit tests. adds 9861ca0c23a6 Revert "[COST]Improve cost model for shuffles in SLP." adds 062317f72ebf [HIP] Add HIP runtime library arguments for linker adds f6b7fd20a52e [lldb] Remove patch reject file (.rej) adds 50d648b40ecd [mlir][emitc] Replace !emitc.opaque pointers adds 43842b887e0a [VPlan] Remove uneeded needsVectorIV check. adds 2883de05145f [VPlan] Fix comment formatting from 43842b887e. adds 8631a5e712a4 [RISCV] Fix alias printing for vmnot.m adds bd30d4be2354 [Driver] Add f16 support to -mrecip parsing. adds 0d6b574b8717 [HLSL] Adjust access specifier behavior adds 0fe9a5f71a64 [llvm] Ignore .rej files in .gitignore adds 0d70bc990bc4 [mlir][msan][test] Disable jit tests adds 84fe39a45b73 [mlir][emitc] Add a cast op adds 9f235a88f171 [mlir][msan] Don't access destroyed node adds 6e1ac68a0c73 [mlir] Don't iterate mutable user list adds ac23cf738ad6 [COST][NFC]Add a test for non-power-2 shuffles, NFC. adds 9e3b7e8e656b [X86] getTargetVShiftByConstNode - use SelectionDAG::FoldC [...] adds 36771bbad1b2 [flang][runtime] Correct emission & reading of unterminate [...] adds 1fbdf3a02ed6 [bazel] Port 84fe39a45b73 adds 6f85cb734225 [InstCombine][X86] Add exhaustive simplify demanded vector [...] adds f326df34bc17 [libunwind][AArch64] Fix _Unwind_ForcedUnwind via sigreturn. adds 3a39bb96ca81 [SelectionDAG] Use correct boolean representation in FoldC [...] adds 6b825e50f7f4 [ArgPromotion] Change the condition to check the promotion limit adds 9197959e131e [ArgPromotion] Move ArgPart and OffsetAndArgPart to anonym [...] adds 8b687974842d Fix "not all control paths return a value" diagnostic; NFC adds ec11fbb1d682 [RISCV] Use default promotion for (i32 (shl 1, X)) on RV64 [...] adds db013b28c3d4 [PS5] Defaults for -fdeclspec, -ffunction/data-sections adds 75e1cf4a6a87 [COST]Improve cost model for shuffles in SLP. adds a9215ed9cc90 [InstCombine][X86] simplifyDemandedVectorEltsIntrinsic - h [...] adds 3333c28fc0dc [llvm-ml] Improve indirect call parsing adds 17f3a92ee5d5 [PS5] Default to omit leaf frame pointer adds 1462e63f67a9 [OPENMP]PR53344: Emit code for final update of the inscan [...] adds 6c81b5723716 [clang][dataflow] Perform structural comparison of indirec [...] adds 5dedf911deb4 [AsmParser] Rework logic around "region argument parsing" adds c38344dd29ef InstCombine: Add no-one-use tests and create thwart comple [...] adds 9a4472c56cbb [mlir] Add basic tree-sitter grammar file adds ded8187e353f [VectorCombine] Try to reduce shuffle cost for commutative [...] adds 8042699a3088 [LLVM] Add exported visibility style for XCOFF adds ce6bfd102af5 [libc] Support 32-bit ARM platform tests adds 463790bfc70e [randstruct] Randomize all elements of a record adds 99499c3ea7ca [OpAsmParser] Simplify logic for requiredOperandCount in p [...] adds f4e1eaa3755a Revert "[VPlan] Remove uneeded needsVectorIV check." adds a546b9b06bee [X86] setcc.ll - add "NOTBM" check-prefix for expected com [...] adds 75881d8b023e [NFC] const-ed the return type of FunctionPropertiesAnalysis adds 53f775bbc0b8 [flang][runtime] Support B/O/Z editing of CHARACTER adds 1bd1edaf4006 [mlir:ODS] Support using attributes in AllTypesMatch to au [...] adds 92a836da0759 [mlir] Attach InferTypeOpInterface on SameOperandsAndResul [...] adds d4381b3f93a6 [mlir:PDL] Fix a syntax ambiguity in pdl.attribute adds 9613a850b69d [mlir:PDL] Rework errors for pdl.operations with non-infer [...] adds 32bf1f1d57e7 [mlir:LSP] Improve conversion between SourceMgr and LSP locations adds ebb1e900d3b3 [mlir:PDLL] Fix error handling of eof within a string literal adds 651d9f70ed75 [mlir:PDLL] Fix the import of native constraints from ODS adds 28d09bbbc3d0 [CodeGen][ARM] Enable Swing Module Scheduling for ARM adds 181dcbd36dd5 [RISCV] Add riscv32 RUN lines to bittest.ll. NFC adds ab17ed0723fc [X86] Don't fold AND(SRL(X,Y),1) -> SETCC(BT(X,Y)) on BMI2 [...] adds fa49021c68ef Revert "[CodeGen][ARM] Enable Swing Module Scheduling for ARM" adds 0e554ebf029f [lit][unit] set the default result start and pid adds b8d4fe0f0aea [bazel] Port 92a836da0759 adds 61d54259ed2b [BOLT] Fix r_aarch64_prelxx test adds 4a31af88a267 [MC][AArch64] Enable '+v8a' when nothing specified for MCS [...] adds 9aa6a479738c [lldb] Fix crash when launching in terminal adds 49942d595f21 [NFC] remove const from FunctionPropertiesAnalysis::run, k [...] adds 42823beb1d71 [Tooling/DependencyScanning] Make skipping excluded PP ran [...] adds 02c2b472b510 [lldb] Remove ConnectionFileDescriptorTest.Connectv(4|6) adds bfcb2c1119d9 [llvm-profgen] Decouple artificial branch from LBR parser [...] adds 4fe2ab527940 Revert "[DebugInfo][InstrRef] Describe value sizes when sp [...] adds fd20eb55f1b6 [NFC][SCEV] Tests with modellable pointer `select`s adds 981ed72a17e4 [NFC][SCEV] Refactor `createNodeForSelectViaUMinSeq()` out [...] adds 11d3e31c60bd [CUDA][HIP] Fix mangling number for local struct adds f68c0a2f58e4 [analyzer] Add path note tags to standard library function [...] adds 2d133867833f Frontend: Delete output streams before closing CompilerIns [...] adds beff64ee44ac [msan][libcxx] Enable -fsanitize-memory-param-retval adds 52ce95a1a554 [NFC] Prevent shadowing a variable declared in `if` adds 8e442b341c3b [CMake] Ensure correct extension for llvm-lit is used on W [...] adds a70cf56d20b9 Reland: [clang] Adding Platform/Architecture Specific Reso [...] adds 78582194361e [asan] Enable detect_stack_use_after_return=1 by default on Linux adds 9fc58f1820e3 [PowerPC] Support of ppc_fp128 in lowering of llvm.is_fpclass adds c62b014db979 [RISCV] Merge addi into load/store as there is a ADD between them adds eaca933c59fd [Clang][CodeGen]Fix __builtin_dump_struct missing record t [...] adds 03a3654203bb [RISCV] Add cost model for SK_Broadcast adds 400775649969 [ELF][test] Improve data-segment-relro.test adds c96cc500f0b3 [SystemZ] Custom lowering of llvm.is_fpclass adds db1cec371c00 [X86] Fix CodeGen Module Flag for -mibt-seal adds 4e545bdb355a [SimplifyCFG] Thread branches on same condition in more ca [...] adds 6830ebb07eb9 Disable test for Android/Bionic. adds 884e9a877b37 [SimplifyCFG] Replace condition value when threading adds 7047c47918a6 [VecCombine] Fix sort comparator logic in foldShuffleFromR [...] adds 14869bd2dfab [lldb] Use shutil.which instead of distutils find_executable adds 41ac245c10fc [include-cleaner] Include-cleaner library structure, and s [...] adds cf90233a67eb [InstCombine] Add additional test for icmp of two ranges (NFC) adds d5ee20fcc916 [InstCombine] Switch an or of icmps fold to use constant ranges adds 2d7f0b1c2216 [X86] Fold ANDNP(undef,x)/ANDNP(x,undef) -> 0 adds 6c44e398ecdc [X86] combineShuffle - reuse SDLoc. NFCI. adds fb4113ef0c8b [Passes] Remove legacy LoopUnswitch pass. adds 687af8c9352d [InstCombine] Add tests for and of two ranges differing by [...] adds b0db5a72f7b2 [gn build] Port fb4113ef0c8b adds fc4bba288206 Remove loop-unswitch from various bindings. adds 713752610edd [lldb] Use shutil.which in Shell tests find_executable adds 5515263e4462 [InstCombine] Fold and of two ranges differing by mask adds e7e3829b6703 [OCaml] Remove add_loop_unswitch use in test. adds 1f53932a95f1 [InstCombine] Remove foldAndOrOfEqualityCmpsWithConstants() fold adds 336a1233b292 [X86] SimplifyDemandedVectorEltsForTargetNode - fold shift [...] adds 57aaeefc180f [InstCombine] Pass ICmpInsts to foldAndOrOfICmpsUsingRange [...] adds d9247cc84825 Revert "[lldb] Use shutil.which in Shell tests find_executable" adds 97b6c92dcd56 [include-cleaner] Add missing deps from unittests adds 3562f855b71e [X86] SimplifyDemandedVectorEltsForTargetNode - fold (unif [...] adds 5fa169335f7d [AMDGPU] Simplify the test case for D124450 adds 4cacd22418ce [InstCombine] Add test for is_alpha check with logical or [...] adds cacaa445c3a3 Reland "[lldb] Use shutil.which in Shell tests find_executable" adds 7a0b897e8664 [DAGCombiner][SVE] Ensure MGATHER/MSCATTER addressing mode [...] adds 61d3a3afe26f AVRExpandPseudoInsts.cpp: Fix a warning. [-Wunused-but-set [...] adds 2e6657b340f0 llvm/Support/Debug.h: Suppress warnings with -Asserts. [-W [...] adds f8463da4a329 [lldb] Allow EXE or exe in toolchain-msvc.test adds e66127e69bfa [VPlan] Simplify & adjust code as suggested in D123005. adds 3c2a74a3ae02 [mlir][linalg][transform] Add TileOp to transform dialect adds 982cbed81920 [InstCombine] Fold logical and/or of range icmps with nowr [...] adds 24a133e16fc5 [LV] Rename CountRoundDown to VectorTripCount (NFC) adds 1881711fbb7b [InstCombine] Remove memset of undef value adds 2c8cb9acb51e [flang] Handle common block with different sizes in same file adds 027c728f2988 [SelectionDAGBuilder] Don't create MGATHER/MSCATTER with S [...] adds 5b524da42f68 [InstCombine] Add test for unused atomic load from non-con [...] adds 643c9b22ef52 [OpenMP] Make generating offloading entries more generic adds ca6bbe008512 [OpenMP] Make clang argument handling for the new driver m [...] adds 4e2b5a6693e2 [Clang] Make enabling the new driver more generic adds c5e5b54350fe [CUDA] Add driver support for compiling CUDA with the new driver adds 59588f0a3d47 [SVE][ISel] Ensure explicit gather/scatter offset extensio [...] adds 23c509754d4b [DAGCombiner] Stop invalid sign conversion in refineIndexType. adds 23c10e8d0f97 [clang] Eliminate TypeProcessingState::trivial. adds f685bce8080c [PowerPC][NFC] Add a function to determine if a call needs [...] adds 205246cb6435 [CompileTime] [Passes] Avoid computing unnecessary analyses. NFC adds 9e7c9967c3fd Additionally set f32 mode with denormal-fp-math adds a80081763cb3 [SimplifyCFG] Avoid shifting by a too large exponent. adds 371412e065a6 [COST]Fix crash for non-power-2 vector shuffle mask. adds b424055b52a5 [X86] lowerShuffleAsRepeatedMaskAndLanePermute - move the [...] adds b3826192fb6e [InstCombine] Add additional tests for gep of minus ptrtoi [...] adds 47d66255701a [OpenMP] Add options to only compile the host or device wh [...] adds 6aeb2a215ee1 [InstCombine] Require LoopInfo in test (NFC) adds d9c64d33b98b [OpenMP] Allow CUDA to be linked with OpenMP using the new driver adds 5c3837312503 [RISCV] Improve constant materialization for cases that ca [...] adds 484fcb98883f [SLP][NFC]Fix a comment. adds f927be0df8a5 [RISCV] Extract getAllOnesMask helper [nfc] adds b481512485a8 [SVE] Move reg+reg gather/scatter addressing optimisations [...] adds 813e521e55b1 [AMDGPU] Add gfx11 subtarget ELF definition adds 3ea191ed03d4 [RISCV] Factor repeating code into getMaskTypeFor(VT) [nfc] adds 9c8a88382d86 [Clang][Docs] Add new offloading flags to the clang documentation adds 7abfaa0a815a [lldb] Define LLDB_VERSION_PATCH correctly adds ef87865b98fa Silence -Wstrict-prototype diagnostics in C2x mode adds dcb77643e344 Reapply [CodeGen][ARM] Enable Swing Module Scheduling for ARM adds ec6d1a0278dd Fix sphinx build error in AMDGPUUsage.rst adds 6f7970083029 [randstruct] Automatically randomize a structure of functi [...] adds dca2bc408186 Add a mutex to the ThreadPlanStackMap class. We've seen ve [...] adds f735b3a2b0ce [mlir] Prevent argStorage relocations adds aa7470a1b313 Add a paragraph showing how to use container commands. adds 5a7936401c0a [flang] Fix build bot problem adds 51e02409f022 [AMDGPU] Produce waitcounts for LDS DMA adds 8bdfc73f633d [AMDGPU][clang] Definition of gfx11 subtarget adds 268089b6ac4b Fix the encoding and decoding of UniqueCStringMap<T> objec [...] adds 2a84a8618439 [lldb] Fix initialization of LazyBool/bool variables m_ove [...] adds 68ee5ad0082c [flang] Update Google Doc link for Flang Biweekly Sync call notes adds 6e689cbaf412 [memprof] Correct comment in test [NFC] adds d85eb4e2d62e [AsmParser] Introduce a new "Argument" abstraction + suppo [...] adds ac33c335bd99 [InstCombine] add tests for FP<->int casts; NFC adds c428a3d2a09e [LoopCacheAnalysis] Enable delinearization of fixed sized arrays adds 5227be8b6aa0 [clangd] More precisely enable clang warnings through Clan [...] adds dd1790cd05ae Thread safety analysis: Pack CapabilityExpr using PointerI [...] adds d65c922450d1 Thread safety analysis: Store CapabilityExprs in ScopedLoc [...] adds f8afb8fdedae Thread safety analysis: Store capability kind in CapabilityExpr adds 0314dbac026f Thread safety analysis: Don't pass capability kind where n [...] adds 02aa79578537 Revert "[JumpThreading][NFC][CompileTime] Do not recompute [...] adds 6e56c4961a10 Decr pc when looking for DWARF loc list entry mid-stack adds 9c8179f9ce10 LocationListLookup test case failing on lldb-arm-ubuntu adds 938ed8ae99f9 [MIPS] Address instruction selection failure for abs.[sd] adds 8c49ab040c67 [NVPTX] Add add.cc/addc.cc/sub.cc/subc.cc for i64 adds 4bdb505d6265 [Driver] Support for compressed debug info on Fuchsia adds 97b8a54b25f3 [LoopCacheAnalysis] Minor test case update adds 9db0037bf1b3 [libc] Add implementations of feof, ferror and clearerr. adds 6918a15f4315 Test commit. Fixed a typo in a comment. adds 73417c517644 [HLSL][clang][Driver] Support validator version command li [...] adds e36786d15fd8 [CSSPGO] Rename ProfileIsCSNested and ProfileIsCSFlat adds 19978e08749f [RISCV]Add CTZ Intrinsic for ZBB in Clang adds 65dbd8d7933a [SelectionDAG] Pre-commit test for D124696. NFC adds bdb8c50a1cf2 [CSSPGO] Turn on priority inlining for probe-only profile adds 26c82f3d1de1 Revert "[clangd] More precisely enable clang warnings thro [...] adds 5aa1a7b307ee [RISCV] Remove 'frameindex' from list for ComplexPattern. NFC adds 616dd4fe4ecc [gn build] Port 73417c517644 adds f91690f7db96 [RISCV] Don't merge addi into load/store address if addi h [...] adds 23b7e15c6755 [RISCV] Copy test from mem.ll to mem64.ll for completeness. NFC adds b5047c732978 [compiler-rt][profile][RISCV] Enable profile for RISC-V adds 9f7ac522ae1c [OpenMP] Fix printing commands twice in verbose mode adds 02c7de3a4c32 [RISCV] Precommit test for D124509 adds 41b951c92931 [RISCV] Fix int16 -> __fp16 conversion code gen adds 64421e191bb2 [BOLT][NFC] Reduce Target/{AArch64,X86} dependencies adds c069e37019f0 [RISCV] Add DAGCombine to fold base operation and reduction. adds a60ef98bb113 ClangDriverTests:ToolChainTest.cpp: Fix warnings. [-Wsign- [...] adds 816399cac247 Reland [clangd] More precisely enable clang warnings throu [...] adds 92235e3bf467 [X86] lowerShuffleAsRepeatedMaskAndLanePermute - permit 32 [...] adds 112e3d86870d Add a pre-commit test for D124426 adds 40a2e35599b5 [InstCombine] Remove the undef-related workaround code in [...] adds d563df88e9ed Revert "[msan][libcxx] Enable -fsanitize-memory-param-retval" adds ebbfe0136ea4 [MLIR][Presburger] subtraction: add support for divs defin [...] adds a9d68a5524de Generalize calls to ImplicitlyDefineFunction adds 24ba1302b38b AArch64: modify Swift async frame record storage on Windows adds e098281c278c [RISCV] Don't getDebugLoc for the end node of MBB iterator adds 786954db06ab Accept -fno-knr-functions as a driver flag as well adds 808c33ace547 [RISCV][AArch64] Pre-commit tests for D124711. NFC adds 6affe87bda20 [DAGCombiner] When matching a disguised rotate by constant [...] adds f10a8f675285 [LegalizeDAG] Fix TypeSize conversion error when expanding [...] adds 732b57d5f1b3 [SLP][X86] extractelement tests - use -mattr=avx2 instead [...] adds c6994ec12eb9 [PhaseOrdering][X86] Use passes="default<O3>" instead of p [...] adds 8b022f87b080 [SimpleLoopUnswitch] Freeze trivial conditions if needed. adds 6f80830f06f3 [PhaseOrdering][X86] Use passes="" instead of passes='' so [...] adds 841fffa74518 [LV] Add test for interleaving multiple iterations with call. adds 2e7e0975c001 [NVPTX] Prefix "$L__" for branch label names adds 09325d36061e [CAPI] Expose CastInst::getCastOpcode in C API adds 8a9e2dd48d81 [clang-tidy][NFC] Re-alphabetize the clang tidy release notes adds c2964746e339 [CostModel][X86] Reduce cost of vector selects on SSE2/AVX [...] adds 43c146c96d8e [clang-format] Take out common code for parsing blocks NFC adds 303ecc42d42f [flang] Add one semantic check for implicit interface adds 639b9618f46d [libc++][NFC] Replace _LIBCPP_INLINE_VISIBILTIY and _VSTD [...] adds d5198cf92f3e [CostModel][X86] Check for 'null op' truncations adds 57c55165ebe8 [analyzer] Fix return of llvm::StringRef to destroyed std::string adds cff0afc18497 [LoopVectorize][X86] Regenerate invariant-store-vectorization.ll adds 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 [...] new 946311b89381 [mlir] support isa/cast/dyn_cast<Operation *>(operation) new 986de8f50b99 [AArch64] Add more comprehensive reverse shuffle costmodel [...] new 597946a4dd2b [ConstantFold] Don't convert getelementptr to ptrtoint+inttoptr new 5a2e595eb833 [analyzer] Fix Static Analyzer g_memdup false-positive new 464c9833df80 [analyzer][docs] Document alpha.security.cert.pos.34c limitations new c8603db0711e [clang-format] Fix a bug that misformats Access Specifier [...] new a60fda59dc6b [mlir][OpenMP] Restrict types for omp.parallel args new aae5f8115a7c [Local] Consider atomic loads from constant global as dead new fd7efe33f1b2 [analyzer] Fix cast evaluation on scoped enums in ExprEngine new 86bb7df6e6ea [CostModel][X86] getScalarizationOverhead - handle vXi1 ex [...] new 5ce7050f701c [analyzer] Allow exploded graph dumps in release builds new 29dff0d4fb46 [analyzer] Allow CFG dumps in release builds new a23291b7db48 [Clang] Add integer add reduction builtin new 2dcb2d85626d [AArch64] Cost modelling for fptoi_sat new 2fec52a40261 tsan: model atomic read for failing CAS new c5e875f599c2 [SLP][X86] Add test coverage for PR41892 new d21289e042d0 [gn build] (manually) port fb7a435492a5 new 9082ebeb4f14 [InstCombine] Add tests for A+(B&~A) and A+((A&B)^B) (NFC) new c7662dc3e528 [X86] MOVDDUP has the same sched behaviour as MOVSHDUP/MOV [...] new 364c5023d2ce [libunwind] Add SystemZ support new 4b6c2cd647e9 Deferred Concept Instantiation Implementation new bdc3073147f8 [x86] update test file with complete auto-generated check [...] new 8bc0272c8cce [x86] add tests for int->FP->int casts; NFC new cb3fb085081c [AArch64] add tests for int->FP->int casts; NFC new 2e8a506142c2 [CodeGen] Add tests for X+(Y&~X) pattern (NFC) new 0c31da483897 Revert "Deferred Concept Instantiation Implementation" new 9a14c369c422 [X86] Replace avx512f integer add reduction builtins with [...] new e94045653106 BuildLibCalls: infer allocptr attribute for free and reall [...] new c7d39fd61ade [LV][SLP] Add tests for vectorizing fptoi_sat intrinsics. NFC new a97899108e49 Re-apply 4b6c2cd642 "Deferred Concept Instantiation Implem [...] new c7ae423e3906 BuildLibCalls: add alloc-family attribute to many allocato [...] new 5a47accda88c [Analyzer] Fix clang::ento::taint::dumpTaint definition new ce9c0faca161 [X86][AMX] combineLdSt - don't dereference dyn_cast. NFC new 59dc8ce95a0d [X86] Reduce some superfluous diffs between znver1/znver2 [...] new 5de0a3e9da72 [trace][intelpt] Support system-wide tracing [1] - Add a m [...] new f34639828f5a [Analyzer] Minor cleanups in StreamChecker new aa69cb76958c [gn build] Port 5de0a3e9da72 new 95fedfab6cfb [InstCombine] Handle non-canonical GEP index in indexed co [...]
The 38 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: .gitignore | 2 + bolt/lib/Passes/RetpolineInsertion.cpp | 2 +- bolt/lib/Target/AArch64/CMakeLists.txt | 9 +- bolt/lib/Target/X86/CMakeLists.txt | 9 +- bolt/test/AArch64/r_aarch64_prelxx.s | 60 + bolt/test/runtime/AArch64/r_aarch64_prelxx.s | 37 - clang-tools-extra/CMakeLists.txt | 1 + .../clang-tidy/modernize/MacroToEnumCheck.cpp | 32 +- .../clang-tidy/tool/clang-tidy-diff.py | 6 + .../clang-tidy/tool/run-clang-tidy.py | 13 +- clang-tools-extra/clangd/ASTSignals.cpp | 2 + clang-tools-extra/clangd/IncludeFixer.cpp | 1 - clang-tools-extra/clangd/ParsedAST.cpp | 77 +- clang-tools-extra/clangd/Protocol.cpp | 9 +- clang-tools-extra/clangd/Protocol.h | 1 + clang-tools-extra/clangd/Selection.cpp | 10 + clang-tools-extra/clangd/tool/Check.cpp | 25 +- clang-tools-extra/clangd/tool/ClangdMain.cpp | 19 +- .../clangd/unittests/DiagnosticsTests.cpp | 62 +- .../clangd/unittests/IncludeCleanerTests.cpp | 8 + clang-tools-extra/clangd/unittests/XRefsTests.cpp | 13 + clang-tools-extra/docs/ReleaseNotes.rst | 24 +- clang-tools-extra/include-cleaner/CMakeLists.txt | 5 + .../README.md} | 0 .../include-cleaner/lib/AnalysisInternal.h | 47 + .../include-cleaner/lib/CMakeLists.txt | 10 + clang-tools-extra/include-cleaner/lib/WalkAST.cpp | 47 + .../include-cleaner/test/CMakeLists.txt | 25 + .../include-cleaner/test/Unit/lit.cfg.py | 18 + .../include-cleaner/test/Unit/lit.site.cfg.py.in | 10 + clang-tools-extra/include-cleaner/test/lit.cfg.py | 16 + .../include-cleaner/test/lit.site.cfg.py.in | 14 + .../include-cleaner/unittests/CMakeLists.txt | 27 + .../include-cleaner/unittests/WalkASTTest.cpp | 110 + clang-tools-extra/test/.gitattributes | 18 +- .../checkers/modernize-macro-to-enum.cpp | 33 +- clang/cmake/caches/3-stage-base.cmake | 4 +- clang/cmake/caches/PGO-stage2.cmake | 3 +- clang/cmake/caches/PGO.cmake | 6 +- clang/docs/AddressSanitizer.rst | 3 +- clang/docs/ClangCommandLineReference.rst | 20 +- clang/docs/LanguageExtensions.rst | 5 + clang/docs/ReleaseNotes.rst | 25 +- clang/docs/analyzer/checkers.rst | 19 + clang/include/clang/AST/ASTContext.h | 3 + clang/include/clang/AST/Decl.h | 38 +- clang/include/clang/AST/DeclBase.h | 8 + clang/include/clang/AST/DeclObjC.h | 12 +- clang/include/clang/AST/Randstruct.h | 5 +- clang/include/clang/AST/RecursiveASTVisitor.h | 151 +- clang/include/clang/AST/Type.h | 2 + .../include/clang/Analysis/Analyses/ThreadSafety.h | 9 +- .../clang/Analysis/Analyses/ThreadSafetyCommon.h | 47 +- .../FlowSensitive/DataflowAnalysisContext.h | 57 +- .../Analysis/FlowSensitive/DataflowEnvironment.h | 15 +- clang/include/clang/Basic/AttrDocs.td | 3 + clang/include/clang/Basic/Builtins.def | 1 + clang/include/clang/Basic/BuiltinsRISCV.def | 2 + clang/include/clang/Basic/BuiltinsX86.def | 2 - clang/include/clang/Basic/Cuda.h | 7 + clang/include/clang/Basic/DiagnosticDriverKinds.td | 11 + clang/include/clang/Basic/DiagnosticGroups.td | 3 + clang/include/clang/Basic/DiagnosticIDs.h | 8 + clang/include/clang/Basic/DiagnosticParseKinds.td | 3 + clang/include/clang/Basic/DiagnosticSemaKinds.td | 2 - clang/include/clang/Basic/LangOptions.h | 6 + clang/include/clang/Basic/TargetOptions.h | 5 +- clang/include/clang/Basic/TokenKinds.def | 1 + clang/include/clang/Driver/Action.h | 11 +- clang/include/clang/Driver/Options.td | 42 +- clang/include/clang/Driver/ToolChain.h | 5 + clang/include/clang/Sema/Sema.h | 82 +- clang/include/clang/Sema/Template.h | 27 + clang/include/clang/Serialization/ASTReader.h | 12 + .../Core/PathSensitive/ProgramState.h | 4 - clang/include/clang/Testing/TestAST.h | 4 + .../DependencyScanningFilesystem.h | 6 +- .../DependencyScanning/DependencyScanningService.h | 7 - .../DependencyScanning/DependencyScanningWorker.h | 2 +- .../clang/Tooling/Inclusions/HeaderIncludes.h | 17 - clang/lib/AST/ASTContext.cpp | 9 +- clang/lib/AST/ASTImporter.cpp | 5 + clang/lib/AST/Decl.cpp | 29 +- clang/lib/AST/DeclBase.cpp | 10 + clang/lib/AST/DeclObjC.cpp | 11 +- clang/lib/AST/MicrosoftCXXABI.cpp | 14 + clang/lib/AST/Randstruct.cpp | 49 +- clang/lib/AST/TemplateName.cpp | 2 + clang/lib/AST/Type.cpp | 19 + clang/lib/Analysis/CFG.cpp | 12 +- .../FlowSensitive/DataflowAnalysisContext.cpp | 76 + .../Analysis/FlowSensitive/DataflowEnvironment.cpp | 125 +- clang/lib/Analysis/ThreadSafety.cpp | 281 +- clang/lib/Analysis/ThreadSafetyCommon.cpp | 37 +- clang/lib/Basic/Cuda.cpp | 4 + clang/lib/Basic/Diagnostic.cpp | 6 +- clang/lib/Basic/DiagnosticIDs.cpp | 30 +- clang/lib/Basic/Targets/AMDGPU.cpp | 20 + clang/lib/Basic/Targets/AVR.cpp | 3 + clang/lib/Basic/Targets/NVPTX.cpp | 4 + clang/lib/Basic/Targets/RISCV.h | 4 + clang/lib/CodeGen/BackendUtil.cpp | 5 +- clang/lib/CodeGen/CGBuiltin.cpp | 112 +- clang/lib/CodeGen/CGCUDANV.cpp | 3 + clang/lib/CodeGen/CGHLSLRuntime.cpp | 52 + clang/lib/CodeGen/CGHLSLRuntime.h | 38 + clang/lib/CodeGen/CGOpenMPRuntime.cpp | 101 +- clang/lib/CodeGen/CGOpenMPRuntime.h | 12 - clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp | 4 + clang/lib/CodeGen/CGStmtOpenMP.cpp | 207 +- clang/lib/CodeGen/CMakeLists.txt | 1 + clang/lib/CodeGen/CodeGenFunction.h | 48 +- clang/lib/CodeGen/CodeGenModule.cpp | 13 +- clang/lib/CodeGen/CodeGenModule.h | 9 + clang/lib/Driver/Action.cpp | 15 +- clang/lib/Driver/Driver.cpp | 209 +- clang/lib/Driver/SanitizerArgs.cpp | 4 +- clang/lib/Driver/ToolChains/Ananas.cpp | 14 +- clang/lib/Driver/ToolChains/Arch/X86.cpp | 4 +- clang/lib/Driver/ToolChains/Clang.cpp | 121 +- clang/lib/Driver/ToolChains/CommonArgs.cpp | 18 +- clang/lib/Driver/ToolChains/CommonArgs.h | 3 + clang/lib/Driver/ToolChains/Fuchsia.cpp | 1 + clang/lib/Driver/ToolChains/Gnu.cpp | 3 + clang/lib/Driver/ToolChains/HLSL.cpp | 50 + clang/lib/Driver/ToolChains/HLSL.h | 3 + clang/lib/Driver/ToolChains/Linux.cpp | 9 + clang/lib/Driver/ToolChains/Linux.h | 2 + clang/lib/Driver/ToolChains/MSVC.cpp | 9 + clang/lib/Driver/ToolChains/MSVC.h | 3 + clang/lib/Driver/ToolChains/Solaris.cpp | 12 +- clang/lib/ExtractAPI/ExtractAPIConsumer.cpp | 3 +- clang/lib/Format/Format.cpp | 51 +- clang/lib/Format/UnwrappedLineParser.cpp | 55 +- clang/lib/Format/UnwrappedLineParser.h | 1 + clang/lib/Frontend/CompilerInvocation.cpp | 7 +- clang/lib/Frontend/PrecompiledPreamble.cpp | 2 +- clang/lib/Headers/CMakeLists.txt | 484 +++- clang/lib/Headers/__wmmintrin_pclmul.h | 20 +- clang/lib/Headers/avx512fintrin.h | 8 +- clang/lib/Headers/avxintrin.h | 93 +- clang/lib/Headers/bmiintrin.h | 4 + clang/lib/Headers/emmintrin.h | 56 +- clang/lib/Headers/smmintrin.h | 4 +- clang/lib/Headers/xmmintrin.h | 12 +- clang/lib/Index/IndexBody.cpp | 11 +- clang/lib/Parse/ParseDeclCXX.cpp | 10 +- clang/lib/Sema/AnalysisBasedWarnings.cpp | 7 +- clang/lib/Sema/SemaChecking.cpp | 2 + clang/lib/Sema/SemaConcept.cpp | 297 ++- clang/lib/Sema/SemaDecl.cpp | 41 +- clang/lib/Sema/SemaDeclCXX.cpp | 5 + clang/lib/Sema/SemaExpr.cpp | 8 +- clang/lib/Sema/SemaExprCXX.cpp | 9 +- clang/lib/Sema/SemaInit.cpp | 6 +- clang/lib/Sema/SemaTemplate.cpp | 28 +- clang/lib/Sema/SemaTemplateDeduction.cpp | 11 +- clang/lib/Sema/SemaTemplateInstantiate.cpp | 47 +- clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 54 +- clang/lib/Sema/SemaType.cpp | 31 +- clang/lib/Sema/TreeTransform.h | 9 +- clang/lib/Serialization/ASTReader.cpp | 42 +- clang/lib/Serialization/ASTReaderDecl.cpp | 38 + clang/lib/Serialization/ASTWriterDecl.cpp | 3 + .../lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 4 +- .../Checkers/ObjCAutoreleaseWriteChecker.cpp | 6 +- .../Checkers/StdLibraryFunctionsChecker.cpp | 188 +- .../lib/StaticAnalyzer/Checkers/StreamChecker.cpp | 23 +- clang/lib/StaticAnalyzer/Checkers/Taint.cpp | 4 +- .../StaticAnalyzer/Core/BugReporterVisitors.cpp | 7 + clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 45 +- clang/lib/StaticAnalyzer/Core/SValBuilder.cpp | 4 +- clang/lib/Testing/TestAST.cpp | 4 + .../DependencyScanningFilesystem.cpp | 8 +- .../DependencyScanningService.cpp | 4 +- .../DependencyScanningWorker.cpp | 21 +- clang/lib/Tooling/Inclusions/HeaderIncludes.cpp | 33 +- 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 + .../std-c-library-functions-arg-constraints.c | 3 +- .../Analysis/std-c-library-functions-path-notes.c | 60 + clang/test/Analysis/z3-refute-enum-crash.cpp | 77 + .../temp.constr.constr/non-function-templates.cpp | 21 + clang/test/ClangScanDeps/regular_cdb.cpp | 5 - clang/test/CodeGen/RISCV/__fp16-convert.c | 28 + .../CodeGen/RISCV/rvb-intrinsics/riscv32-zbb.c | 12 + .../CodeGen/RISCV/rvb-intrinsics/riscv64-zbb.c | 12 + clang/test/CodeGen/X86/x86-cf-protection.c | 6 + .../negative/acle_sve2_cadd.c | 85 - .../negative/acle_sve2_cdot.c | 49 - .../negative/acle_sve2_cmla.c | 188 -- .../negative/acle_sve2_mla.c | 49 - .../negative/acle_sve2_mlalb.c | 49 - .../negative/acle_sve2_mlalt.c | 49 - .../negative/acle_sve2_mls.c | 49 - .../negative/acle_sve2_mlslb.c | 49 - .../negative/acle_sve2_mlslt.c | 49 - .../negative/acle_sve2_mul.c | 49 - .../negative/acle_sve2_mullb.c | 37 - .../negative/acle_sve2_mullt.c | 37 - .../negative/acle_sve2_qcadd.c | 37 - .../negative/acle_sve2_qdmlalb.c | 25 - .../negative/acle_sve2_qdmlalt.c | 25 - .../negative/acle_sve2_qdmlslb.c | 25 - .../negative/acle_sve2_qdmlslt.c | 25 - .../negative/acle_sve2_qdmulh.c | 31 - .../negative/acle_sve2_qdmullb.c | 25 - .../negative/acle_sve2_qdmullt.c | 25 - .../negative/acle_sve2_qrdcmlah.c | 115 - .../negative/acle_sve2_qrdmlah.c | 31 - .../negative/acle_sve2_qrdmlsh.c | 31 - .../negative/acle_sve2_qrdmulh.c | 31 - .../negative/acle_sve2_qrshrnb.c | 49 - .../negative/acle_sve2_qrshrnt.c | 49 - .../negative/acle_sve2_qrshrunb.c | 31 - .../negative/acle_sve2_qrshrunt.c | 31 - .../negative/acle_sve2_qshlu.c | 85 - .../negative/acle_sve2_qshrnb.c | 49 - .../negative/acle_sve2_qshrnt.c | 49 - .../negative/acle_sve2_qshrunb.c | 31 - .../negative/acle_sve2_qshrunt.c | 31 - .../negative/acle_sve2_rshr.c | 181 -- .../negative/acle_sve2_rshrnb.c | 49 - .../negative/acle_sve2_rshrnt.c | 49 - .../negative/acle_sve2_rsra.c | 61 - .../negative/acle_sve2_shllb.c | 49 - .../negative/acle_sve2_shllt.c | 49 - .../negative/acle_sve2_shrnb.c | 49 - .../negative/acle_sve2_shrnt.c | 49 - .../negative/acle_sve2_sli.c | 61 - .../negative/acle_sve2_sra.c | 61 - .../negative/acle_sve2_sri.c | 109 - .../negative/acle_sve2_xar.c | 85 - clang/test/CodeGen/attr-mrecip.c | 4 +- clang/test/CodeGen/builtins-reduction-math.c | 22 + clang/test/CodeGen/denormalfpmode-f32.c | 35 + clang/test/CodeGen/dump-struct-builtin.c | 406 ++- clang/test/CodeGenCUDA/host-used-extern.cu | 2 +- clang/test/CodeGenCUDA/struct-mangling-number.cu | 68 + clang/test/CodeGenHLSL/validator_version.hlsl | 10 + clang/test/CodeGenObjC/exceptions.m | 15 +- clang/test/CodeGenObjCXX/exceptions-legacy.mm | 11 +- clang/test/CodeGenOpenCL/amdgpu-features.cl | 8 + clang/test/Driver/amdgcn-toolchain-pic.cl | 10 +- clang/test/Driver/amdgpu-macros.cl | 4 + clang/test/Driver/amdgpu-mcpu.cl | 8 + clang/test/Driver/ananas.c | 11 +- .../test/Driver/avr-link-nostdlib-nodefaultlibs.c | 4 +- clang/test/Driver/cc-log-diagnostics.c | 2 +- clang/test/Driver/cc-print-options.c | 2 +- clang/test/Driver/cc-print-proc-stat.c | 4 +- clang/test/Driver/clang-exception-flags.cpp | 5 +- clang/test/Driver/compilation_database.c | 4 +- clang/test/Driver/compiler-rt-unwind.c | 22 +- clang/test/Driver/compress.c | 1 + clang/test/Driver/config-file3.c | 22 +- clang/test/Driver/constructors.c | 68 +- clang/test/Driver/coverage-ld.c | 20 +- clang/test/Driver/cuda-external-tools.cu | 52 +- clang/test/Driver/cuda-flush-denormals-to-zero.cu | 36 +- clang/test/Driver/cuda-openmp-driver.cu | 33 + clang/test/Driver/cuda-phases.cu | 29 + clang/test/Driver/darwin-max-type-align.c | 8 +- clang/test/Driver/darwin-sanitizer-ld.c | 46 +- clang/test/Driver/debug-options.c | 43 +- clang/test/Driver/default-includes.cl | 2 +- clang/test/Driver/env.c | 12 +- clang/test/Driver/frame-pointer-elim.c | 6 +- clang/test/Driver/freebsd.c | 92 +- clang/test/Driver/fsanitize.c | 24 + clang/test/Driver/function-sections.c | 52 +- clang/test/Driver/gfortran.f90 | 6 +- clang/test/Driver/hip-runtime-libs-linux.hip | 43 + clang/test/Driver/hip-runtime-libs-msvc.hip | 10 + clang/test/Driver/instrprof-ld.c | 64 +- clang/test/Driver/linker-wrapper.c | 8 + 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/mrecip.c | 14 + clang/test/Driver/myriad-toolchain.c | 34 +- clang/test/Driver/no-knr-functions.c | 4 + clang/test/Driver/nostdlib.c | 16 +- clang/test/Driver/openmp-offload-gpu-new.c | 16 +- clang/test/Driver/print-multi-directory.c | 12 +- clang/test/Driver/ps4-cpu-defaults.cpp | 7 - clang/test/Driver/ps4-ps5-cpu-defaults.cpp | 10 + clang/test/Driver/ps4-ps5-toolchain.c | 7 + clang/test/Driver/sanitizer-ld.c | 401 +-- clang/test/Driver/solaris-ld-values.c | 18 +- clang/test/Driver/solaris-ld-values.cpp | 10 +- clang/test/Driver/solaris-ld.c | 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/Misc/target-invalid-cpu-note.c | 4 +- clang/test/Modules/merge-extension-ivars.m | 146 + clang/test/Modules/redecl-ivars.m | 166 ++ clang/test/OpenMP/cancel_codegen.cpp | 680 ++--- clang/test/OpenMP/critical_codegen.cpp | 14 +- clang/test/OpenMP/critical_codegen_attr.cpp | 14 +- clang/test/OpenMP/masked_codegen.cpp | 2 + clang/test/OpenMP/master_codegen.cpp | 2 + clang/test/OpenMP/ordered_codegen.cpp | 2796 ++++++++++++++++++-- clang/test/OpenMP/parallel_for_scan_codegen.cpp | 7 + clang/test/ParserHLSL/access_specifiers.hlsl | 55 + clang/test/Preprocessor/avr-common.c | 7 +- clang/test/Preprocessor/macro_variadic.cl | 7 +- .../aarch64-sve2-intrinsics/acle_sve2_imm_lane.cpp | 183 ++ .../aarch64-sve2-intrinsics/acle_sve2_imm_n.cpp | 341 +++ .../acle_sve2_imm_rotation.cpp | 89 + clang/test/Sema/builtins-reduction-math.c | 17 + clang/test/Sema/c2x-warn-strict-prototypes.c | 9 + clang/test/Sema/init-randomized-struct.c | 13 + clang/test/SemaCXX/attr-trivial-abi.cpp | 59 + clang/test/SemaCXX/type-traits.cpp | 61 + clang/test/SemaCXX/warn-thread-safety-analysis.cpp | 4 +- clang/test/SemaObjCXX/arc-type-traits.mm | 10 +- clang/test/SemaObjCXX/objc-weak-type-traits.mm | 11 +- clang/test/SemaOpenCL/arm-integer-dot-product.cl | 16 +- clang/test/SemaOpenCL/clang-builtin-version.cl | 58 +- clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl | 26 +- clang/test/SemaOpenCL/invalid-block.cl | 2 +- clang/test/SemaOpenCL/to_addr_builtin.cl | 41 +- clang/test/SemaTemplate/concepts.cpp | 246 ++ clang/test/SemaTemplate/deferred-concept-inst.cpp | 23 + .../SemaTemplate/instantiate-requires-clause.cpp | 16 +- .../SemaTemplate/trailing-return-short-circuit.cpp | 62 + .../clang-linker-wrapper/ClangLinkerWrapper.cpp | 64 +- clang/tools/clang-scan-deps/ClangScanDeps.cpp | 10 +- clang/tools/driver/cc1_main.cpp | 3 +- clang/unittests/AST/RandstructTest.cpp | 170 +- clang/unittests/AST/TemplateNameTest.cpp | 1 + .../FlowSensitive/DataflowAnalysisContextTest.cpp | 50 + clang/unittests/Driver/ToolChainTest.cpp | 154 +- clang/unittests/Format/FormatTest.cpp | 9 + clang/unittests/Format/SortIncludesTest.cpp | 118 +- clang/unittests/Tooling/DependencyScannerTest.cpp | 8 +- .../Tooling/RecursiveASTVisitorTests/Concept.cpp | 95 +- compiler-rt/cmake/Modules/AddCompilerRT.cmake | 3 +- .../cmake/Modules/AllSupportedArchDefs.cmake | 3 +- compiler-rt/cmake/Modules/CompilerRTUtils.cmake | 3 + compiler-rt/cmake/base-config-ix.cmake | 2 + compiler-rt/cmake/builtin-config-ix.cmake | 4 +- compiler-rt/cmake/config-ix.cmake | 5 +- compiler-rt/cmake/crt-config-ix.cmake | 1 + compiler-rt/lib/asan/asan_flags.inc | 5 +- compiler-rt/lib/builtins/CMakeLists.txt | 9 + compiler-rt/lib/builtins/avr/exit.S | 18 + compiler-rt/lib/builtins/avr/mulhi3.S | 58 + compiler-rt/lib/builtins/avr/mulqi3.S | 31 + compiler-rt/lib/crt/CMakeLists.txt | 1 + compiler-rt/lib/tsan/rtl/tsan_fd.cpp | 37 + compiler-rt/lib/tsan/rtl/tsan_fd.h | 1 + .../lib/tsan/rtl/tsan_interceptors_posix.cpp | 4 +- compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp | 38 +- .../TestCases/Darwin/abort_on_error.cpp | 4 +- compiler-rt/test/tsan/Linux/epoll_norace.cpp | 42 + compiler-rt/test/tsan/atomic_norace3.cpp | 23 + flang/docs/Extensions.md | 1 + flang/docs/GettingInvolved.md | 3 +- flang/include/flang/Evaluate/constant.h | 1 + flang/include/flang/Frontend/CompilerInvocation.h | 2 +- flang/include/flang/Frontend/FrontendOptions.h | 4 +- flang/include/flang/FrontendTool/Utils.h | 7 - flang/include/flang/Lower/ConvertVariable.h | 8 + flang/include/flang/Lower/OpenACC.h | 4 + flang/include/flang/Lower/OpenMP.h | 3 + flang/include/flang/Lower/PFTBuilder.h | 8 +- flang/include/flang/Semantics/semantics.h | 32 + flang/lib/Evaluate/constant.cpp | 14 + flang/lib/Evaluate/fold-integer.cpp | 92 +- flang/lib/Evaluate/intrinsics-library.cpp | 3 + flang/lib/Frontend/CompilerInvocation.cpp | 3 - flang/lib/Frontend/FrontendAction.cpp | 1 - .../lib/FrontendTool/ExecuteCompilerInvocation.cpp | 23 +- flang/lib/Lower/Bridge.cpp | 221 +- flang/lib/Lower/ConvertVariable.cpp | 101 +- flang/lib/Lower/OpenACC.cpp | 26 +- flang/lib/Lower/OpenMP.cpp | 36 +- flang/lib/Lower/PFTBuilder.cpp | 10 +- flang/lib/Optimizer/CodeGen/CodeGen.cpp | 275 +- flang/lib/Optimizer/CodeGen/TargetRewrite.cpp | 143 +- flang/lib/Optimizer/CodeGen/TypeConverter.h | 16 +- flang/lib/Optimizer/Dialect/FIROps.cpp | 37 +- flang/lib/Semantics/check-call.cpp | 18 +- flang/lib/Semantics/check-case.cpp | 2 +- flang/lib/Semantics/compute-offsets.cpp | 1 + flang/lib/Semantics/mod-file.cpp | 9 +- flang/lib/Semantics/resolve-names.cpp | 6 + flang/lib/Semantics/semantics.cpp | 122 + flang/runtime/connection.h | 5 + flang/runtime/edit-input.cpp | 103 +- flang/runtime/edit-output.cpp | 128 +- flang/runtime/extrema.cpp | 23 +- flang/runtime/io-stmt.cpp | 11 +- flang/runtime/unit.cpp | 18 +- flang/test/Evaluate/fold-findloc.f90 | 15 + flang/test/Evaluate/folding08.f90 | 30 +- flang/test/Fir/addrof.fir | 2 +- flang/test/Fir/embox.fir | 2 +- flang/test/Fir/rebox.fir | 2 +- flang/test/Fir/widechar.fir | 22 + flang/test/Lower/OpenACC/Todo/acc-declare.f90 | 10 + flang/test/Lower/OpenACC/Todo/acc-routine.f90 | 12 + .../Lower/OpenMP/Todo/omp-declarative-allocate.f90 | 10 + .../Lower/OpenMP/Todo/omp-declare-reduction.f90 | 10 + flang/test/Lower/OpenMP/Todo/omp-declare-simd.f90 | 11 + .../test/Lower/OpenMP/Todo/omp-declare-target.f90 | 12 + flang/test/Lower/OpenMP/Todo/omp-threadprivate.f90 | 10 + flang/test/Lower/OpenMP/parallel.f90 | 42 +- flang/test/Lower/OpenMP/taskwait.f90 | 12 + flang/test/Lower/OpenMP/taskyield.f90 | 12 + flang/test/Lower/common-block-2.f90 | 37 + flang/test/Lower/common-block.f90 | 4 +- flang/test/Lower/do_loop.f90 | 209 ++ flang/test/Lower/fail_image.f90 | 20 + flang/test/Lower/module_definition.f90 | 42 +- flang/test/Lower/module_use.f90 | 7 +- flang/test/Lower/pointer-initial-target-2.f90 | 82 +- flang/test/Lower/pre-fir-tree04.f90 | 4 +- flang/test/Semantics/call02.f90 | 21 + flang/test/Semantics/case01.f90 | 10 +- flang/test/Semantics/common-blocks-warn.f90 | 16 + flang/test/Semantics/common-blocks.f90 | 23 + flang/test/Semantics/resolve42.f90 | 4 +- flang/unittests/Runtime/Reduction.cpp | 72 + libc/config/linux/x86_64/entrypoints.txt | 6 + libc/spec/gnu_ext.td | 15 + libc/spec/stdc.td | 15 + libc/src/__support/CPP/Limits.h | 3 +- libc/src/__support/CPP/TypeTraits.h | 7 +- libc/src/__support/FPUtil/PlatformDefs.h | 4 +- libc/src/__support/File/file.h | 59 +- libc/src/stdio/CMakeLists.txt | 72 + libc/src/stdio/clearerr.cpp | 20 + libc/src/stdio/clearerr.h | 20 + libc/src/stdio/clearerr_unlocked.cpp | 20 + libc/src/stdio/clearerr_unlocked.h | 20 + libc/src/stdio/feof.cpp | 20 + libc/src/stdio/feof.h | 20 + libc/src/stdio/feof_unlocked.cpp | 20 + libc/src/stdio/feof_unlocked.h | 20 + libc/src/stdio/ferror.cpp | 20 + libc/src/stdio/ferror.h | 20 + libc/src/stdio/ferror_unlocked.cpp | 20 + libc/src/stdio/ferror_unlocked.h | 20 + libc/test/src/__support/CPP/limits_test.cpp | 2 + .../src/__support/high_precision_decimal_test.cpp | 12 + libc/test/src/__support/str_to_float_test.cpp | 2 +- libc/test/src/stdio/CMakeLists.txt | 13 + libc/test/src/stdio/fileop_test.cpp | 33 +- libc/test/src/stdio/fopencookie_test.cpp | 22 +- libc/test/src/stdio/unlocked_fileop_test.cpp | 68 +- libc/test/src/stdlib/strtold_test.cpp | 2 + libc/test/src/threads/cnd_test.cpp | 2 +- libc/utils/UnitTest/LibcTest.cpp | 6 + libc/utils/testutils/ExecuteFunction.h | 4 +- libcxx/docs/FeatureTestMacroTable.rst | 2 +- libcxx/docs/Status/Cxx20Papers.csv | 2 +- libcxx/include/string | 1518 ++++++----- libcxx/include/version | 4 +- .../basic.string/string.capacity/max_size.pass.cpp | 2 - .../format.arg/visit_format_arg.pass.cpp | 2 - .../format.arguments/format.args/get.pass.cpp | 2 - .../string.version.compile.pass.cpp | 10 +- .../version.version.compile.pass.cpp | 10 +- .../strings/basic.string/string.access/at.pass.cpp | 12 +- .../basic.string/string.access/back.pass.cpp | 10 +- .../basic.string/string.access/front.pass.cpp | 10 +- .../basic.string/string.access/index.pass.cpp | 10 +- .../basic.string/string.capacity/capacity.pass.cpp | 17 +- .../basic.string/string.capacity/clear.pass.cpp | 8 +- .../basic.string/string.capacity/empty.pass.cpp | 8 +- .../basic.string/string.capacity/empty.verify.cpp | 6 +- .../basic.string/string.capacity/length.pass.cpp | 10 +- .../basic.string/string.capacity/max_size.pass.cpp | 22 +- .../string.capacity/over_max_size.pass.cpp | 5 +- .../basic.string/string.capacity/reserve.pass.cpp | 5 +- .../string.capacity/reserve_size.pass.cpp | 8 +- .../string.capacity/resize_and_overwrite.pass.cpp | 4 - .../string.capacity/resize_size.pass.cpp | 8 +- .../string.capacity/resize_size_char.pass.cpp | 8 +- .../string.capacity/shrink_to_fit.pass.cpp | 8 +- .../basic.string/string.capacity/size.pass.cpp | 8 +- .../basic.string/string.cons/T_size_size.pass.cpp | 8 +- .../basic.string/string.cons/alloc.pass.cpp | 6 +- .../string.cons/brace_assignment.pass.cpp | 6 +- .../string.cons/char_assignment.pass.cpp | 8 +- .../strings/basic.string/string.cons/copy.pass.cpp | 8 +- .../basic.string/string.cons/copy_alloc.pass.cpp | 8 +- .../string.cons/copy_assignment.pass.cpp | 8 +- .../basic.string/string.cons/default.pass.cpp | 6 +- .../strings/basic.string/string.cons/dtor.pass.cpp | 6 +- .../string.cons/implicit_deduction_guides.pass.cpp | 4 +- .../string.cons/initializer_list.pass.cpp | 8 +- .../initializer_list_assignment.pass.cpp | 6 +- .../basic.string/string.cons/iter_alloc.pass.cpp | 8 +- .../string.cons/iter_alloc_deduction.pass.cpp | 8 +- .../strings/basic.string/string.cons/move.pass.cpp | 8 +- .../basic.string/string.cons/move_alloc.pass.cpp | 8 +- .../string.cons/move_assign_noexcept.pass.cpp | 8 +- .../string.cons/move_assignment.pass.cpp | 8 +- .../string.cons/move_noexcept.pass.cpp | 2 +- .../string.cons/pointer_alloc.pass.cpp | 8 +- .../string.cons/pointer_assignment.pass.cpp | 8 +- .../string.cons/pointer_size_alloc.pass.cpp | 8 +- .../string.cons/size_char_alloc.pass.cpp | 10 +- .../basic.string/string.cons/string_view.pass.cpp | 8 +- .../string.cons/string_view_assignment.pass.cpp | 8 +- .../string.cons/string_view_deduction.pass.cpp | 8 +- .../string_view_size_size_deduction.pass.cpp | 8 +- .../basic.string/string.cons/substr.pass.cpp | 10 +- .../string.contains/contains.char.pass.cpp | 8 +- .../string.contains/contains.ptr.pass.cpp | 8 +- .../string.contains/contains.string_view.pass.cpp | 8 +- .../string.ends_with/ends_with.char.pass.cpp | 8 +- .../string.ends_with/ends_with.ptr.pass.cpp | 8 +- .../ends_with.string_view.pass.cpp | 8 +- .../basic.string/string.iterators/begin.pass.cpp | 10 +- .../basic.string/string.iterators/cbegin.pass.cpp | 8 +- .../basic.string/string.iterators/cend.pass.cpp | 8 +- .../basic.string/string.iterators/crbegin.pass.cpp | 8 +- .../basic.string/string.iterators/crend.pass.cpp | 8 +- .../basic.string/string.iterators/end.pass.cpp | 10 +- .../string.iterators/iterators.pass.cpp | 16 +- .../basic.string/string.iterators/rbegin.pass.cpp | 10 +- .../basic.string/string.iterators/rend.pass.cpp | 10 +- .../string.modifiers/robust_against_adl.pass.cpp | 4 +- .../string_append/T_size_size.pass.cpp | 8 +- .../string_append/initializer_list.pass.cpp | 8 +- .../string_append/iterator.pass.cpp | 8 +- .../string_append/pointer.pass.cpp | 8 +- .../string_append/pointer_size.pass.cpp | 8 +- .../string_append/push_back.pass.cpp | 8 +- .../string_append/size_char.pass.cpp | 8 +- .../string.modifiers/string_append/string.pass.cpp | 8 +- .../string_append/string_size_size.pass.cpp | 8 +- .../string_append/string_view.pass.cpp | 8 +- .../string_assign/T_size_size.pass.cpp | 8 +- .../string_assign/initializer_list.pass.cpp | 8 +- .../string_assign/iterator.pass.cpp | 8 +- .../string_assign/pointer.pass.cpp | 8 +- .../string_assign/pointer_size.pass.cpp | 8 +- .../string_assign/rv_string.pass.cpp | 8 +- .../string_assign/size_char.pass.cpp | 8 +- .../string.modifiers/string_assign/string.pass.cpp | 8 +- .../string_assign/string_size_size.pass.cpp | 12 +- .../string_assign/string_view.pass.cpp | 8 +- .../string.modifiers/string_copy/copy.pass.cpp | 12 +- .../string.modifiers/string_erase/iter.pass.cpp | 8 +- .../string_erase/iter_iter.pass.cpp | 8 +- .../string_erase/pop_back.pass.cpp | 8 +- .../string_erase/size_size.pass.cpp | 12 +- .../string_insert/iter_char.pass.cpp | 8 +- .../string_insert/iter_initializer_list.pass.cpp | 8 +- .../string_insert/iter_iter_iter.pass.cpp | 12 +- .../string_insert/iter_size_char.pass.cpp | 8 +- .../string_insert/size_T_size_size.pass.cpp | 74 +- .../string_insert/size_pointer.pass.cpp | 10 +- .../string_insert/size_pointer_size.pass.cpp | 345 +-- .../string_insert/size_size_char.pass.cpp | 10 +- .../string_insert/size_string.pass.cpp | 10 +- .../string_insert/size_string_size_size.pass.cpp | 70 +- .../string_insert/string_view.pass.cpp | 10 +- .../string_op_plus_equal/char.pass.cpp | 8 +- .../string_op_plus_equal/initializer_list.pass.cpp | 8 +- .../string_op_plus_equal/pointer.pass.cpp | 8 +- .../string_op_plus_equal/string.pass.cpp | 8 +- .../iter_iter_initializer_list.pass.cpp | 8 +- .../string_replace/iter_iter_iter_iter.pass.cpp | 30 +- .../string_replace/iter_iter_pointer.pass.cpp | 8 +- .../string_replace/iter_iter_pointer_size.pass.cpp | 26 +- .../string_replace/iter_iter_size_char.pass.cpp | 14 +- .../string_replace/iter_iter_string.pass.cpp | 41 +- .../string_replace/iter_iter_string_view.pass.cpp | 8 +- .../string_replace/size_size_T_size_size.pass.cpp | 124 +- .../string_replace/size_size_pointer.pass.cpp | 43 +- .../string_replace/size_size_pointer_size.pass.cpp | 30 +- .../string_replace/size_size_size_char.pass.cpp | 50 +- .../string_replace/size_size_string.pass.cpp | 44 +- .../size_size_string_size_size.pass.cpp | 120 +- .../string_replace/size_size_string_view.pass.cpp | 44 +- .../string.modifiers/string_swap/swap.pass.cpp | 8 +- .../string.nonmembers/string.special/swap.pass.cpp | 8 +- .../string.special/swap_noexcept.pass.cpp | 4 +- .../string_op!=/pointer_string.pass.cpp | 8 +- .../string_op!=/string_pointer.pass.cpp | 8 +- .../string_op!=/string_string.pass.cpp | 8 +- .../string_op!=/string_string_view.pass.cpp | 6 +- .../string_op!=/string_view_string.pass.cpp | 6 +- .../string_op+/allocator_propagation.pass.cpp | 6 +- .../string_op+/char_string.pass.cpp | 10 +- .../string_op+/pointer_string.pass.cpp | 10 +- .../string_op+/string_char.pass.cpp | 10 +- .../string_op+/string_pointer.pass.cpp | 10 +- .../string_op+/string_string.pass.cpp | 14 +- .../string_operator==/pointer_string.pass.cpp | 8 +- .../string_operator==/string_pointer.pass.cpp | 8 +- .../string_operator==/string_string.pass.cpp | 8 +- .../string_operator==/string_string_view.pass.cpp | 6 +- .../string_operator==/string_view_string.pass.cpp | 6 +- .../string_opgt/pointer_string.pass.cpp | 8 +- .../string_opgt/string_pointer.pass.cpp | 8 +- .../string_opgt/string_string.pass.cpp | 8 +- .../string_opgt/string_string_view.pass.cpp | 6 +- .../string_opgt/string_view_string.pass.cpp | 6 +- .../string_opgt=/pointer_string.pass.cpp | 8 +- .../string_opgt=/string_pointer.pass.cpp | 8 +- .../string_opgt=/string_string.pass.cpp | 8 +- .../string_opgt=/string_string_view.pass.cpp | 6 +- .../string_opgt=/string_view_string.pass.cpp | 6 +- .../string_oplt/pointer_string.pass.cpp | 8 +- .../string_oplt/string_pointer.pass.cpp | 8 +- .../string_oplt/string_string.pass.cpp | 8 +- .../string_oplt/string_string_view.pass.cpp | 6 +- .../string_oplt/string_view_string.pass.cpp | 6 +- .../string_oplt=/pointer_string.pass.cpp | 8 +- .../string_oplt=/string_pointer.pass.cpp | 8 +- .../string_oplt=/string_string.pass.cpp | 8 +- .../string_oplt=/string_string_view.pass.cpp | 6 +- .../string_oplt=/string_view_string.pass.cpp | 6 +- .../string.ops/string.accessors/c_str.pass.cpp | 8 +- .../string.ops/string.accessors/data.pass.cpp | 10 +- .../string.accessors/get_allocator.pass.cpp | 8 +- .../string.ops/string_compare/pointer.pass.cpp | 8 +- .../string_compare/size_size_T_size_size.pass.cpp | 294 +- .../string_compare/size_size_pointer.pass.cpp | 16 +- .../string_compare/size_size_pointer_size.pass.cpp | 32 +- .../string_compare/size_size_string.pass.cpp | 20 +- .../size_size_string_size_size.pass.cpp | 124 +- .../string_compare/size_size_string_view.pass.cpp | 10 +- .../string.ops/string_compare/string.pass.cpp | 8 +- .../string.ops/string_compare/string_view.pass.cpp | 8 +- .../string_find.first.not.of/char_size.pass.cpp | 8 +- .../string_find.first.not.of/pointer_size.pass.cpp | 8 +- .../pointer_size_size.pass.cpp | 8 +- .../string_find.first.not.of/string_size.pass.cpp | 8 +- .../string_view_size.pass.cpp | 8 +- .../string_find.first.of/char_size.pass.cpp | 8 +- .../string_find.first.of/pointer_size.pass.cpp | 8 +- .../pointer_size_size.pass.cpp | 8 +- .../string_find.first.of/string_size.pass.cpp | 8 +- .../string_find.first.of/string_view_size.pass.cpp | 8 +- .../string_find.last.not.of/char_size.pass.cpp | 8 +- .../string_find.last.not.of/pointer_size.pass.cpp | 8 +- .../pointer_size_size.pass.cpp | 8 +- .../string_find.last.not.of/string_size.pass.cpp | 8 +- .../string_view_size.pass.cpp | 16 +- .../string_find.last.of/char_size.pass.cpp | 8 +- .../string_find.last.of/pointer_size.pass.cpp | 8 +- .../string_find.last.of/pointer_size_size.pass.cpp | 8 +- .../string_find.last.of/string_size.pass.cpp | 8 +- .../string_find.last.of/string_view_size.pass.cpp | 8 +- .../string.ops/string_find/char_size.pass.cpp | 8 +- .../string.ops/string_find/pointer_size.pass.cpp | 8 +- .../string_find/pointer_size_size.pass.cpp | 10 +- .../string.ops/string_find/string_size.pass.cpp | 8 +- .../string_find/string_view_size.pass.cpp | 8 +- .../string.ops/string_rfind/char_size.pass.cpp | 8 +- .../string.ops/string_rfind/pointer_size.pass.cpp | 8 +- .../string_rfind/pointer_size_size.pass.cpp | 8 +- .../string.ops/string_rfind/string_size.pass.cpp | 8 +- .../string_rfind/string_view_size.pass.cpp | 8 +- .../string.ops/string_substr/substr.pass.cpp | 10 +- .../string.require/contiguous.pass.cpp | 8 +- .../string.starts_with/starts_with.char.pass.cpp | 8 +- .../string.starts_with/starts_with.ptr.pass.cpp | 8 +- .../starts_with.string_view.pass.cpp | 8 +- .../format.arg.store/class.pass.cpp | 2 - .../format.arg.store/make_format_args.pass.cpp | 2 - .../format.arg.store/make_format_args.sh.cpp | 2 - .../format.arg.store/make_wformat_args.pass.cpp | 2 - .../format.arg/operator_bool.pass.cpp | 2 - .../format.arguments/format.args/ctor.pass.cpp | 2 - .../format.context/format.context/arg.pass.cpp | 2 - .../format.context/format.context/ctor.pass.cpp | 2 - .../format.context/format.context/locale.pass.cpp | 2 - .../format.formatter.spec/formatter.char.pass.cpp | 2 - .../formatter.signed_integral.pass.cpp | 2 - .../formatter.unsigned_integral.pass.cpp | 2 - .../format/format.functions/format_tests.h | 6 +- libcxx/test/support/constexpr_char_traits.h | 3 +- .../generate_feature_test_macro_components.py | 2 +- libcxxabi/src/cxa_demangle.cpp | 5 +- libcxxabi/src/demangle/ItaniumDemangle.h | 2 +- libcxxabi/src/demangle/Utility.h | 25 +- libcxxabi/test/forced_unwind4.pass.cpp | 58 + libcxxabi/test/test_demangle.pass.cpp | 1 + libunwind/include/__libunwind_config.h | 7 + libunwind/include/libunwind.h | 42 + libunwind/src/Registers.hpp | 288 ++ libunwind/src/UnwindCursor.hpp | 8 + libunwind/src/UnwindRegistersRestore.S | 37 + libunwind/src/UnwindRegistersSave.S | 43 + libunwind/src/config.h | 2 +- libunwind/src/libunwind.cpp | 2 + lld/ELF/Driver.cpp | 7 +- .../ELF/linkerscript/Inputs/data-segment-relro.s | 11 - lld/test/ELF/linkerscript/data-segment-relro.test | 95 +- lld/test/ELF/lto/wrap-script-referenced.ll | 46 + lldb/docs/lldb-gdb-remote.txt | 4 +- lldb/docs/use/ondemand.rst | 158 ++ lldb/docs/use/python-reference.rst | 45 + lldb/include/lldb/Core/ModuleList.h | 2 + lldb/include/lldb/Symbol/SymbolFile.h | 14 + lldb/include/lldb/Symbol/SymbolFileOnDemand.h | 235 ++ lldb/include/lldb/Target/ABI.h | 14 + lldb/include/lldb/Target/Statistics.h | 2 + lldb/include/lldb/Target/ThreadPlanStack.h | 6 + lldb/include/lldb/Utility/LLDBLog.h | 1 + .../lldb/Utility/TraceIntelPTGDBRemotePackets.h | 6 + lldb/include/lldb/Version/Version.inc.in | 2 +- lldb/packages/Python/lldbsuite/test/lldbtest.py | 3 +- lldb/source/Commands/CommandObjectCommands.cpp | 4 +- lldb/source/Commands/CommandObjectMemory.cpp | 2 +- lldb/source/Core/CoreProperties.td | 4 + lldb/source/Core/Module.cpp | 7 +- lldb/source/Core/ModuleList.cpp | 6 + lldb/source/Expression/DWARFExpression.cpp | 17 +- lldb/source/Host/macosx/objcxx/Host.mm | 15 +- .../Host/posix/ConnectionFileDescriptorPosix.cpp | 3 +- lldb/source/Interpreter/CommandInterpreter.cpp | 12 +- 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 + .../ScriptInterpreter/Python/PythonDataObjects.cpp | 159 +- .../ScriptInterpreter/Python/PythonDataObjects.h | 13 - .../ScriptInterpreter/Python/PythonReadline.cpp | 25 +- .../Python/ScriptInterpreterPython.cpp | 28 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 140 +- .../source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp | 3 +- lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp | 22 +- .../SymbolFile/DWARF/DebugNamesDWARFIndex.cpp | 4 +- lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.cpp | 11 + .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 4 +- .../SymbolFile/NativePDB/SymbolFileNativePDB.cpp | 12 +- .../source/Plugins/SymbolFile/PDB/PDBASTParser.cpp | 15 +- .../source/Plugins/Trace/intel-pt/TraceIntelPT.cpp | 9 +- .../Trace/intel-pt/TraceIntelPTSessionSaver.cpp | 4 +- lldb/source/Symbol/CMakeLists.txt | 1 + lldb/source/Symbol/CompileUnit.cpp | 5 +- lldb/source/Symbol/LocateSymbolFileMacOSX.cpp.rej | 16 - lldb/source/Symbol/SymbolFile.cpp | 19 + lldb/source/Symbol/SymbolFileOnDemand.cpp | 590 +++++ lldb/source/Symbol/Symtab.cpp | 11 + lldb/source/Target/Process.cpp | 4 +- lldb/source/Target/Statistics.cpp | 20 +- lldb/source/Target/ThreadPlanStack.cpp | 4 + lldb/source/Utility/LLDBLog.cpp | 3 + .../Utility/TraceIntelPTGDBRemotePackets.cpp | 3 + .../functionalities/location-list-lookup/Makefile | 3 + .../location-list-lookup/TestLocationListLookup.py | 41 + .../functionalities/location-list-lookup/main.c | 23 + .../step_scripted/TestStepScripted.py | 31 +- lldb/test/API/lang/cpp/limit-debug-info/Makefile | 2 +- .../cpp/limit-debug-info/TestWithLimitDebugInfo.py | 6 +- lldb/test/API/lang/cpp/limit-debug-info/base.cpp | 2 + lldb/test/API/lang/cpp/limit-debug-info/base.h | 2 + .../test/API/lang/cpp/limit-debug-info/derived.cpp | 5 + lldb/test/API/lang/cpp/limit-debug-info/derived.h | 10 +- lldb/test/API/lang/cpp/limit-debug-info/main.cpp | 7 +- lldb/test/API/lldbtest.py | 10 - .../test/API/macosx/nslog/TestDarwinNSLogOutput.py | 10 +- .../TestDisassemble_VST1_64.py | 18 +- .../API/python_api/file_handle/TestFileHandle.py | 58 +- .../symbol_ondemand/breakpoint_language/Makefile | 4 + .../TestBreakpointLanguageOnDemand.py | 137 + .../symbol_ondemand/breakpoint_language/c_lang.c | 1 + .../breakpoint_language/cpp_lang.cpp | 1 + .../symbol_ondemand/breakpoint_language/main.cpp | 9 + .../breakpoint_source_regex}/Makefile | 0 .../TestSourceTextRegexBreakpoint.py | 36 + .../breakpoint_source_regex/main.cpp | 10 + .../API/symbol_ondemand/shared_library/Makefile | 5 + .../shared_library/TestSharedLibOnDemand.py | 160 ++ lldb/test/API/symbol_ondemand/shared_library/foo.c | 4 + lldb/test/API/symbol_ondemand/shared_library/foo.h | 6 + .../API/symbol_ondemand/shared_library/shared.c | 9 + lldb/test/API/terminal/TestSTTYBeforeAndAfter.py | 7 +- .../test/Shell/BuildScript/toolchain-clang-cl.test | 8 +- lldb/test/Shell/BuildScript/toolchain-clang.test | 8 +- lldb/test/Shell/BuildScript/toolchain-msvc.test | 8 +- .../Shell/SymbolFile/OnDemand/Inputs/basic.cpp | 5 + .../SymbolFile/OnDemand/source-breakpoint.test | 24 + .../SymbolFile/OnDemand/symbolic-breakpoint.test | 24 + lldb/test/Shell/helper/build.py | 19 +- lldb/test/Shell/lit.cfg.py | 3 +- .../Host/ConnectionFileDescriptorTest.cpp | 2 +- lldb/unittests/Process/Linux/CMakeLists.txt | 1 + lldb/unittests/Process/Linux/PerfTests.cpp | 1 + lldb/unittests/Process/Linux/ProcfsTests.cpp | 104 + .../Python/PythonDataObjectsTests.cpp | 28 - .../ScriptInterpreter/Python/PythonTestSuite.cpp | 4 - lldb/unittests/Symbol/SymtabTest.cpp | 414 +++ llvm/bindings/go/llvm/InstrumentationBindings.cpp | 6 - llvm/bindings/go/llvm/InstrumentationBindings.h | 1 - .../bindings/go/llvm/transforms_instrumentation.go | 4 - llvm/bindings/go/llvm/transforms_scalar.go | 1 - .../transforms/scalar_opts/llvm_scalar_opts.ml | 3 - .../transforms/scalar_opts/llvm_scalar_opts.mli | 5 - .../transforms/scalar_opts/scalar_opts_ocaml.c | 6 - llvm/cmake/modules/CMakeLists.txt | 6 +- llvm/docs/AMDGPUUsage.rst | 36 +- llvm/docs/AdvancedBuilds.rst | 8 +- llvm/docs/CodeGenerator.rst | 4 +- llvm/docs/CodeOfConduct.rst | 2 +- llvm/docs/LangRef.rst | 43 +- llvm/docs/ReleaseNotes.rst | 12 + llvm/docs/ReportingGuide.rst | 6 +- llvm/docs/ResponseGuide.rst | 6 +- llvm/docs/TestingGuide.rst | 7 + llvm/include/llvm-c/Core.h | 3 + llvm/include/llvm-c/Transforms/Scalar.h | 3 - .../llvm/Analysis/FunctionPropertiesAnalysis.h | 4 +- llvm/include/llvm/Analysis/LoopCacheAnalysis.h | 11 +- llvm/include/llvm/Analysis/ScalarEvolution.h | 4 + llvm/include/llvm/Analysis/TargetTransformInfo.h | 6 +- .../llvm/Analysis/TargetTransformInfoImpl.h | 27 +- llvm/include/llvm/Analysis/VectorUtils.h | 2 +- llvm/include/llvm/AsmParser/LLToken.h | 84 +- llvm/include/llvm/BinaryFormat/ELF.h | 8 +- llvm/include/llvm/Bitcode/LLVMBitCodes.h | 1 + llvm/include/llvm/CodeGen/BasicTTIImpl.h | 28 +- llvm/include/llvm/CodeGen/FunctionLoweringInfo.h | 4 + llvm/include/llvm/CodeGen/MachineBasicBlock.h | 6 + llvm/include/llvm/CodeGen/MachineFrameInfo.h | 8 + llvm/include/llvm/CodeGen/MachineMemOperand.h | 2 - llvm/include/llvm/CodeGen/MachineModuleInfo.h | 3 + llvm/include/llvm/CodeGen/MachinePipeliner.h | 16 +- llvm/include/llvm/CodeGen/ModuloSchedule.h | 4 +- llvm/include/llvm/Demangle/ItaniumDemangle.h | 2 +- llvm/include/llvm/Demangle/Utility.h | 25 +- llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h | 96 +- llvm/include/llvm/Frontend/OpenMP/OMPKinds.def | 2 + llvm/include/llvm/IR/Attributes.h | 3 + llvm/include/llvm/IR/Attributes.td | 5 +- llvm/include/llvm/IR/Constants.h | 5 + llvm/include/llvm/InitializePasses.h | 1 - llvm/include/llvm/LinkAllPasses.h | 1 - llvm/include/llvm/MC/MCAsmInfo.h | 14 + llvm/include/llvm/MC/MCDirectives.h | 1 + llvm/include/llvm/MC/MCSectionXCOFF.h | 3 + llvm/include/llvm/MC/MCTargetOptions.h | 12 +- llvm/include/llvm/ProfileData/SampleProf.h | 12 +- llvm/include/llvm/ProfileData/SampleProfReader.h | 14 +- llvm/include/llvm/Support/ARMBuildAttributes.h | 39 +- llvm/include/llvm/Support/ARMTargetParser.def | 8 +- llvm/include/llvm/Support/CrashRecoveryContext.h | 3 + llvm/include/llvm/Support/Debug.h | 4 +- llvm/include/llvm/Support/SourceMgr.h | 10 +- llvm/include/llvm/Support/TargetParser.h | 7 +- .../llvm/Transforms/IPO/ArgumentPromotion.h | 4 +- .../llvm/Transforms/IPO/ProfiledCallGraph.h | 2 +- .../Transforms/Instrumentation/ThreadSanitizer.h | 2 - llvm/include/llvm/Transforms/Scalar.h | 7 - llvm/include/llvm/Transforms/Scalar/GVN.h | 2 + .../llvm/Transforms/Utils/SimplifyLibCalls.h | 6 +- llvm/lib/Analysis/ConstantFolding.cpp | 28 +- llvm/lib/Analysis/LoopCacheAnalysis.cpp | 67 +- llvm/lib/Analysis/ScalarEvolution.cpp | 81 +- llvm/lib/Analysis/TargetTransformInfo.cpp | 2 +- llvm/lib/Analysis/VectorUtils.cpp | 4 +- llvm/lib/AsmParser/LLLexer.cpp | 86 +- llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 + llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 + llvm/lib/CodeGen/LLVMTargetMachine.cpp | 17 +- llvm/lib/CodeGen/MachineModuleInfo.cpp | 7 + llvm/lib/CodeGen/MachinePipeliner.cpp | 97 +- llvm/lib/CodeGen/ModuloSchedule.cpp | 17 +- llvm/lib/CodeGen/PrologEpilogInserter.cpp | 27 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 107 +- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 2 +- .../CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 11 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 19 +- .../CodeGen/SelectionDAG/StatepointLowering.cpp | 35 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 8 + llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp | 9 +- .../PDB/Native/NativeInlineSiteSymbol.cpp | 11 +- llvm/lib/Demangle/DLangDemangle.cpp | 3 + llvm/lib/Demangle/ItaniumDemangle.cpp | 21 +- llvm/lib/Demangle/MicrosoftDemangle.cpp | 17 +- llvm/lib/Demangle/MicrosoftDemangleNodes.cpp | 1 + llvm/lib/Demangle/RustDemangle.cpp | 3 + llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp | 197 +- llvm/lib/IR/Attributes.cpp | 14 +- llvm/lib/IR/Constants.cpp | 11 + llvm/lib/IR/Core.cpp | 6 + llvm/lib/MC/MCAsmStreamer.cpp | 5 + llvm/lib/MC/MCELFStreamer.cpp | 1 + llvm/lib/MC/MCMachOStreamer.cpp | 1 + llvm/lib/MC/MCTargetOptions.cpp | 8 +- llvm/lib/MC/MCWasmStreamer.cpp | 1 + llvm/lib/MC/MCXCOFFStreamer.cpp | 3 + llvm/lib/MC/XCOFFObjectWriter.cpp | 14 +- llvm/lib/Object/ELFObjectFile.cpp | 13 + llvm/lib/ObjectYAML/ELFYAML.cpp | 4 + llvm/lib/ProfileData/ProfileSummaryBuilder.cpp | 2 +- llvm/lib/ProfileData/SampleProf.cpp | 9 +- llvm/lib/ProfileData/SampleProfReader.cpp | 26 +- llvm/lib/ProfileData/SampleProfWriter.cpp | 23 +- llvm/lib/Support/ARMAttributeParser.cpp | 2 +- llvm/lib/Support/CrashRecoveryContext.cpp | 13 +- llvm/lib/Support/TargetParser.cpp | 8 + llvm/lib/Target/AArch64/AArch64FrameLowering.cpp | 12 +- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 120 +- llvm/lib/Target/AArch64/AArch64PerfectShuffle.h | 34 + .../Target/AArch64/AArch64TargetTransformInfo.cpp | 146 +- .../Target/AArch64/AArch64TargetTransformInfo.h | 2 +- .../AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp | 2 + llvm/lib/Target/AMDGPU/AMDGPU.h | 3 + llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp | 166 ++ llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | 6 + .../Target/AMDGPU/AMDGPUTargetTransformInfo.cpp | 2 +- llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h | 2 +- .../Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | 21 +- llvm/lib/Target/AMDGPU/BUFInstructions.td | 18 +- llvm/lib/Target/AMDGPU/CMakeLists.txt | 1 + llvm/lib/Target/AMDGPU/FLATInstructions.td | 3 + .../AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp | 8 + llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp | 14 +- llvm/lib/Target/ARM/ARM.td | 5 + llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | 74 + llvm/lib/Target/ARM/ARMBaseInstrInfo.h | 5 + llvm/lib/Target/ARM/ARMSubtarget.cpp | 8 + llvm/lib/Target/ARM/ARMSubtarget.h | 5 + llvm/lib/Target/ARM/ARMTargetMachine.cpp | 3 + llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 2 +- llvm/lib/Target/ARM/ARMTargetTransformInfo.h | 2 +- .../Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp | 4 +- llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp | 1 + .../DirectX/DXILWriter/DXILBitcodeWriter.cpp | 73 +- .../Target/Hexagon/HexagonTargetTransformInfo.cpp | 2 +- .../Target/Hexagon/HexagonTargetTransformInfo.h | 2 +- llvm/lib/Target/Mips/MipsISelLowering.cpp | 32 +- llvm/lib/Target/Mips/MipsISelLowering.h | 8 + llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp | 32 + .../Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp | 7 + llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp | 11 + llvm/lib/Target/NVPTX/NVPTXInstrInfo.td | 46 +- .../PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp | 7 +- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 7 +- llvm/lib/Target/PowerPC/PPCInstrInfo.h | 93 + llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp | 2 +- llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h | 2 +- llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp | 68 +- llvm/lib/Target/RISCV/RISCV.h | 2 +- llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp | 2 +- llvm/lib/Target/RISCV/RISCVFrameLowering.cpp | 12 +- llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 111 +- llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h | 1 + llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 293 +- llvm/lib/Target/RISCV/RISCVISelLowering.h | 1 + llvm/lib/Target/RISCV/RISCVInstrInfo.td | 2 +- llvm/lib/Target/RISCV/RISCVInstrInfoF.td | 2 +- llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td | 27 +- llvm/lib/Target/RISCV/RISCVInstrInfoZb.td | 22 +- llvm/lib/Target/RISCV/RISCVMCInstLower.cpp | 4 +- llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp | 7 +- llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h | 2 +- llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 40 + llvm/lib/Target/SystemZ/SystemZISelLowering.h | 1 + .../Target/SystemZ/SystemZTargetTransformInfo.cpp | 2 +- .../Target/SystemZ/SystemZTargetTransformInfo.h | 2 +- llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp | 66 +- llvm/lib/Target/X86/AsmParser/X86Operand.h | 19 +- llvm/lib/Target/X86/X86FrameLowering.cpp | 16 - llvm/lib/Target/X86/X86ISelLowering.cpp | 408 +-- llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp | 17 + llvm/lib/Target/X86/X86InstrInfo.cpp | 29 + llvm/lib/Target/X86/X86InstrInfo.h | 2 + llvm/lib/Target/X86/X86LowerAMXType.cpp | 100 +- 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 | 105 +- llvm/lib/Target/X86/X86TargetTransformInfo.h | 2 +- llvm/lib/Target/XCore/XCoreISelLowering.cpp | 50 +- llvm/lib/Transforms/IPO/ArgumentPromotion.cpp | 89 +- llvm/lib/Transforms/IPO/Attributor.cpp | 10 + llvm/lib/Transforms/IPO/OpenMPOpt.cpp | 6 +- llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 26 +- llvm/lib/Transforms/IPO/SampleProfile.cpp | 65 +- .../Transforms/InstCombine/InstCombineAndOrXor.cpp | 154 +- .../Transforms/InstCombine/InstCombineCalls.cpp | 9 + .../Transforms/InstCombine/InstCombineCompares.cpp | 39 +- .../Transforms/InstCombine/InstCombineInternal.h | 6 +- .../InstCombine/InstCombineLoadStoreAlloca.cpp | 2 + .../Transforms/InstCombine/InstCombineSelect.cpp | 102 +- .../Transforms/InstCombine/InstCombineShifts.cpp | 63 +- .../InstCombine/InstructionCombining.cpp | 106 +- .../Instrumentation/ControlHeightReduction.cpp | 15 +- .../Transforms/Instrumentation/Instrumentation.cpp | 1 - .../Transforms/Instrumentation/ThreadSanitizer.cpp | 45 - llvm/lib/Transforms/Scalar/CMakeLists.txt | 1 - llvm/lib/Transforms/Scalar/GVN.cpp | 45 +- .../Scalar/InductiveRangeCheckElimination.cpp | 8 +- llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp | 6 +- llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp | 6 +- llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 551 ++-- llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp | 6 +- llvm/lib/Transforms/Scalar/LoopUnswitch.cpp | 1772 ------------- llvm/lib/Transforms/Scalar/Scalar.cpp | 5 - llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp | 29 +- llvm/lib/Transforms/Utils/BuildLibCalls.cpp | 32 +- llvm/lib/Transforms/Utils/CodeExtractor.cpp | 1 + llvm/lib/Transforms/Utils/CtorUtils.cpp | 5 +- llvm/lib/Transforms/Utils/Evaluator.cpp | 2 + llvm/lib/Transforms/Utils/Local.cpp | 7 + llvm/lib/Transforms/Utils/SCCPSolver.cpp | 2 +- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 30 +- llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 140 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 25 +- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 45 +- llvm/lib/Transforms/Vectorize/VPlan.cpp | 52 +- llvm/lib/Transforms/Vectorize/VectorCombine.cpp | 136 +- llvm/test/Analysis/CostModel/AArch64/fptoi_sat.ll | 329 ++- .../Analysis/CostModel/AArch64/shuffle-load.ll | 38 +- .../Analysis/CostModel/AArch64/shuffle-other.ll | 76 +- .../Analysis/CostModel/AArch64/shuffle-reverse.ll | 96 +- .../Analysis/CostModel/AArch64/shuffle-select.ll | 2 +- llvm/test/Analysis/CostModel/AArch64/splat-load.ll | 149 -- llvm/test/Analysis/CostModel/ARM/fptoi_sat.ll | 600 ++--- llvm/test/Analysis/CostModel/RISCV/rvv-shuffle.ll | 22 +- .../Analysis/CostModel/RISCV/shuffle-broadcast.ll | 104 + llvm/test/Analysis/CostModel/X86/arith-fix.ll | 160 +- llvm/test/Analysis/CostModel/X86/arith-overflow.ll | 120 +- llvm/test/Analysis/CostModel/X86/arith-sminmax.ll | 72 +- llvm/test/Analysis/CostModel/X86/arith-ssat.ll | 24 +- llvm/test/Analysis/CostModel/X86/arith-uminmax.ll | 48 +- llvm/test/Analysis/CostModel/X86/arith-usat.ll | 24 +- llvm/test/Analysis/CostModel/X86/fptoi_sat.ll | 1889 ++++++------- llvm/test/Analysis/CostModel/X86/fshl.ll | 160 +- llvm/test/Analysis/CostModel/X86/fshr.ll | 160 +- .../Analysis/CostModel/X86/intrinsic-cost-kinds.ll | 8 +- .../X86/masked-intrinsic-cost-inseltpoison.ll | 256 +- .../CostModel/X86/masked-intrinsic-cost.ll | 256 +- llvm/test/Analysis/CostModel/X86/reduce-smax.ll | 64 +- llvm/test/Analysis/CostModel/X86/reduce-smin.ll | 64 +- llvm/test/Analysis/CostModel/X86/reduce-umax.ll | 48 +- llvm/test/Analysis/CostModel/X86/reduce-umin.ll | 48 +- llvm/test/Analysis/CostModel/X86/reduction.ll | 168 +- llvm/test/Analysis/CostModel/X86/shuffle-load.ll | 473 ++++ .../Analysis/CostModel/X86/shuffle-non-pow-2.ll | 31 + .../CostModel/X86/shuffle-replication-i1.ll | 781 +++--- .../Analysis/CostModel/X86/shuffle-single-src.ll | 100 +- llvm/test/Analysis/CostModel/X86/splat-load.ll | 51 - llvm/test/Analysis/CostModel/X86/vselect-cost.ll | 58 +- .../LoopCacheAnalysis/PowerPC/LoopnestFixedSize.ll | 160 ++ .../LoopCacheAnalysis/PowerPC/loads-store.ll | 6 +- .../Analysis/LoopCacheAnalysis/PowerPC/matmul.ll | 6 +- .../LoopCacheAnalysis/PowerPC/matvecmul.ll | 10 +- .../LoopCacheAnalysis/PowerPC/single-store.ll | 6 +- .../Analysis/LoopCacheAnalysis/PowerPC/stencil.ll | 4 +- llvm/test/Analysis/MemorySSA/pr40038.ll | 2 +- .../Analysis/ScalarEvolution/pointer-rounding.ll | 169 ++ .../Analysis/ScalarEvolution/pointer-select.ll | 247 ++ llvm/test/Bindings/OCaml/scalar_opts.ml | 1 - llvm/test/Bitcode/compatibility.ll | 2 + llvm/test/CodeGen/AArch64/arm64-andCmpBrToTBZ.ll | 2 +- llvm/test/CodeGen/AArch64/float-conv-elim.ll | 92 + llvm/test/CodeGen/AArch64/pr55178.ll | 19 + llvm/test/CodeGen/AArch64/pr55201.ll | 17 + .../AArch64/sve-fixed-length-masked-gather.ll | 9 +- .../AArch64/sve-fixed-length-masked-scatter.ll | 9 +- .../AArch64/sve-gather-scatter-addr-opts.ll | 92 +- llvm/test/CodeGen/AArch64/sve-sext-zext.ll | 21 + llvm/test/CodeGen/AArch64/swift-async-win.ll | 62 + llvm/test/CodeGen/AMDGPU/lds-dma-waitcnt.mir | 98 + llvm/test/CodeGen/AMDGPU/set-wave-priority.ll | 153 ++ llvm/test/CodeGen/AMDGPU/setcc-multiple-use.ll | 30 + llvm/test/CodeGen/ARM/O3-pipeline.ll | 7 + .../CodeGen/MIR/X86/machine-verifier-address.mir | 31 + llvm/test/CodeGen/Mips/bittest.ll | 659 +++++ llvm/test/CodeGen/Mips/llvm-ir/nan-fp-attr.ll | 327 +++ llvm/test/CodeGen/NVPTX/LoadStoreVectorizer.ll | 3 + llvm/test/CodeGen/NVPTX/MachineSink-call.ll | 2 + llvm/test/CodeGen/NVPTX/MachineSink-convergent.ll | 2 + .../CodeGen/NVPTX/TailDuplication-convergent.ll | 1 + llvm/test/CodeGen/NVPTX/access-non-generic.ll | 2 + llvm/test/CodeGen/NVPTX/add-128bit.ll | 19 - llvm/test/CodeGen/NVPTX/add-sub-128bit.ll | 36 + llvm/test/CodeGen/NVPTX/addrspacecast-gvar.ll | 1 + llvm/test/CodeGen/NVPTX/addrspacecast.ll | 3 + llvm/test/CodeGen/NVPTX/aggr-param.ll | 1 + llvm/test/CodeGen/NVPTX/aggregate-return.ll | 1 + llvm/test/CodeGen/NVPTX/annotations.ll | 2 + llvm/test/CodeGen/NVPTX/arg-lowering.ll | 1 + llvm/test/CodeGen/NVPTX/arithmetic-fp-sm20.ll | 2 + llvm/test/CodeGen/NVPTX/arithmetic-int.ll | 2 + llvm/test/CodeGen/NVPTX/async-copy.ll | 4 +- llvm/test/CodeGen/NVPTX/atomics-sm60.ll | 2 + llvm/test/CodeGen/NVPTX/atomics-with-scope.ll | 2 + llvm/test/CodeGen/NVPTX/atomics.ll | 1 + llvm/test/CodeGen/NVPTX/b52037.ll | 1 + llvm/test/CodeGen/NVPTX/barrier.ll | 1 + llvm/test/CodeGen/NVPTX/bfe.ll | 1 + llvm/test/CodeGen/NVPTX/branch-fold.ll | 2 + llvm/test/CodeGen/NVPTX/bug17709.ll | 1 + llvm/test/CodeGen/NVPTX/bug21465.ll | 1 + llvm/test/CodeGen/NVPTX/bug22246.ll | 1 + llvm/test/CodeGen/NVPTX/bug22322.ll | 1 + llvm/test/CodeGen/NVPTX/bug26185-2.ll | 1 + llvm/test/CodeGen/NVPTX/bug26185.ll | 1 + llvm/test/CodeGen/NVPTX/bug41651.ll | 2 + llvm/test/CodeGen/NVPTX/bypass-div.ll | 1 + llvm/test/CodeGen/NVPTX/call-with-alloca-buffer.ll | 1 + llvm/test/CodeGen/NVPTX/callchain.ll | 1 + llvm/test/CodeGen/NVPTX/calling-conv.ll | 2 + llvm/test/CodeGen/NVPTX/calls-with-phi.ll | 2 + llvm/test/CodeGen/NVPTX/combine-min-max.ll | 1 + llvm/test/CodeGen/NVPTX/compare-int.ll | 2 + llvm/test/CodeGen/NVPTX/constant-vectors.ll | 1 + llvm/test/CodeGen/NVPTX/convert-fp.ll | 2 + llvm/test/CodeGen/NVPTX/convert-int-sm20.ll | 2 + llvm/test/CodeGen/NVPTX/convert-sm80.ll | 1 + llvm/test/CodeGen/NVPTX/ctlz.ll | 1 + llvm/test/CodeGen/NVPTX/ctpop.ll | 1 + llvm/test/CodeGen/NVPTX/cttz.ll | 1 + llvm/test/CodeGen/NVPTX/disable-opt.ll | 1 + llvm/test/CodeGen/NVPTX/div-ri.ll | 1 + llvm/test/CodeGen/NVPTX/divrem-combine.ll | 2 + llvm/test/CodeGen/NVPTX/envreg.ll | 1 + llvm/test/CodeGen/NVPTX/extloadv.ll | 1 + llvm/test/CodeGen/NVPTX/f16-ex2.ll | 1 + llvm/test/CodeGen/NVPTX/f16-instructions.ll | 25 +- llvm/test/CodeGen/NVPTX/f16x2-instructions.ll | 16 + llvm/test/CodeGen/NVPTX/fast-math.ll | 1 + llvm/test/CodeGen/NVPTX/fma-assoc.ll | 2 + llvm/test/CodeGen/NVPTX/fma-disable.ll | 4 + llvm/test/CodeGen/NVPTX/fma.ll | 1 + llvm/test/CodeGen/NVPTX/fminimum-fmaximum.ll | 2 + llvm/test/CodeGen/NVPTX/fns.ll | 1 + llvm/test/CodeGen/NVPTX/fp-contract.ll | 2 + llvm/test/CodeGen/NVPTX/fp-literals.ll | 1 + llvm/test/CodeGen/NVPTX/fp16.ll | 1 + llvm/test/CodeGen/NVPTX/function-align.ll | 1 + llvm/test/CodeGen/NVPTX/generic-to-nvvm.ll | 1 + llvm/test/CodeGen/NVPTX/global-addrspace.ll | 2 + llvm/test/CodeGen/NVPTX/global-ordering.ll | 2 + llvm/test/CodeGen/NVPTX/global-variable-big.ll | 2 + llvm/test/CodeGen/NVPTX/global-visibility.ll | 1 + llvm/test/CodeGen/NVPTX/globals_init.ll | 1 + llvm/test/CodeGen/NVPTX/globals_lowering.ll | 1 + llvm/test/CodeGen/NVPTX/half.ll | 1 + llvm/test/CodeGen/NVPTX/i1-global.ll | 1 + llvm/test/CodeGen/NVPTX/i1-int-to-fp.ll | 1 + llvm/test/CodeGen/NVPTX/i1-param.ll | 1 + llvm/test/CodeGen/NVPTX/i128-global.ll | 1 + llvm/test/CodeGen/NVPTX/i128-param.ll | 1 + llvm/test/CodeGen/NVPTX/i128-retval.ll | 1 + llvm/test/CodeGen/NVPTX/i128-struct.ll | 1 + llvm/test/CodeGen/NVPTX/i8-param.ll | 1 + llvm/test/CodeGen/NVPTX/idioms.ll | 2 + llvm/test/CodeGen/NVPTX/imad.ll | 1 + llvm/test/CodeGen/NVPTX/inline-asm.ll | 2 +- .../CodeGen/NVPTX/inlineasm-output-template.ll | 1 + llvm/test/CodeGen/NVPTX/intrinsic-old.ll | 2 + llvm/test/CodeGen/NVPTX/intrinsics.ll | 2 + llvm/test/CodeGen/NVPTX/isspacep.ll | 1 + llvm/test/CodeGen/NVPTX/ld-addrspace.ll | 3 + llvm/test/CodeGen/NVPTX/ld-generic.ll | 2 + llvm/test/CodeGen/NVPTX/ld-st-addrrspace.py | 2 + llvm/test/CodeGen/NVPTX/ldg-invariant.ll | 1 + llvm/test/CodeGen/NVPTX/ldparam-v4.ll | 1 + llvm/test/CodeGen/NVPTX/ldu-i8.ll | 1 + llvm/test/CodeGen/NVPTX/ldu-ldg.ll | 1 + llvm/test/CodeGen/NVPTX/ldu-reg-plus-offset.ll | 1 + llvm/test/CodeGen/NVPTX/libcall-fulfilled.ll | 2 + llvm/test/CodeGen/NVPTX/load-sext-i1.ll | 1 + llvm/test/CodeGen/NVPTX/load-store.ll | 1 + .../CodeGen/NVPTX/load-with-non-coherent-cache.ll | 2 + llvm/test/CodeGen/NVPTX/local-stack-frame.ll | 2 + llvm/test/CodeGen/NVPTX/lower-aggr-copies.ll | 23 +- llvm/test/CodeGen/NVPTX/lower-alloca.ll | 1 + llvm/test/CodeGen/NVPTX/lower-args.ll | 1 + llvm/test/CodeGen/NVPTX/lower-byval-args.ll | 2 + llvm/test/CodeGen/NVPTX/lower-kernel-ptr-arg.ll | 1 + llvm/test/CodeGen/NVPTX/machine-sink.ll | 1 + llvm/test/CodeGen/NVPTX/managed.ll | 1 + llvm/test/CodeGen/NVPTX/match.ll | 1 + llvm/test/CodeGen/NVPTX/math-intrins-sm53-ptx42.ll | 1 + llvm/test/CodeGen/NVPTX/math-intrins-sm80-ptx70.ll | 1 + llvm/test/CodeGen/NVPTX/math-intrins-sm86-ptx72.ll | 1 + llvm/test/CodeGen/NVPTX/math-intrins.ll | 4 + llvm/test/CodeGen/NVPTX/mbarrier.ll | 2 + llvm/test/CodeGen/NVPTX/minmax-negative.ll | 1 + llvm/test/CodeGen/NVPTX/misaligned-vector-ldst.ll | 1 + llvm/test/CodeGen/NVPTX/module-inline-asm.ll | 1 + llvm/test/CodeGen/NVPTX/mulwide.ll | 2 + llvm/test/CodeGen/NVPTX/named-barriers.ll | 2 + llvm/test/CodeGen/NVPTX/no-extra-parens.ll | 1 + llvm/test/CodeGen/NVPTX/nofunc.ll | 2 + llvm/test/CodeGen/NVPTX/nounroll.ll | 1 + llvm/test/CodeGen/NVPTX/nvcl-param-align.ll | 1 + .../test/CodeGen/NVPTX/nvvm-annotations-D120129.ll | 1 + llvm/test/CodeGen/NVPTX/param-align.ll | 1 + llvm/test/CodeGen/NVPTX/param-load-store.ll | 1 + llvm/test/CodeGen/NVPTX/param-vectorize-device.ll | 1 + llvm/test/CodeGen/NVPTX/param-vectorize-kernel.ll | 1 + llvm/test/CodeGen/NVPTX/pow2_mask_cmp.ll | 1 + llvm/test/CodeGen/NVPTX/pr13291-i1-store.ll | 2 + llvm/test/CodeGen/NVPTX/pr16278.ll | 2 +- llvm/test/CodeGen/NVPTX/pr17529.ll | 1 + .../CodeGen/NVPTX/read-global-variable-constant.ll | 1 + llvm/test/CodeGen/NVPTX/redux-sync.ll | 1 + llvm/test/CodeGen/NVPTX/refl1.ll | 1 + llvm/test/CodeGen/NVPTX/reg-copy.ll | 1 + llvm/test/CodeGen/NVPTX/reg-types.ll | 2 + llvm/test/CodeGen/NVPTX/rotate.ll | 2 + llvm/test/CodeGen/NVPTX/rotate_64.ll | 2 +- llvm/test/CodeGen/NVPTX/sched1.ll | 1 + llvm/test/CodeGen/NVPTX/sched2.ll | 1 + llvm/test/CodeGen/NVPTX/sext-in-reg.ll | 1 + llvm/test/CodeGen/NVPTX/sext-params.ll | 1 + llvm/test/CodeGen/NVPTX/shfl-p.ll | 1 + llvm/test/CodeGen/NVPTX/shfl-sync-p.ll | 1 + llvm/test/CodeGen/NVPTX/shfl-sync.ll | 1 + llvm/test/CodeGen/NVPTX/shfl.ll | 1 + llvm/test/CodeGen/NVPTX/shift-parts.ll | 1 + llvm/test/CodeGen/NVPTX/simple-call.ll | 4 +- llvm/test/CodeGen/NVPTX/sqrt-approx.ll | 4 + llvm/test/CodeGen/NVPTX/st-addrspace.ll | 4 +- llvm/test/CodeGen/NVPTX/st-generic.ll | 3 +- llvm/test/CodeGen/NVPTX/store-retval.ll | 1 + llvm/test/CodeGen/NVPTX/surf-read-cuda.ll | 2 + llvm/test/CodeGen/NVPTX/surf-read.ll | 1 + llvm/test/CodeGen/NVPTX/surf-tex.py | 2 + llvm/test/CodeGen/NVPTX/surf-write-cuda.ll | 2 + llvm/test/CodeGen/NVPTX/surf-write.ll | 1 + llvm/test/CodeGen/NVPTX/symbol-naming.ll | 2 + llvm/test/CodeGen/NVPTX/tex-read-cuda.ll | 2 + llvm/test/CodeGen/NVPTX/tex-read.ll | 1 + llvm/test/CodeGen/NVPTX/texsurf-queries.ll | 2 + llvm/test/CodeGen/NVPTX/tid-range.ll | 2 + llvm/test/CodeGen/NVPTX/tuple-literal.ll | 2 +- llvm/test/CodeGen/NVPTX/vec-param-load.ll | 1 + llvm/test/CodeGen/NVPTX/vec8.ll | 1 + llvm/test/CodeGen/NVPTX/vector-args.ll | 2 +- llvm/test/CodeGen/NVPTX/vector-call.ll | 1 + llvm/test/CodeGen/NVPTX/vector-compare.ll | 4 +- llvm/test/CodeGen/NVPTX/vector-global.ll | 1 + llvm/test/CodeGen/NVPTX/vector-loads.ll | 1 + llvm/test/CodeGen/NVPTX/vector-select.ll | 4 +- llvm/test/CodeGen/NVPTX/vector-stores.ll | 1 + llvm/test/CodeGen/NVPTX/vectorize-misaligned.ll | 2 + llvm/test/CodeGen/NVPTX/vote.ll | 1 + llvm/test/CodeGen/NVPTX/weak-global.ll | 1 + llvm/test/CodeGen/NVPTX/weak-linkage.ll | 1 + llvm/test/CodeGen/NVPTX/wmma.py | 28 + llvm/test/CodeGen/NVPTX/zeroext-32bit.ll | 1 + .../PowerPC/aix-xcoff-exported-nondefault.ll | 15 + llvm/test/CodeGen/PowerPC/aix-xcoff-visibility.ll | 34 + llvm/test/CodeGen/PowerPC/atomics-constant.ll | 6 +- llvm/test/CodeGen/PowerPC/is_fpclass.ll | 314 +++ llvm/test/CodeGen/RISCV/bittest.ll | 174 +- llvm/test/CodeGen/RISCV/fold-vector-cmp.ll | 17 + llvm/test/CodeGen/RISCV/imm.ll | 13 +- llvm/test/CodeGen/RISCV/large-stack.ll | 6 +- llvm/test/CodeGen/RISCV/machine-cse.ll | 432 ++- llvm/test/CodeGen/RISCV/mem.ll | 68 + llvm/test/CodeGen/RISCV/mem64.ll | 70 + llvm/test/CodeGen/RISCV/pr53662.mir | 38 + llvm/test/CodeGen/RISCV/pr55201.ll | 17 + llvm/test/CodeGen/RISCV/rv64zbs.ll | 58 +- .../CodeGen/RISCV/rvv/allone-masked-to-unmasked.ll | 92 + .../CodeGen/RISCV/rvv/fixed-vectors-fp-setcc.ll | 24 +- .../CodeGen/RISCV/rvv/fixed-vectors-mask-logic.ll | 2 +- .../RISCV/rvv/fixed-vectors-reduction-fp.ll | 481 +--- .../RISCV/rvv/fixed-vectors-reduction-mask-vp.ll | 16 +- .../CodeGen/RISCV/rvv/fixed-vectors-setcc-fp-vp.ll | 48 +- .../RISCV/rvv/fixed-vectors-setcc-int-vp-mask.ll | 414 +++ .../RISCV/rvv/fixed-vectors-vreductions-mask.ll | 12 +- llvm/test/CodeGen/RISCV/rvv/fold-binary-reduce.ll | 306 +++ llvm/test/CodeGen/RISCV/rvv/setcc-fp-vp.ll | 96 +- llvm/test/CodeGen/RISCV/rvv/setcc-fp.ll | 72 +- llvm/test/CodeGen/RISCV/rvv/setcc-int-vp-mask.ll | 719 +++++ llvm/test/CodeGen/RISCV/rvv/vmsge-rv32.ll | 30 +- llvm/test/CodeGen/RISCV/rvv/vmsge-rv64.ll | 36 +- llvm/test/CodeGen/RISCV/rvv/vmsgeu-rv32.ll | 30 +- llvm/test/CodeGen/RISCV/rvv/vmsgeu-rv64.ll | 36 +- .../CodeGen/RISCV/rvv/vreductions-fp-sdnode.ll | 267 +- llvm/test/CodeGen/RISCV/rvv/vreductions-mask-vp.ll | 14 +- llvm/test/CodeGen/RISCV/rvv/vreductions-mask.ll | 14 +- llvm/test/CodeGen/SystemZ/is_fpclass.ll | 144 + llvm/test/CodeGen/Thumb2/swp-exitbranchdir.mir | 203 ++ llvm/test/CodeGen/Thumb2/swp-fixedii.mir | 203 ++ llvm/test/CodeGen/X86/AMX/amx-combine.ll | 34 +- .../CodeGen/X86/AMX/lat-transform-amx-bitcast.ll | 249 +- llvm/test/CodeGen/X86/add-and-not.ll | 122 + llvm/test/CodeGen/X86/float-conv-elim.ll | 132 +- .../CodeGen/X86/gather-scatter-opaque-ptr-2.ll | 89 + llvm/test/CodeGen/X86/gather-scatter-opaque-ptr.ll | 178 ++ .../hoist-and-by-const-from-lshr-in-eqcmp-zero.ll | 60 +- llvm/test/CodeGen/X86/oddshuffles.ll | 32 +- llvm/test/CodeGen/X86/oddsubvector.ll | 10 +- llvm/test/CodeGen/X86/pr11334.ll | 4 +- llvm/test/CodeGen/X86/pr55158.ll | 35 + llvm/test/CodeGen/X86/setcc.ll | 79 +- llvm/test/CodeGen/X86/statepoint-vreg-details.ll | 20 +- .../X86/statepoint-vreg-unlimited-tied-opnds.ll | 74 +- llvm/test/CodeGen/X86/statepoint-vreg.ll | 12 +- .../X86/vector-interleaved-load-i8-stride-4.ll | 149 +- llvm/test/CodeGen/X86/vector-shuffle-256-v32.ll | 142 +- llvm/test/CodeGen/X86/vector-shuffle-512-v64.ll | 48 +- llvm/test/CodeGen/X86/vector-shuffle-combining.ll | 21 + llvm/test/CodeGen/X86/x86-interleaved-access.ll | 149 +- llvm/test/DebugInfo/Generic/pass-by-value.ll | 4 + .../DebugInfo/NVPTX/crash-missing-DISubprogram.ll | 3 +- llvm/test/DebugInfo/NVPTX/cu-range-hole.ll | 25 +- llvm/test/DebugInfo/NVPTX/dbg-declare-alloca.ll | 11 +- llvm/test/DebugInfo/NVPTX/dbg-value-const-byref.ll | 2 + llvm/test/DebugInfo/NVPTX/debug-addr-class.ll | 9 +- llvm/test/DebugInfo/NVPTX/debug-empty.ll | 1 + llvm/test/DebugInfo/NVPTX/debug-file-loc-only.ll | 5 +- llvm/test/DebugInfo/NVPTX/debug-file-loc.ll | 9 +- llvm/test/DebugInfo/NVPTX/debug-info.ll | 27 +- llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll | 23 +- llvm/test/DebugInfo/NVPTX/debug-name-table.ll | 13 +- llvm/test/DebugInfo/NVPTX/dwarf-file-dir.ll | 28 + llvm/test/DebugInfo/NVPTX/packed_bitfields.ll | 1 + .../test/DebugInfo/X86/dwarfdump-str-offsets-dwp.s | 4 +- llvm/test/DebugInfo/cross-cu-scope.ll | 3 + llvm/test/Feature/optnone-opt.ll | 1 - llvm/test/Instrumentation/HeapProfiler/basic.ll | 2 +- llvm/test/MC/AArch64/arm64-branch-encoding.s | 6 + llvm/test/MC/AArch64/arm64-system-encoding.s | 8 + llvm/test/MC/AArch64/basic-a64-instructions.s | 16 +- llvm/test/MC/AMDGPU/gfx7_asm_mubuf.s | 18 - llvm/test/MC/AMDGPU/gfx8_asm_mubuf.s | 24 +- llvm/test/MC/AMDGPU/gfx90a_ldst_acc.s | 24 - llvm/test/MC/AMDGPU/gfx9_asm_mubuf.s | 24 +- llvm/test/MC/AMDGPU/mubuf-gfx10.s | 8 +- llvm/test/MC/AMDGPU/mubuf.s | 96 +- llvm/test/MC/Disassembler/AArch64/arm64-branch.txt | 4 + .../AArch64/basic-a64-instructions.txt | 16 +- llvm/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt | 24 +- .../MC/Disassembler/AMDGPU/gfx90a_ldst_acc.txt | 18 - llvm/test/MC/Disassembler/AMDGPU/gfx9_dasm_all.txt | 24 +- llvm/test/MC/Disassembler/AMDGPU/mubuf_vi.txt | 53 +- llvm/test/MC/RISCV/rv64i-aliases-valid.s | 6 + llvm/test/MC/RISCV/rv64i-invalid.s | 10 + llvm/test/MC/RISCV/rv64zbbp-invalid.s | 2 + llvm/test/MC/RISCV/rv64zbp-invalid.s | 12 + llvm/test/MC/RISCV/rv64zbs-aliases-valid.s | 6 - llvm/test/MC/RISCV/rv64zbs-invalid.s | 30 + llvm/test/Object/AMDGPU/elf-header-flags-mach.yaml | 28 + .../ArgumentPromotion/max-elements-limit.ll | 90 + .../ArgumentPromotion/min-legal-vector-width.ll | 25 + .../X86/min-legal-vector-width.ll | 118 +- .../Coroutines/coro-retcon-resume-values.ll | 38 +- llvm/test/Transforms/EarlyCSE/invariant.start.ll | 84 +- .../bug55000-read-uninitialized-value.ll | 60 + .../GVN/no_speculative_loads_with_asan.ll | 55 +- llvm/test/Transforms/GVN/opaque-ptr.ll | 70 + llvm/test/Transforms/GVNSink/sink-common-code.ll | 2 +- .../GlobalOpt/global-constructor-opaque-ptr.ll | 14 + .../InferAddressSpaces/X86/noop-ptrint-pair.ll | 16 + .../test/Transforms/InferFunctionAttrs/annotate.ll | 30 +- .../InstCombine/X86/x86-avx2-inseltpoison.ll | 135 + llvm/test/Transforms/InstCombine/X86/x86-avx2.ll | 135 + llvm/test/Transforms/InstCombine/add.ll | 316 ++- llvm/test/Transforms/InstCombine/and-or-icmps.ll | 104 +- llvm/test/Transforms/InstCombine/and-or.ll | 364 ++- llvm/test/Transforms/InstCombine/atomic.ll | 12 +- ...ern-between-negative-and-positive-thresholds.ll | 48 + .../Transforms/InstCombine/constant-fold-gep.ll | 85 +- llvm/test/Transforms/InstCombine/freeze-phi.ll | 3 +- llvm/test/Transforms/InstCombine/freeze.ll | 3 +- llvm/test/Transforms/InstCombine/icmp-ext-ext.ll | 44 +- .../InstCombine/integer-round-up-pow2-alignment.ll | 501 ++++ llvm/test/Transforms/InstCombine/memchr-4.ll | 69 + llvm/test/Transforms/InstCombine/memrchr-2.ll | 51 +- llvm/test/Transforms/InstCombine/memrchr-3.ll | 144 +- llvm/test/Transforms/InstCombine/memrchr-4.ll | 8 +- llvm/test/Transforms/InstCombine/memset.ll | 4 +- llvm/test/Transforms/InstCombine/merge-icmp.ll | 264 +- llvm/test/Transforms/InstCombine/opaque-ptr.ll | 21 +- llvm/test/Transforms/InstCombine/or.ll | 16 + llvm/test/Transforms/InstCombine/pr55228.ll | 21 + llvm/test/Transforms/InstCombine/select-cmp.ll | 12 + llvm/test/Transforms/InstCombine/select.ll | 13 +- llvm/test/Transforms/InstCombine/shift-add.ll | 181 ++ llvm/test/Transforms/InstCombine/sitofp.ll | 82 + llvm/test/Transforms/InstCombine/store.ll | 2 + llvm/test/Transforms/InstCombine/strncmp-3.ll | 72 + llvm/test/Transforms/InstCombine/strnlen-1.ll | 92 +- llvm/test/Transforms/InstCombine/strnlen-2.ll | 22 +- llvm/test/Transforms/InstCombine/strnlen-3.ll | 35 +- llvm/test/Transforms/InstCombine/strnlen-5.ll | 72 +- llvm/test/Transforms/InstCombine/strnlen-6.ll | 4 +- llvm/test/Transforms/InstCombine/sub-minmax.ll | 97 + .../LoopStrengthReduce/debuginfo-scev-salvage-5.ll | 124 + .../LoopUnswitch/2006-06-13-SingleEntryPHI.ll | 35 - .../LoopUnswitch/2006-06-27-DeadSwitchCase.ll | 25 - .../LoopUnswitch/2007-05-09-Unreachable.ll | 29 - llvm/test/Transforms/LoopUnswitch/2007-05-09-tl.ll | 95 - .../LoopUnswitch/2007-07-12-ExitDomInfo.ll | 45 - .../Transforms/LoopUnswitch/2007-07-13-DomInfo.ll | 27 - .../Transforms/LoopUnswitch/2007-07-18-DomInfo.ll | 66 - .../test/Transforms/LoopUnswitch/2007-08-01-Dom.ll | 30 - .../Transforms/LoopUnswitch/2007-08-01-LCSSA.ll | 55 - .../LoopUnswitch/2007-10-04-DomFrontier.ll | 29 - .../Transforms/LoopUnswitch/2008-06-02-DomInfo.ll | 26 - .../LoopUnswitch/2008-06-17-DomFrontier.ll | 22 - .../LoopUnswitch/2008-11-03-Invariant.ll | 41 - .../Transforms/LoopUnswitch/2010-11-18-LCSSA.ll | 28 - .../LoopUnswitch/2011-06-02-CritSwitch.ll | 28 - .../Transforms/LoopUnswitch/2011-09-26-EHCrash.ll | 63 - .../LoopUnswitch/2011-11-18-SimpleSwitch.ll | 94 - .../2011-11-18-TwoSwitches-Threshold.ll | 87 - .../LoopUnswitch/2011-11-18-TwoSwitches.ll | 141 - .../LoopUnswitch/2012-04-02-IndirectBr.ll | 41 - .../2012-04-30-LoopUnswitch-LPad-Crash.ll | 97 - .../test/Transforms/LoopUnswitch/2012-05-20-Phi.ll | 25 - .../Transforms/LoopUnswitch/2015-06-17-Metadata.ll | 104 - .../LoopUnswitch/2015-09-18-Addrspace.ll | 28 - .../LoopUnswitch/AMDGPU/divergent-unswitch.ll | 45 - .../Transforms/LoopUnswitch/AMDGPU/lit.local.cfg | 2 - .../LoopUnswitch/AMDGPU/uniform-unswitch.ll | 53 - .../Transforms/LoopUnswitch/LIV-loop-condtion.ll | 28 - llvm/test/Transforms/LoopUnswitch/basictest.ll | 318 --- llvm/test/Transforms/LoopUnswitch/callbr.ll | 66 - llvm/test/Transforms/LoopUnswitch/cleanuppad.ll | 44 - .../LoopUnswitch/convergent-hoist-modified.ll | 42 - llvm/test/Transforms/LoopUnswitch/copy-metadata.ll | 23 - llvm/test/Transforms/LoopUnswitch/crash.ll | 66 - .../elseif-non-exponential-behavior.ll | 62 - .../LoopUnswitch/exponential-behavior.ll | 52 - llvm/test/Transforms/LoopUnswitch/guards.ll | 97 - llvm/test/Transforms/LoopUnswitch/infinite-loop.ll | 58 - .../Transforms/LoopUnswitch/invalidate-scev.ll | 33 - .../LoopUnswitch/invoke-hoist-modified.ll | 53 - llvm/test/Transforms/LoopUnswitch/msan.ll | 153 -- .../LoopUnswitch/optsize-hoist-modified.ll | 39 - .../LoopUnswitch/partial-unswitch-cost.ll | 426 --- .../partial-unswitch-mssa-threshold.ll | 48 - .../partial-unswitch-update-memoryssa.ll | 76 - .../Transforms/LoopUnswitch/partial-unswitch.ll | 875 ------ llvm/test/Transforms/LoopUnswitch/pr32818.ll | 19 - .../Transforms/LoopUnswitch/preserve-analyses.ll | 129 - .../LoopUnswitch/simplify-with-nonvalness.ll | 58 - .../Transforms/LoopUnswitch/trivial-unswitch.ll | 91 - .../LoopUnswitch/unswitch-equality-undef.ll | 122 - .../Transforms/LoopUnswitch/unswitch-select.ll | 26 - .../LoopVectorize/2016-07-27-loop-vec.ll | 2 +- .../LoopVectorize/X86/imprecise-through-phis.ll | 39 +- .../X86/invariant-store-vectorization.ll | 102 +- .../alias-set-with-uncomputable-bounds.ll | 2 +- llvm/test/Transforms/LoopVectorize/align.ll | 2 +- llvm/test/Transforms/LoopVectorize/assume.ll | 2 +- llvm/test/Transforms/LoopVectorize/control-flow.ll | 2 +- .../Transforms/LoopVectorize/dead_instructions.ll | 2 +- llvm/test/Transforms/LoopVectorize/debugloc.ll | 2 +- .../demanded-bits-of-pointer-instruction.ll | 2 +- .../LoopVectorize/diag-missing-instr-debug-loc.ll | 2 +- .../Transforms/LoopVectorize/disable_nonforced.ll | 2 +- .../LoopVectorize/disable_nonforced_enable.ll | 2 +- .../LoopVectorize/dont-fold-tail-for-const-TC.ll | 2 +- .../dont-fold-tail-for-divisible-TC.ll | 2 +- llvm/test/Transforms/LoopVectorize/ee-crash.ll | 2 +- llvm/test/Transforms/LoopVectorize/exact.ll | 2 +- .../LoopVectorize/explicit_outer_detection.ll | 2 +- .../explicit_outer_nonuniform_inner.ll | 2 +- .../explicit_outer_uniform_diverg_branch.ll | 2 +- .../Transforms/LoopVectorize/fcmp-vectorize.ll | 2 +- .../LoopVectorize/first-order-recurrence-chains.ll | 2 +- .../first-order-recurrence-complex.ll | 2 +- .../first-order-recurrence-multiply-recurrences.ll | 2 +- ...first-order-recurrence-sink-replicate-region.ll | 2 +- .../Transforms/LoopVectorize/fix-reduction-dbg.ll | 2 +- .../LoopVectorize/float-minmax-instruction-flag.ll | 2 +- llvm/test/Transforms/LoopVectorize/fneg.ll | 2 +- llvm/test/Transforms/LoopVectorize/followup.ll | 2 +- llvm/test/Transforms/LoopVectorize/fpsat.ll | 97 + llvm/test/Transforms/LoopVectorize/funcall.ll | 2 +- .../test/Transforms/LoopVectorize/if-conv-crash.ll | 2 +- .../LoopVectorize/if-conversion-edgemasks.ll | 2 +- .../induction-multiple-uses-in-same-instruction.ll | 2 +- .../Transforms/LoopVectorize/induction-step.ll | 2 +- .../Transforms/LoopVectorize/induction_plus.ll | 2 +- .../Transforms/LoopVectorize/int_sideeffect.ll | 2 +- .../LoopVectorize/interleave-with-call.ll | 57 + llvm/test/Transforms/LoopVectorize/nsw-crash.ll | 2 +- llvm/test/Transforms/LoopVectorize/nuw.ll | 2 +- llvm/test/Transforms/LoopVectorize/opaque-ptr.ll | 2 +- .../test/Transforms/LoopVectorize/partial-lcssa.ll | 2 +- llvm/test/Transforms/LoopVectorize/phi-hang.ll | 2 +- .../Transforms/LoopVectorize/pointer-induction.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr28541.ll | 2 +- .../LoopVectorize/pr30654-phiscev-sext-trunc.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr30806.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr31098.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr32859.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr33706.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr34681.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr35743.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr35773.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr36311.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr36983.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr38697.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr38800.ll | 2 +- .../LoopVectorize/pr39417-optsize-scevchecks.ll | 2 +- .../LoopVectorize/pr43166-fold-tail-by-masking.ll | 2 +- .../LoopVectorize/pr44488-predication.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr45259.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr45525.ll | 2 +- .../LoopVectorize/pr45679-fold-tail-by-masking.ll | 6 +- .../LoopVectorize/pr46525-expander-insertpoint.ll | 2 +- .../pr47343-expander-lcssa-after-cfg-update.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr48832.ll | 2 +- llvm/test/Transforms/LoopVectorize/pr50686.ll | 2 +- .../LoopVectorize/pr51614-fold-tail-by-masking.ll | 2 +- .../test/Transforms/LoopVectorize/ptr-induction.ll | 2 +- .../reduction-odd-interleave-counts.ll | 4 +- .../Transforms/LoopVectorize/reduction-order.ll | 1 - .../test/Transforms/LoopVectorize/reduction-ptr.ll | 2 +- .../LoopVectorize/reduction-small-size.ll | 2 +- .../LoopVectorize/remarks-multi-exit-loops.ll | 2 +- .../Transforms/LoopVectorize/remove_metadata.ll | 2 +- .../Transforms/LoopVectorize/reverse_induction.ll | 2 +- .../runtime-check-needed-but-empty.ll | 2 +- .../runtime-check-pointer-element-type.ll | 1 - .../runtime-check-small-clamped-bounds.ll | 2 +- .../Transforms/LoopVectorize/runtime-drop-crash.ll | 2 +- llvm/test/Transforms/LoopVectorize/safegep.ll | 2 +- .../Transforms/LoopVectorize/scev-exitlim-crash.ll | 2 +- .../LoopVectorize/select-cmp-predicated.ll | 4 +- llvm/test/Transforms/LoopVectorize/select-cmp.ll | 6 +- .../Transforms/LoopVectorize/select-reduction.ll | 2 +- .../LoopVectorize/single-value-blend-phis.ll | 2 +- .../LoopVectorize/skeleton-lcssa-crash.ll | 2 +- llvm/test/Transforms/LoopVectorize/tripcount.ll | 2 +- .../Transforms/LoopVectorize/undef-inst-bug.ll | 2 +- .../test/Transforms/LoopVectorize/uniform-blend.ll | 2 +- .../unroll-novec-memcheck-metadata.ll | 2 +- llvm/test/Transforms/LoopVectorize/unroll.ll | 2 +- .../Transforms/LoopVectorize/unroll_nonlatch.ll | 2 +- .../Transforms/LoopVectorize/unsafe-dep-remark.ll | 2 +- .../LoopVectorize/unsafe-vf-hint-remark.ll | 2 +- .../LoopVectorize/unsized-pointee-crash.ll | 2 +- .../use-scalar-epilogue-if-tp-fails.ll | 4 +- .../LoopVectorize/vect-phiscev-sext-trunc.ll | 4 +- .../LoopVectorize/vectorize-pointer-phis.ll | 2 +- .../LoopVectorize/zero-sized-pointee-crash.ll | 2 +- .../NewGVN/no_speculative_loads_with_asan.ll | 54 +- llvm/test/Transforms/PGOProfile/chr_coro.ll | 115 + .../PhaseOrdering/AArch64/matrix-extract-insert.ll | 14 +- .../PhaseOrdering/X86/SROA-after-loop-unrolling.ll | 2 +- .../PhaseOrdering/X86/addsub-inseltpoison.ll | 2 +- llvm/test/Transforms/PhaseOrdering/X86/addsub.ll | 2 +- ...after-simplifycfg-two-entry-phi-node-folding.ll | 2 +- .../PhaseOrdering/X86/hoist-load-of-baseptr.ll | 6 +- .../PhaseOrdering/X86/horiz-math-inseltpoison.ll | 2 +- .../Transforms/PhaseOrdering/X86/horiz-math.ll | 2 +- .../PhaseOrdering/X86/loop-idiom-vs-indvars.ll | 2 +- .../PhaseOrdering/X86/masked-memory-ops.ll | 2 +- .../PhaseOrdering/X86/merge-functions.ll | 2 +- .../X86/peel-before-lv-to-enable-vectorization.ll | 2 +- .../Transforms/PhaseOrdering/X86/pixel-splat.ll | 2 +- .../X86/pr48844-br-to-switch-vectorization.ll | 2 +- .../X86/scalarization-inseltpoison.ll | 2 +- .../Transforms/PhaseOrdering/X86/scalarization.ll | 2 +- .../PhaseOrdering/X86/shuffle-inseltpoison.ll | 2 +- llvm/test/Transforms/PhaseOrdering/X86/shuffle.ll | 2 +- .../PhaseOrdering/X86/simplifycfg-late.ll | 2 +- .../PhaseOrdering/X86/speculation-vs-tbaa.ll | 6 +- .../PhaseOrdering/X86/spurious-peeling.ll | 6 +- llvm/test/Transforms/PhaseOrdering/X86/vdiv.ll | 2 +- .../PhaseOrdering/X86/vector-reductions.ll | 2 +- .../RewriteStatepointsForGC/single-base.ll | 82 + llvm/test/Transforms/SCCP/preserve-analysis.ll | 4 +- .../test/Transforms/SLPVectorizer/AArch64/fpsat.ll | 97 + llvm/test/Transforms/SLPVectorizer/X86/PR39774.ll | 2 +- .../Transforms/SLPVectorizer/X86/crash_cmpop.ll | 53 +- .../X86/extractelement-multiple-uses.ll | 2 +- .../Transforms/SLPVectorizer/X86/extractelement.ll | 6 +- .../SLPVectorizer/X86/hadd-inseltpoison.ll | 26 + llvm/test/Transforms/SLPVectorizer/X86/hadd.ll | 26 + .../SimpleLoopUnswitch/LIV-loop-condtion.ll | 3 +- ...rivial-unswitch-freeze-individual-conditions.ll | 276 ++ .../trivial-unswitch-logical-and-or.ll | 269 ++ .../SimpleLoopUnswitch/trivial-unswitch.ll | 82 +- .../Transforms/SimplifyCFG/X86/sink-common-code.ll | 4 +- .../X86/switch-to-lookup-large-types.ll | 75 + llvm/test/Transforms/SimplifyCFG/jump-threading.ll | 33 +- llvm/test/Transforms/SimplifyCFG/wc-widen-block.ll | 11 +- .../VectorCombine/AArch64/vecreduce-shuffle.ll | 454 ++++ llvm/test/lit.cfg.py | 47 + llvm/test/lit.site.cfg.py.in | 1 + .../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-ml/indirect_branch.asm | 188 ++ .../llvm-profdata/cs-sample-nested-profile.test | 2 +- .../llvm-profgen/Inputs/cs-interrupt.perfscript | 4 +- .../tools/llvm-profgen/callback-external-addr.test | 42 +- llvm/test/tools/llvm-profgen/cs-interrupt.test | 56 +- llvm/test/tools/llvm-profgen/cs-preinline.test | 36 +- llvm/test/tools/llvm-profgen/inline-noprobe2.test | 46 +- .../tools/llvm-readobj/ELF/amdgpu-elf-headers.test | 36 + llvm/test/tools/llvm-reduce/fail-file-open.test | 2 +- .../tools/llvm-reduce/mir/drop-ir-references.mir | 86 + llvm/test/tools/llvm-reduce/mir/generic-vreg.mir | 14 +- .../mir/infer-triple-unknown-target.mir | 19 + llvm/test/tools/llvm-reduce/mir/infer-triple.mir | 27 + .../llvm-reduce/mir/input-file-does-not-exist.mir | 4 + llvm/test/tools/llvm-reduce/mir/instr-reduce.mir | 4 +- .../tools/llvm-reduce/mir/multiple-functions.mir | 45 + .../tools/llvm-reduce/mir/preserve-block-info.mir | 2 +- .../tools/llvm-reduce/mir/preserve-frame-info.mir | 4 +- .../llvm-reduce/mir/preserve-mem-operands.mir | 84 + .../tools/llvm-reduce/mir/remove-frame-destroy.mir | 24 + llvm/test/tools/llvm-reduce/mir/subreg-def0.mir | 22 + llvm/test/tools/llvm-reduce/mir/subreg-def1.mir | 23 + llvm/tools/dsymutil/BinaryHolder.cpp | 47 +- llvm/tools/dsymutil/BinaryHolder.h | 6 +- llvm/tools/llc/llc.cpp | 13 +- llvm/tools/llvm-profdata/llvm-profdata.cpp | 15 +- llvm/tools/llvm-profgen/CSPreInliner.cpp | 2 + llvm/tools/llvm-profgen/PerfReader.cpp | 182 +- llvm/tools/llvm-profgen/PerfReader.h | 63 +- llvm/tools/llvm-profgen/ProfileGenerator.cpp | 64 +- llvm/tools/llvm-profgen/ProfileGenerator.h | 6 +- llvm/tools/llvm-profgen/ProfiledBinary.cpp | 2 + llvm/tools/llvm-profgen/llvm-profgen.cpp | 4 +- llvm/tools/llvm-readobj/ELFDumper.cpp | 8 + llvm/tools/llvm-reduce/CMakeLists.txt | 1 + llvm/tools/llvm-reduce/DeltaManager.cpp | 25 +- llvm/tools/llvm-reduce/ReducerWorkItem.cpp | 407 ++- llvm/tools/llvm-reduce/ReducerWorkItem.h | 28 +- llvm/tools/llvm-reduce/TestRunner.cpp | 6 +- llvm/tools/llvm-reduce/TestRunner.h | 7 +- llvm/tools/llvm-reduce/deltas/Delta.cpp | 38 +- llvm/tools/llvm-reduce/deltas/Delta.h | 9 +- .../llvm-reduce/deltas/ReduceIRReferences.cpp | 82 + llvm/tools/llvm-reduce/deltas/ReduceIRReferences.h | 31 + .../llvm-reduce/deltas/ReduceInstructionsMIR.cpp | 57 +- llvm/tools/llvm-reduce/llvm-reduce.cpp | 52 +- llvm/tools/msbuild/.gitignore | 6 - llvm/tools/msbuild/LLVM.Cpp.Common.props | 79 - llvm/tools/msbuild/LLVM.Cpp.Common.targets | 132 - llvm/tools/msbuild/Platformx64/Toolset.props | 11 - llvm/tools/msbuild/Platformx64/Toolset.targets | 3 - llvm/tools/msbuild/Platformx86/Toolset.props | 11 - llvm/tools/msbuild/Platformx86/Toolset.targets | 3 - llvm/tools/msbuild/install.bat | 57 - llvm/tools/msbuild/license.txt | 261 -- llvm/tools/msbuild/llvm-general.xml | 76 - llvm/tools/msbuild/llvm.csproj | 97 - llvm/tools/msbuild/llvm.sln | 25 - llvm/tools/msbuild/source.extension.vsixmanifest | 22 - llvm/tools/msbuild/uninstall.bat | 33 - llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | 124 +- llvm/unittests/IR/InstructionsTest.cpp | 62 + llvm/unittests/Support/ARMAttributeParser.cpp | 7 +- llvm/unittests/Support/TargetParserTest.cpp | 9 +- llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn | 1 + .../gn/secondary/compiler-rt/lib/builtins/BUILD.gn | 8 + .../secondary/lldb/include/lldb/Version/BUILD.gn | 2 +- .../lldb/source/Plugins/Process/Linux/BUILD.gn | 1 + .../utils/gn/secondary/lldb/source/Symbol/BUILD.gn | 1 + .../gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn | 1 + .../secondary/llvm/lib/Transforms/Scalar/BUILD.gn | 1 - llvm/utils/gn/secondary/llvm/test/BUILD.gn | 1 + .../gn/secondary/llvm/tools/llvm-reduce/BUILD.gn | 1 + llvm/utils/lit/lit/TestRunner.py | 127 +- llvm/utils/lit/lit/formats/googletest.py | 4 +- llvm/utils/lit/tests/Inputs/shtest-if-else/lit.cfg | 8 + .../lit/tests/Inputs/shtest-if-else/test-neg1.txt | 3 + .../lit/tests/Inputs/shtest-if-else/test-neg2.txt | 3 + .../lit/tests/Inputs/shtest-if-else/test-neg3.txt | 3 + .../lit/tests/Inputs/shtest-if-else/test-neg4.txt | 3 + .../utils/lit/tests/Inputs/shtest-if-else/test.txt | 92 + llvm/utils/lit/tests/shtest-if-else.py | 14 + mlir/CMakeLists.txt | 1 + mlir/cmake/modules/AddMLIR.cmake | 37 + mlir/cmake/modules/CMakeLists.txt | 2 + mlir/cmake/modules/MLIRConfig.cmake.in | 1 + mlir/docs/ExtensibleDialects.md | 369 +++ mlir/docs/LangRef.md | 11 +- .../standalone/include/Standalone/StandaloneOps.h | 1 + .../standalone/lib/Standalone/CMakeLists.txt | 1 + .../mlir/Conversion/LLVMCommon/MemRefBuilder.h | 3 + .../mlir/Dialect/Arithmetic/IR/ArithmeticOps.td | 6 +- mlir/include/mlir/Dialect/EmitC/IR/EmitC.td | 28 + mlir/include/mlir/Dialect/Linalg/CMakeLists.txt | 1 + .../Dialect/Linalg/TransformOps/CMakeLists.txt | 4 + .../Linalg/TransformOps/LinalgTransformOps.h | 30 + .../Linalg/TransformOps/LinalgTransformOps.td | 45 + mlir/include/mlir/Dialect/Math/IR/Math.h | 1 + mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td | 4 +- mlir/include/mlir/Dialect/PDL/IR/PDLOps.td | 10 +- .../mlir/Dialect/PDLInterp/IR/PDLInterpOps.td | 51 +- mlir/include/mlir/Dialect/Quant/QuantOps.h | 1 + .../mlir/Dialect/SparseTensor/IR/SparseTensor.h | 1 + mlir/include/mlir/IR/AttributeSupport.h | 60 +- mlir/include/mlir/IR/Dialect.h | 6 +- mlir/include/mlir/IR/DialectBase.td | 3 + mlir/include/mlir/IR/ExtensibleDialect.h | 556 ++++ mlir/include/mlir/IR/FunctionImplementation.h | 30 +- mlir/include/mlir/IR/OpImplementation.h | 151 +- mlir/include/mlir/IR/Operation.h | 5 + mlir/include/mlir/IR/OperationSupport.h | 11 + mlir/include/mlir/IR/TypeSupport.h | 47 +- mlir/include/mlir/InitAllDialects.h | 6 + mlir/include/mlir/TableGen/CodeGenHelpers.h | 14 +- mlir/include/mlir/TableGen/Constraint.h | 25 + mlir/include/mlir/TableGen/Dialect.h | 4 + mlir/include/mlir/Tools/PDLL/ODS/Constraint.h | 8 +- mlir/include/mlir/Tools/PDLL/Parser/CodeComplete.h | 3 + mlir/include/mlir/Transforms/DialectConversion.h | 27 +- .../lib/Analysis/Presburger/PresburgerRelation.cpp | 34 +- mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp | 147 +- .../lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp | 77 +- .../Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp | 90 +- mlir/lib/Conversion/SPIRVCommon/Pattern.h | 2 +- .../lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp | 70 +- mlir/lib/Dialect/Affine/IR/AffineOps.cpp | 48 +- mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp | 3 +- mlir/lib/Dialect/Async/IR/Async.cpp | 15 +- mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp | 7 +- mlir/lib/Dialect/EmitC/IR/CMakeLists.txt | 1 + mlir/lib/Dialect/EmitC/IR/EmitC.cpp | 18 + mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | 101 +- .../Dialect/GPU/Transforms/AsyncRegionRewriter.cpp | 4 +- mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp | 22 +- mlir/lib/Dialect/Linalg/CMakeLists.txt | 1 + mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 4 +- .../lib/Dialect/Linalg/TransformOps/CMakeLists.txt | 18 + .../Linalg/TransformOps/LinalgTransformOps.cpp | 198 ++ mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp | 4 +- .../Dialect/Linalg/Transforms/FusionOnTensors.cpp | 15 +- mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp | 4 +- mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp | 3 +- mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | 88 +- mlir/lib/Dialect/PDL/IR/PDL.cpp | 48 +- mlir/lib/Dialect/PDLInterp/IR/PDLInterp.cpp | 86 +- mlir/lib/Dialect/Quant/IR/CMakeLists.txt | 1 + mlir/lib/Dialect/SCF/SCF.cpp | 71 +- mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp | 19 +- .../Dialect/SPIRV/Transforms/SPIRVConversion.cpp | 20 +- mlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt | 1 + .../SparseTensor/Transforms/Sparsification.cpp | 18 +- mlir/lib/Dialect/Vector/IR/VectorOps.cpp | 3 +- mlir/lib/ExecutionEngine/SparseTensorUtils.cpp | 79 +- mlir/lib/IR/CMakeLists.txt | 1 + mlir/lib/IR/ExtensibleDialect.cpp | 500 ++++ mlir/lib/IR/FunctionImplementation.cpp | 236 +- mlir/lib/Parser/AsmParserState.cpp | 49 +- mlir/lib/Parser/AttributeParser.cpp | 7 +- mlir/lib/Parser/Parser.cpp | 240 +- mlir/lib/Rewrite/ByteCode.cpp | 63 +- mlir/lib/TableGen/Constraint.cpp | 68 +- mlir/lib/TableGen/Dialect.cpp | 5 + mlir/lib/TableGen/Operator.cpp | 23 +- mlir/lib/Target/Cpp/TranslateToCpp.cpp | 17 +- mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp | 55 +- .../Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp | 99 +- mlir/lib/Tools/PDLL/ODS/CMakeLists.txt | 1 + mlir/lib/Tools/PDLL/ODS/Constraint.cpp | 26 + mlir/lib/Tools/PDLL/ODS/Context.cpp | 12 +- mlir/lib/Tools/PDLL/Parser/Lexer.cpp | 50 +- mlir/lib/Tools/PDLL/Parser/Lexer.h | 21 +- mlir/lib/Tools/PDLL/Parser/Parser.cpp | 39 +- mlir/lib/Tools/lsp-server-support/Protocol.cpp | 21 + mlir/lib/Tools/lsp-server-support/Protocol.h | 52 +- mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp | 2 +- mlir/lib/Tools/mlir-pdll-lsp-server/CMakeLists.txt | 1 + .../mlir-pdll-lsp-server/CompilationDatabase.cpp | 89 + .../mlir-pdll-lsp-server/CompilationDatabase.h | 58 + mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.cpp | 27 +- .../mlir-pdll-lsp-server/MlirPdllLspServerMain.cpp | 6 +- mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp | 218 +- mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.h | 15 +- mlir/python/mlir/dialects/_arith_ops_ext.py | 6 +- mlir/test/Analysis/test-shape-fn-report.mlir | 4 +- .../ArithmeticToSPIRV/arithmetic-to-spirv.mlir | 82 +- .../Conversion/FuncToSPIRV/types-to-spirv.mlir | 55 +- .../GPUToSPIRV/module-structure-opencl.mlir | 2 +- .../Conversion/MemRefToLLVM/memref-to-llvm.mlir | 77 + mlir/test/Conversion/MemRefToSPIRV/alloc.mlir | 38 +- mlir/test/Conversion/MemRefToSPIRV/alloca.mlir | 71 + .../PDLToPDLInterp/pdl-to-pdl-interp-matcher.mlir | 4 +- .../PDLToPDLInterp/pdl-to-pdl-interp-rewriter.mlir | 25 +- .../TensorToSPIRV/tensor-ops-to-spirv.mlir | 2 +- mlir/test/Conversion/VectorToSPIRV/simple.mlir | 212 -- .../Conversion/VectorToSPIRV/vector-to-spirv.mlir | 245 ++ mlir/test/Dialect/Affine/invalid.mlir | 10 + mlir/test/Dialect/Arithmetic/invalid.mlir | 8 +- mlir/test/Dialect/EmitC/invalid_ops.mlir | 8 + mlir/test/Dialect/EmitC/invalid_types.mlir | 7 + mlir/test/Dialect/EmitC/ops.mlir | 5 + mlir/test/Dialect/EmitC/types.mlir | 2 + mlir/test/Dialect/GPU/invalid.mlir | 2 +- mlir/test/Dialect/Linalg/transform-ops.mlir | 46 + mlir/test/Dialect/OpenMP/ops.mlir | 44 +- mlir/test/Dialect/PDL/invalid.mlir | 18 +- mlir/test/Dialect/PDL/ops.mlir | 19 +- mlir/test/Dialect/PDLInterp/invalid.mlir | 26 + mlir/test/Dialect/PDLInterp/ops.mlir | 7 + mlir/test/IR/diagnostic-handler.mlir | 2 +- mlir/test/IR/dynamic.mlir | 126 + mlir/test/IR/locations.mlir | 3 +- .../Integration/Dialect/PDL/CPU/multiroot.mlir | 14 +- mlir/test/Rewrite/pdl-bytecode.mlir | 41 +- mlir/test/Target/Cpp/cast.mlir | 30 + mlir/test/Target/Cpp/common-cpp.mlir | 8 +- .../Target/LLVMIR/{import.ll => Import/basic.ll} | 0 .../Target/LLVMIR/Import/constant-aggregate.ll | 32 + .../test/Target/LLVMIR/{ => Import}/data-layout.ll | 0 .../LLVMIR/Import/incorrect-constant-caching.ll | 34 + .../Import/incorrect-constexpr-inst-caching.ll | 31 + .../LLVMIR/{import-opaque.ll => Import/opaque.ll} | 0 mlir/test/Target/LLVMIR/Import/zeroinitializer.ll | 14 + mlir/test/Target/LLVMIR/openmp-llvm.mlir | 45 +- mlir/test/Transforms/test-rewrite-dynamic-op.mlir | 12 + mlir/test/lib/CMakeLists.txt | 1 + mlir/test/lib/Dialect/Test/TestAttributes.cpp | 73 + mlir/test/lib/Dialect/Test/TestDialect.cpp | 79 +- mlir/test/lib/Dialect/Test/TestDialect.h | 1 + mlir/test/lib/Dialect/Test/TestDialect.td | 6 + mlir/test/lib/Dialect/Test/TestOps.td | 10 +- mlir/test/lib/Dialect/Test/TestPatterns.cpp | 56 + mlir/test/lib/Dialect/Test/TestTypes.cpp | 91 +- mlir/test/lib/Tools/CMakeLists.txt | 1 + mlir/test/lib/Tools/PDLL/CMakeLists.txt | 34 + mlir/test/lib/Tools/PDLL/TestPDLL.cpp | 51 + mlir/test/lib/Tools/PDLL/TestPDLL.pdll | 16 + mlir/test/lib/Tools/PDLL/lit.local.cfg | 1 + mlir/test/mlir-cpu-runner/lit.local.cfg | 4 + mlir/test/mlir-lsp-server/diagnostics.test | 32 +- .../mlir-pdll-lsp-server/compilation_database.test | 21 + mlir/test/mlir-pdll-lsp-server/completion.test | 30 +- .../definition-split-file.test | 2 +- mlir/test/mlir-pdll-lsp-server/document-links.test | 47 + mlir/test/mlir-pdll-lsp-server/hover.test | 52 +- .../mlir-pdll-lsp-server/include/included.pdll | 2 + mlir/test/mlir-pdll-lsp-server/include/included.td | 4 + .../mlir-pdll-lsp-server/initialize-params.test | 3 + mlir/test/mlir-pdll-lsp-server/lit.local.cfg | 1 + mlir/test/mlir-pdll/CodeGen/MLIR/expr.pdll | 2 +- mlir/test/mlir-pdll/Integration/test-pdll.mlir | 17 + mlir/test/mlir-pdll/Parser/dependency-file.pdll | 15 + mlir/test/mlir-pdll/Parser/include/ops.td | 6 +- mlir/test/mlir-pdll/Parser/include_td.pdll | 8 +- mlir/test/mlir-pdll/Parser/string-eof.pdll | 9 + mlir/test/mlir-tblgen/op-decl-and-defs.td | 20 +- mlir/test/mlir-tblgen/op-result.td | 27 +- mlir/test/python/dialects/pdl_ops.py | 2 +- mlir/tools/CMakeLists.txt | 1 - mlir/tools/mlir-opt/CMakeLists.txt | 1 + mlir/tools/mlir-opt/mlir-opt.cpp | 2 + mlir/tools/mlir-pdll/CMakeLists.txt | 24 +- mlir/tools/mlir-pdll/mlir-pdll.cpp | 101 +- mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp | 67 +- mlir/tools/mlir-tblgen/CodeGenHelpers.cpp | 35 - mlir/tools/mlir-tblgen/DialectGen.cpp | 15 +- mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp | 63 +- .../Analysis/Presburger/PresburgerSetTest.cpp | 5 + mlir/unittests/ExecutionEngine/Invoke.cpp | 8 +- mlir/unittests/TableGen/OpBuildGen.cpp | 10 +- mlir/utils/tree-sitter-mlir/README.md | 8 + mlir/utils/tree-sitter-mlir/grammar.js | 261 ++ mlir/utils/vscode/package.json | 5 + mlir/utils/vscode/src/configWatcher.ts | 52 +- mlir/utils/vscode/src/mlirContext.ts | 112 +- polly/lib/CodeGen/CodegenCleanup.cpp | 3 +- polly/test/GPGPU/cuda-managed-memory-simple.ll | 2 +- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 60 + .../llvm-project-overlay/mlir/test/BUILD.bazel | 35 + 1894 files changed, 47714 insertions(+), 25845 deletions(-) create mode 100644 bolt/test/AArch64/r_aarch64_prelxx.s delete mode 100644 bolt/test/runtime/AArch64/r_aarch64_prelxx.s create mode 100644 clang-tools-extra/include-cleaner/CMakeLists.txt copy clang-tools-extra/{clangd/test/Inputs/background-index/sub_dir/compile_flags. [...] create mode 100644 clang-tools-extra/include-cleaner/lib/AnalysisInternal.h create mode 100644 clang-tools-extra/include-cleaner/lib/CMakeLists.txt create mode 100644 clang-tools-extra/include-cleaner/lib/WalkAST.cpp create mode 100644 clang-tools-extra/include-cleaner/test/CMakeLists.txt create mode 100644 clang-tools-extra/include-cleaner/test/Unit/lit.cfg.py create mode 100644 clang-tools-extra/include-cleaner/test/Unit/lit.site.cfg.py.in create mode 100644 clang-tools-extra/include-cleaner/test/lit.cfg.py create mode 100644 clang-tools-extra/include-cleaner/test/lit.site.cfg.py.in create mode 100644 clang-tools-extra/include-cleaner/unittests/CMakeLists.txt create mode 100644 clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp create mode 100644 clang/lib/CodeGen/CGHLSLRuntime.cpp create mode 100644 clang/lib/CodeGen/CGHLSLRuntime.h create mode 100644 clang/test/Analysis/debug-checkers.cpp create mode 100644 clang/test/Analysis/std-c-library-functions-path-notes.c create mode 100644 clang/test/Analysis/z3-refute-enum-crash.cpp create mode 100644 clang/test/CodeGen/RISCV/__fp16-convert.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_cadd.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_cdot.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_cmla.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mla.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mlalb.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mlalt.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mls.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mlslb.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mlslt.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mul.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mullb.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_mullt.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qcadd.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qdmulh.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qshlu.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qshrnb.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_qshrnt.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_q [...] delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_rshr.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_rshrnb.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_rshrnt.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_rsra.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_shllb.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_shllt.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_shrnb.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_shrnt.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_sli.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_sra.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_sri.c delete mode 100644 clang/test/CodeGen/aarch64-sve2-intrinsics/negative/acle_sve2_xar.c create mode 100644 clang/test/CodeGen/denormalfpmode-f32.c create mode 100644 clang/test/CodeGenCUDA/struct-mangling-number.cu create mode 100644 clang/test/CodeGenHLSL/validator_version.hlsl create mode 100644 clang/test/Driver/cuda-openmp-driver.cu create mode 100644 clang/test/Driver/hip-runtime-libs-linux.hip create mode 100644 clang/test/Driver/hip-runtime-libs-msvc.hip delete mode 100644 clang/test/Driver/ps4-cpu-defaults.cpp create mode 100644 clang/test/Driver/ps4-ps5-cpu-defaults.cpp create mode 100644 clang/test/Driver/ps4-ps5-toolchain.c create mode 100644 clang/test/Modules/merge-extension-ivars.m create mode 100644 clang/test/Modules/redecl-ivars.m create mode 100644 clang/test/ParserHLSL/access_specifiers.hlsl create mode 100644 clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_lane.cpp create mode 100644 clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_n.cpp create mode 100644 clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2_imm_rotation.cpp create mode 100644 clang/test/Sema/c2x-warn-strict-prototypes.c create mode 100644 clang/test/SemaTemplate/deferred-concept-inst.cpp create mode 100644 clang/test/SemaTemplate/trailing-return-short-circuit.cpp create mode 100644 compiler-rt/lib/builtins/avr/exit.S create mode 100644 compiler-rt/lib/builtins/avr/mulhi3.S create mode 100644 compiler-rt/lib/builtins/avr/mulqi3.S create mode 100644 compiler-rt/test/tsan/Linux/epoll_norace.cpp create mode 100644 compiler-rt/test/tsan/atomic_norace3.cpp create mode 100644 flang/test/Fir/widechar.fir create mode 100644 flang/test/Lower/OpenACC/Todo/acc-declare.f90 create mode 100644 flang/test/Lower/OpenACC/Todo/acc-routine.f90 create mode 100644 flang/test/Lower/OpenMP/Todo/omp-declarative-allocate.f90 create mode 100644 flang/test/Lower/OpenMP/Todo/omp-declare-reduction.f90 create mode 100644 flang/test/Lower/OpenMP/Todo/omp-declare-simd.f90 create mode 100644 flang/test/Lower/OpenMP/Todo/omp-declare-target.f90 create mode 100644 flang/test/Lower/OpenMP/Todo/omp-threadprivate.f90 create mode 100644 flang/test/Lower/OpenMP/taskwait.f90 create mode 100644 flang/test/Lower/OpenMP/taskyield.f90 create mode 100644 flang/test/Lower/common-block-2.f90 create mode 100644 flang/test/Lower/do_loop.f90 create mode 100644 flang/test/Lower/fail_image.f90 create mode 100644 flang/test/Semantics/common-blocks-warn.f90 create mode 100644 flang/test/Semantics/common-blocks.f90 create mode 100644 libc/src/stdio/clearerr.cpp create mode 100644 libc/src/stdio/clearerr.h create mode 100644 libc/src/stdio/clearerr_unlocked.cpp create mode 100644 libc/src/stdio/clearerr_unlocked.h create mode 100644 libc/src/stdio/feof.cpp create mode 100644 libc/src/stdio/feof.h create mode 100644 libc/src/stdio/feof_unlocked.cpp create mode 100644 libc/src/stdio/feof_unlocked.h create mode 100644 libc/src/stdio/ferror.cpp create mode 100644 libc/src/stdio/ferror.h create mode 100644 libc/src/stdio/ferror_unlocked.cpp create mode 100644 libc/src/stdio/ferror_unlocked.h create mode 100644 libcxxabi/test/forced_unwind4.pass.cpp delete mode 100644 lld/test/ELF/linkerscript/Inputs/data-segment-relro.s create mode 100644 lld/test/ELF/lto/wrap-script-referenced.ll create mode 100644 lldb/docs/use/ondemand.rst create mode 100644 lldb/include/lldb/Symbol/SymbolFileOnDemand.h create mode 100644 lldb/source/Plugins/Process/Linux/Procfs.cpp delete mode 100644 lldb/source/Symbol/LocateSymbolFileMacOSX.cpp.rej create mode 100644 lldb/source/Symbol/SymbolFileOnDemand.cpp create mode 100644 lldb/test/API/functionalities/location-list-lookup/Makefile create mode 100644 lldb/test/API/functionalities/location-list-lookup/TestLocation [...] create mode 100644 lldb/test/API/functionalities/location-list-lookup/main.c create mode 100644 lldb/test/API/symbol_ondemand/breakpoint_language/Makefile create mode 100644 lldb/test/API/symbol_ondemand/breakpoint_language/TestBreakpoin [...] create mode 100644 lldb/test/API/symbol_ondemand/breakpoint_language/c_lang.c create mode 100644 lldb/test/API/symbol_ondemand/breakpoint_language/cpp_lang.cpp create mode 100644 lldb/test/API/symbol_ondemand/breakpoint_language/main.cpp copy lldb/test/API/{api/check_public_api_headers => symbol_ondemand/breakpoint_sou [...] create mode 100644 lldb/test/API/symbol_ondemand/breakpoint_source_regex/TestSourc [...] create mode 100644 lldb/test/API/symbol_ondemand/breakpoint_source_regex/main.cpp create mode 100644 lldb/test/API/symbol_ondemand/shared_library/Makefile create mode 100644 lldb/test/API/symbol_ondemand/shared_library/TestSharedLibOnDemand.py create mode 100644 lldb/test/API/symbol_ondemand/shared_library/foo.c create mode 100644 lldb/test/API/symbol_ondemand/shared_library/foo.h create mode 100644 lldb/test/API/symbol_ondemand/shared_library/shared.c create mode 100644 lldb/test/Shell/SymbolFile/OnDemand/Inputs/basic.cpp create mode 100644 lldb/test/Shell/SymbolFile/OnDemand/source-breakpoint.test create mode 100644 lldb/test/Shell/SymbolFile/OnDemand/symbolic-breakpoint.test create mode 100644 lldb/unittests/Process/Linux/ProcfsTests.cpp create mode 100644 llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp delete mode 100644 llvm/lib/Transforms/Scalar/LoopUnswitch.cpp delete mode 100644 llvm/test/Analysis/CostModel/AArch64/splat-load.ll create mode 100644 llvm/test/Analysis/CostModel/RISCV/shuffle-broadcast.ll create mode 100644 llvm/test/Analysis/CostModel/X86/shuffle-load.ll create mode 100644 llvm/test/Analysis/CostModel/X86/shuffle-non-pow-2.ll delete mode 100644 llvm/test/Analysis/CostModel/X86/splat-load.ll create mode 100644 llvm/test/Analysis/LoopCacheAnalysis/PowerPC/LoopnestFixedSize.ll create mode 100644 llvm/test/Analysis/ScalarEvolution/pointer-rounding.ll create mode 100644 llvm/test/Analysis/ScalarEvolution/pointer-select.ll create mode 100644 llvm/test/CodeGen/AArch64/float-conv-elim.ll create mode 100644 llvm/test/CodeGen/AArch64/pr55178.ll create mode 100644 llvm/test/CodeGen/AArch64/pr55201.ll create mode 100644 llvm/test/CodeGen/AArch64/swift-async-win.ll create mode 100644 llvm/test/CodeGen/AMDGPU/lds-dma-waitcnt.mir create mode 100644 llvm/test/CodeGen/AMDGPU/set-wave-priority.ll create mode 100644 llvm/test/CodeGen/AMDGPU/setcc-multiple-use.ll create mode 100644 llvm/test/CodeGen/MIR/X86/machine-verifier-address.mir create mode 100644 llvm/test/CodeGen/Mips/bittest.ll create mode 100644 llvm/test/CodeGen/Mips/llvm-ir/nan-fp-attr.ll delete mode 100644 llvm/test/CodeGen/NVPTX/add-128bit.ll create mode 100644 llvm/test/CodeGen/NVPTX/add-sub-128bit.ll create mode 100644 llvm/test/CodeGen/PowerPC/aix-xcoff-exported-nondefault.ll create mode 100644 llvm/test/CodeGen/PowerPC/is_fpclass.ll create mode 100644 llvm/test/CodeGen/RISCV/fold-vector-cmp.ll create mode 100644 llvm/test/CodeGen/RISCV/pr53662.mir create mode 100644 llvm/test/CodeGen/RISCV/pr55201.ll create mode 100644 llvm/test/CodeGen/RISCV/rvv/allone-masked-to-unmasked.ll create mode 100644 llvm/test/CodeGen/RISCV/rvv/fixed-vectors-setcc-int-vp-mask.ll create mode 100644 llvm/test/CodeGen/RISCV/rvv/fold-binary-reduce.ll create mode 100644 llvm/test/CodeGen/RISCV/rvv/setcc-int-vp-mask.ll create mode 100644 llvm/test/CodeGen/SystemZ/is_fpclass.ll create mode 100644 llvm/test/CodeGen/Thumb2/swp-exitbranchdir.mir create mode 100644 llvm/test/CodeGen/Thumb2/swp-fixedii.mir create mode 100644 llvm/test/CodeGen/X86/add-and-not.ll create mode 100644 llvm/test/CodeGen/X86/gather-scatter-opaque-ptr-2.ll create mode 100644 llvm/test/CodeGen/X86/gather-scatter-opaque-ptr.ll create mode 100644 llvm/test/CodeGen/X86/pr55158.ll create mode 100644 llvm/test/DebugInfo/NVPTX/dwarf-file-dir.ll create mode 100644 llvm/test/MC/RISCV/rv64zbs-invalid.s create mode 100644 llvm/test/Transforms/ArgumentPromotion/max-elements-limit.ll create mode 100644 llvm/test/Transforms/ArgumentPromotion/min-legal-vector-width.ll create mode 100644 llvm/test/Transforms/FunctionSpecialization/bug55000-read-unini [...] create mode 100644 llvm/test/Transforms/GlobalOpt/global-constructor-opaque-ptr.ll create mode 100644 llvm/test/Transforms/InferAddressSpaces/X86/noop-ptrint-pair.ll create mode 100644 llvm/test/Transforms/InstCombine/integer-round-up-pow2-alignment.ll create mode 100644 llvm/test/Transforms/InstCombine/memchr-4.ll create mode 100644 llvm/test/Transforms/InstCombine/pr55228.ll create mode 100644 llvm/test/Transforms/InstCombine/select-cmp.ll create mode 100644 llvm/test/Transforms/InstCombine/strncmp-3.ll create mode 100644 llvm/test/Transforms/LoopStrengthReduce/debuginfo-scev-salvage-5.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2006-06-13-SingleEntryPHI.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2006-06-27-DeadSwitchCase.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2007-05-09-Unreachable.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2007-05-09-tl.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2007-07-12-ExitDomInfo.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2007-07-13-DomInfo.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2007-07-18-DomInfo.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2007-08-01-Dom.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2007-08-01-LCSSA.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2007-10-04-DomFrontier.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2008-06-02-DomInfo.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2008-06-17-DomFrontier.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2010-11-18-LCSSA.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2011-06-02-CritSwitch.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2011-09-26-EHCrash.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2012-04-02-IndirectBr.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2012-04-30-LoopUnswitch-LPad- [...] delete mode 100644 llvm/test/Transforms/LoopUnswitch/2012-05-20-Phi.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2015-06-17-Metadata.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/2015-09-18-Addrspace.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/AMDGPU/divergent-unswitch.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/AMDGPU/lit.local.cfg delete mode 100644 llvm/test/Transforms/LoopUnswitch/AMDGPU/uniform-unswitch.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/LIV-loop-condtion.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/basictest.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/callbr.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/cleanuppad.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/convergent-hoist-modified.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/copy-metadata.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/crash.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/elseif-non-exponential-behavior.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/exponential-behavior.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/guards.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/infinite-loop.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/invalidate-scev.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/invoke-hoist-modified.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/msan.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/optsize-hoist-modified.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/partial-unswitch-cost.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/partial-unswitch-mssa-threshold.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/partial-unswitch-update-memoryssa.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/partial-unswitch.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/pr32818.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/preserve-analyses.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/simplify-with-nonvalness.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/trivial-unswitch.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/unswitch-equality-undef.ll delete mode 100644 llvm/test/Transforms/LoopUnswitch/unswitch-select.ll create mode 100644 llvm/test/Transforms/LoopVectorize/fpsat.ll create mode 100644 llvm/test/Transforms/LoopVectorize/interleave-with-call.ll create mode 100644 llvm/test/Transforms/PGOProfile/chr_coro.ll create mode 100644 llvm/test/Transforms/RewriteStatepointsForGC/single-base.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/AArch64/fpsat.ll create mode 100644 llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-freeze [...] create mode 100644 llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-logica [...] create mode 100644 llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-large-types.ll create mode 100644 llvm/test/Transforms/VectorCombine/AArch64/vecreduce-shuffle.ll create mode 100644 llvm/test/tools/llvm-ml/indirect_branch.asm create mode 100644 llvm/test/tools/llvm-reduce/mir/drop-ir-references.mir create mode 100644 llvm/test/tools/llvm-reduce/mir/infer-triple-unknown-target.mir create mode 100644 llvm/test/tools/llvm-reduce/mir/infer-triple.mir create mode 100644 llvm/test/tools/llvm-reduce/mir/input-file-does-not-exist.mir create mode 100644 llvm/test/tools/llvm-reduce/mir/multiple-functions.mir create mode 100644 llvm/test/tools/llvm-reduce/mir/preserve-mem-operands.mir create mode 100644 llvm/test/tools/llvm-reduce/mir/remove-frame-destroy.mir create mode 100644 llvm/test/tools/llvm-reduce/mir/subreg-def0.mir create mode 100644 llvm/test/tools/llvm-reduce/mir/subreg-def1.mir create mode 100644 llvm/tools/llvm-reduce/deltas/ReduceIRReferences.cpp create mode 100644 llvm/tools/llvm-reduce/deltas/ReduceIRReferences.h delete mode 100644 llvm/tools/msbuild/.gitignore delete mode 100644 llvm/tools/msbuild/LLVM.Cpp.Common.props delete mode 100644 llvm/tools/msbuild/LLVM.Cpp.Common.targets delete mode 100644 llvm/tools/msbuild/Platformx64/Toolset.props delete mode 100644 llvm/tools/msbuild/Platformx64/Toolset.targets delete mode 100644 llvm/tools/msbuild/Platformx86/Toolset.props delete mode 100644 llvm/tools/msbuild/Platformx86/Toolset.targets delete mode 100644 llvm/tools/msbuild/install.bat delete mode 100644 llvm/tools/msbuild/license.txt delete mode 100644 llvm/tools/msbuild/llvm-general.xml delete mode 100644 llvm/tools/msbuild/llvm.csproj delete mode 100644 llvm/tools/msbuild/llvm.sln delete mode 100644 llvm/tools/msbuild/source.extension.vsixmanifest delete mode 100644 llvm/tools/msbuild/uninstall.bat create mode 100644 llvm/utils/lit/tests/Inputs/shtest-if-else/lit.cfg create mode 100644 llvm/utils/lit/tests/Inputs/shtest-if-else/test-neg1.txt create mode 100644 llvm/utils/lit/tests/Inputs/shtest-if-else/test-neg2.txt create mode 100644 llvm/utils/lit/tests/Inputs/shtest-if-else/test-neg3.txt create mode 100644 llvm/utils/lit/tests/Inputs/shtest-if-else/test-neg4.txt create mode 100644 llvm/utils/lit/tests/Inputs/shtest-if-else/test.txt create mode 100644 llvm/utils/lit/tests/shtest-if-else.py create mode 100644 mlir/docs/ExtensibleDialects.md create mode 100644 mlir/include/mlir/Dialect/Linalg/TransformOps/CMakeLists.txt create mode 100644 mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.h create mode 100644 mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td create mode 100644 mlir/include/mlir/IR/ExtensibleDialect.h create mode 100644 mlir/lib/Dialect/Linalg/TransformOps/CMakeLists.txt create mode 100644 mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp create mode 100644 mlir/lib/IR/ExtensibleDialect.cpp create mode 100644 mlir/lib/Tools/PDLL/ODS/Constraint.cpp create mode 100644 mlir/lib/Tools/mlir-pdll-lsp-server/CompilationDatabase.cpp create mode 100644 mlir/lib/Tools/mlir-pdll-lsp-server/CompilationDatabase.h create mode 100644 mlir/test/Conversion/MemRefToSPIRV/alloca.mlir delete mode 100644 mlir/test/Conversion/VectorToSPIRV/simple.mlir create mode 100644 mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir create mode 100644 mlir/test/Dialect/Linalg/transform-ops.mlir create mode 100644 mlir/test/Dialect/PDLInterp/invalid.mlir create mode 100644 mlir/test/IR/dynamic.mlir create mode 100644 mlir/test/Target/Cpp/cast.mlir rename mlir/test/Target/LLVMIR/{import.ll => Import/basic.ll} (100%) create mode 100644 mlir/test/Target/LLVMIR/Import/constant-aggregate.ll rename mlir/test/Target/LLVMIR/{ => Import}/data-layout.ll (100%) create mode 100644 mlir/test/Target/LLVMIR/Import/incorrect-constant-caching.ll create mode 100644 mlir/test/Target/LLVMIR/Import/incorrect-constexpr-inst-caching.ll rename mlir/test/Target/LLVMIR/{import-opaque.ll => Import/opaque.ll} (100%) create mode 100644 mlir/test/Target/LLVMIR/Import/zeroinitializer.ll create mode 100644 mlir/test/Transforms/test-rewrite-dynamic-op.mlir create mode 100644 mlir/test/lib/Tools/CMakeLists.txt create mode 100644 mlir/test/lib/Tools/PDLL/CMakeLists.txt create mode 100644 mlir/test/lib/Tools/PDLL/TestPDLL.cpp create mode 100644 mlir/test/lib/Tools/PDLL/TestPDLL.pdll create mode 100644 mlir/test/lib/Tools/PDLL/lit.local.cfg create mode 100644 mlir/test/mlir-pdll-lsp-server/compilation_database.test create mode 100644 mlir/test/mlir-pdll-lsp-server/document-links.test create mode 100644 mlir/test/mlir-pdll-lsp-server/include/included.pdll create mode 100644 mlir/test/mlir-pdll-lsp-server/include/included.td create mode 100644 mlir/test/mlir-pdll-lsp-server/lit.local.cfg create mode 100644 mlir/test/mlir-pdll/Integration/test-pdll.mlir create mode 100644 mlir/test/mlir-pdll/Parser/dependency-file.pdll create mode 100644 mlir/test/mlir-pdll/Parser/string-eof.pdll create mode 100644 mlir/utils/tree-sitter-mlir/README.md create mode 100644 mlir/utils/tree-sitter-mlir/grammar.js