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-aarch64-next-allnoconfig in repository toolchain/ci/llvm-project.
from fce8983a3c0 [clangd] Remove the temporary alias for clangd::DiagnosticC [...] adds 0994c485e61 AMDGPU: Fix handling of infinite loops in fragment shaders adds 323bfde20c5 AMDGPU: Fix AMDGPUUnifyDivergentExitNodes with no normal returns adds 2103e08b3f6 More fixes of implicit std::string conversions adds c5c1bb33747 GlobalISel: Lower G_WRITE_REGISTER adds a9af1dc34d3 Analysis: Add max recursison to isDereferenceableAndAlignedPointer adds 02adfb5155e AMDGPU/GlobalISel: Manually select scalar f64 G_FNEG adds ea1e3369f7a [mlir][Linalg] Introduce folding patterns to remove certain [...] adds c2dcdf95eba [libc] Fix benchmarks CMakeLists.txt adds 0bec0e71514 [VE] udiv/sdiv/urem/srem/mul isel patterns adds da58e68fdf1 [LoopFusion] Move instructions from FC1.Preheader to FC0.Pr [...] adds 9a08a3fab99 [Analyzer] Split container modeling from iterator modeling adds 13ab22ab22d Revert "AMDGPU: Fix AMDGPUUnifyDivergentExitNodes with no n [...] adds 08b205bb480 Revert "AMDGPU: Fix handling of infinite loops in fragment [...] adds df8f2774b6a [gn build] Port 9a08a3fab99 adds 24ab761a60b LLT: Add changeNumElements adds 31e07692d7f Work around PR44697 in CrashRecoveryContext adds 79748add70d Fix MSVC lamdba default capture mode warning. NFCI. adds 01213f90700 [clang-tidy] Initialize token before handing it to the lexer adds 752e2e245ab AMDGPU/GlobalISel: Rewrite fadd select tests adds f717483acd5 GlobalISel: Assert on invalid bitcast in MIRBuilder adds c2ad7ee1a9a [AMDGPU] override isHighLatencyDef adds 94e8ef4d4c7 AMDGPU/GlobalISel: Look through copies for source modifiers adds 87d98c14950 AMDGPU: Fix handling of infinite loops in fragment shaders adds ab2300bc154 [PassManagerBuilder] Remove global extension when a plugin [...] adds 96352e0a1bd AMDGPU/GlobalISel: Handle LDS with relocations case adds 0d7bd343127 [MachineScheduler] Ignore artificial edges when forming sto [...] adds 68b102b97ac AMDGPU: Directly select 16-bank LDS case of llvm.amdgcn.int [...] adds b63629a58d7 GlobalISel: Fix mask computation in lowerInsert adds fef80a2946e [VE] (conditional) branch modification & isel patterns adds b136238bb4e Add a test extracted from D69557 "AsmParser: Allow FMF on v [...] adds 62129878a66 AMDGPU/GlobalISel: Fix tablegen selection for scalar bin ops adds e5edd641fde [X86] Use a shorter sequence to implement FLT_ROUNDS adds 48bd6a09868 [DAGCombiner] visitIMINMAX - use general SelectionDAG::Fold [...] adds 4b04e117357 [DAGCombiner] Sub/SUBSAT - use general SelectionDAG::FoldCo [...] adds 6e82d0dfd8d [Clang][Bundler] Add 'exclude' flag to target objects sections adds d07a7895792 [AMDGPU] Cluster FLAT instructions with both vaddr and saddr adds 4bc07c332a2 [llvm][docs] LangRef for IR attribute `vector-function-abi- [...] adds 90c31b0f428 [X86] Custom lower ISD::FROUND with SSE4.1 to avoid a libcall. adds 33fa6727b7c [lldb/Reproducers] Add logging to the string template speci [...] adds f4ca2ac8225 [scudo] Skip building scudo standalone if sys/auxv.h can't [...] adds 6a74641e723 [InstCombine] Regenerate test checks; NFC adds 8093d37ed25 Fix switch covers all cases static analyzer warning. NFCI. adds 25b8e963881 [DAGCombiner] ISD::MUL - use general SelectionDAG::FoldCons [...] adds 4a4ce14eb2c [ELF] Mention symbol name in reportRangeError() adds aa6ec19c5f4 Add dwarfdump support for DW_OP_regval_type. adds b4c911eccc4 [libcxx] Add a std::string_view pretty printer for libcxx. adds a5a4a47d691 [AArch64] Fix data race on RegisterBank initialization. adds 8bb6c8a22af [AMDGPU] Fix data race on RegisterBank initialization. adds 91618d940ea [ARM] Fix data race on RegisterBank initialization. adds d7049213d0f [SmallString] Add explicit conversion to std::string adds 816ee8a4239 DwarfExpression: Factor out getOrCreateBaseType() (NFC) adds 18dbe1b279c Run clang-format on DwarfExpression (NFC) adds ce07cdea336 [lldb/Host] Fix implicit StringRef to std::string conversion adds 2605adb69c6 [AMDGPU][GlobalISel] Select 8-byte LDS Ops with 4-byte alignment adds b500c49cd4f [clangd] Don't mmap source files on all platforms --> don't [...] adds d2e2fc450e7 [ConstantFold][SVE] Fix constant folding for scalable vecto [...] adds f7245ef8976 [DAGCombiner] ISD::SHL/SRA/SRL - use general SelectionDAG:: [...] adds 0758ac4e0cf Handle non-absolute include dirs properly for both dwarf4 a [...] adds 8903e61b661 [AsmPrinter][ELF] Define local aliases (.Lfoo$local) for Gl [...] adds 2ec954579a6 Revert "[ARM] Fix data race on RegisterBank initialization." adds af620fc36a2 Revert "[AMDGPU] Fix data race on RegisterBank initialization." adds 8f6761aa412 Revert "[AArch64] Fix data race on RegisterBank initialization." adds cd68f4beaa2 attempt to fix symbolize-paths.s on windows adds b998d481daf attempt to fix symbolize-paths.s everywhere after cd68f4 adds 0da937bb5c2 [GlobalISel][IRTranslator] Follow convention and put consta [...] adds 5171587a5f5 [InstCombine] Add undef/non-splat tests for add/sub + icmp eq; NFC adds e086e23024e [InstCombine] Support non-splat vectors in icmp eq + add/sub fold adds fa44d72b9e4 [build] Fix runtimes build after 2e745ba6b0ba adds c64b56617da Print discriminators when printing .debug_line in GNU style. adds 9accbd58fb3 Add IntegerAttr::verifyConstructionInvariants. adds d3cea954757 AMDGPU/GlobalISel: Fix tests in release build adds 7db4f2c6945 [libcxx] [Windows] Store the lconv struct returned from loc [...] adds 89195638bf9 [InstCombine] add splat binop tests; NFC adds c2b7e4e88a1 Rewrite test not to rely on StrEq with StringRef adds 1492b70a03d [PowerPC][Future] Add prefixed loads and stores for future CPU adds 00c2249910a [NFCI][AArch64][SVE] Set default DestructiveInstType in AAr [...] adds 24962ced814 [Loads] Handle simple cases with same base pointer with con [...] adds 363289b542d [gn build] Port 24962ced814 adds 050cd443ca7 [AArch64][GlobalISel] Fix TBNZ/TBZ opcode selection adds 5ea83eef4d6 Revert "[llvm-objcopy] Initial support for wasm in llvm-objcopy" adds a111ffbb03f [lldb] Fix build break in ProcessDebugger due to StringRef [...] adds e8e6e13176e [gn build] Port 5ea83eef4d6 adds b9826408e4f [libc] Fix build after 777180a32b61070a10dd330b4f038bf24e916af1. adds c12f046eb96 [GlobalISel] Add new combine to convert scalar G_MUL to G_SHL. adds 0423ddfb817 [build] Fix LLVM_ENABLE_RUNTIMES override condition adds 4f2e2acc4b2 [NFC][AArch64][SVE] Rename Destructive enumerator from Dest [...] adds c6bc10636cf [libc] Add a library of standalone C++ utilities. adds d88a5c39877 [SmallString] Remove StringRef indirection for std::string [...] adds 6cb830de6e4 [scudo][standalone] Revert some perf-degrading changes adds 91aa67bf290 [lldb/Reproducers] Add (de)serialization overload for char** adds 43d9f2d1e8a [opt viewer] Python compat - decode/encode string adds 7f3280ecddb AMDGPU/GlobalISel: Select permlane16/permlanex16 adds 29181e54262 [compiler-rt][profile] fix test/instrprof-set-filename.c on [...] adds c5fffa4da35 GlobalISel: Add observer argument to legalizeIntrinsic adds 228ea1a46cc [mlir] [VectorOps] consolidate all vector utilities to one [...] adds 35625464c6d [X86] Fix the cost model for v16i16->v16i32 zero_extend/sig [...] adds a10cec02f79 [X86] Improve X86 cmpps/cmppd/cmpss/cmpsd intrinsics with strictfp adds 31ae0165c35 [LTO] Add optimization remarks for removed functions adds 442d8e7a91c [gn build] add a FIXME about using /Gw on win adds 446e4e4cf6d [lldb/Reproducers] Account for char** being a nullptr adds 91f863be4f0 [lldb/Reproducers] Add unittest for char** (de)serializer adds 791c9f1145f [Attributor] Fix TODO to avoid recomputation of results adds 93cdd310e16 [libc++] Explicitly specify LIBCXX_ENABLE_SHARED to try and fix CI adds f2af0607000 [llvm-objcopy] Initial support for wasm in llvm-objcopy adds f0654875fb2 [gn build] Port f2af0607000 adds 89c2e733e80 [Attributor] Pointer privatization attribute (argument promotion) adds 7f49dc49668 [CMake][libcxx] Don't wrap __config_site path in quotes on Windows adds fa14522c219 [llvm][docs] Fix formatting in LangRef. [NFC] adds 14a16fae434 [llvm][NFC] Rename CallAnalyzer::onCommonInstructionSimplification adds b2924d9956f [llvm] Replace SmallStr.str().str() with std::string conver [...] adds 509e21a1b9d [clang] Replace SmallStr.str().str() with std::string conve [...] adds 3e24242a7dc [lld] Replace SmallStr.str().str() with std::string convers [...] adds 1ef8e8b4142 [X86] Don't exit from foldOffsetIntoAddress if the Offset i [...] adds e28d8f9069b [lldb] Replace SmallStr.str().str() with std::string conver [...] adds 056f01f8956 [lldb/Reproducers] Assert when trying to get object for inv [...] adds 12c185ac5e5 [lldb/Reproducers] Fix reproducer instrumentation formatting (NFC) adds 623cff81fef [llvm][VectorUtils] Tweak VFShape for scalable vector functions. adds 0e67212416f Revert "[lldb/Reproducers] Assert when trying to get object [...] adds eb054577e9d [X86] Add function isPrefix() adds 635fbcdd1bd Even more fixes of implicit std::string conversions adds 007a6a155c7 Revert "[X86] Don't exit from foldOffsetIntoAddress if the [...] adds 5e416ba943b Define _LIBCPP_HAS_TIMESPEC_GET for FreeBSD when appropriate adds 610f1d22f14 [AArch64][GlobalISel] During ISel try to convert G_PTR_ADD [...] adds 6b9e2be8ec3 [mlir][NFC] Explicitly initialize dynamic legality when set [...] adds a03ec58da60 Add GDB pretty printers for llvm::ilist, llvm::simple_ilist [...] adds 80581966771 [InstCombine] Process newly inserted instructions in the co [...] adds 61ba477525a [InstCombine] Add SetVector.h include adds ef052a7527e [InstCombine] Update SimplifyCFG test adds 6726d67bfd9 [ARM][LowOverheadLoops] Check scalar predicates adds c5344d857fd [X86][Sched] A bunch of fixes to the Zen2 sched model latencies. adds 676c29694c5 Inline debug variable. adds 021f531786d [DebugInfo] Fix DebugLine::Prologue::getLength adds dd7148822bd [InstCombine][AMDGPU] Trim components of s_buffer_load adds ce06d50756e AMDGPU: Fix AMDGPUUnifyDivergentExitNodes with no normal returns adds a156a0e28df [ASTMatchers] Add hasPlacementArg and hasAnyPlacementArg tr [...] adds 9b71ec899a1 [clangd][vscode] Get rid of the deprecated vscode module in [...] adds 2224407ef5b Add lowering of STRICT_FSETCC and STRICT_FSETCCS adds 7fd7a9a6365 [clangd] Bump vscode-clangd v0.0.20 new 5f8e51a9d4a [llvm-readobj] - Add a few warnings for --gnu-hash-table. new df8a986f533 [lldb][NFC] Remove TypeSystemClang::GetASTContext calls in [...] new 4fb1adcde22 [clangd] Log directory when a CDB is loaded new 2930dab3153 [llvm-readobj] - Improve error message reported by DynRegionInfo. new 26927518955 Add 'gpu.terminator' operation. new 827f49e3faf [clangd] Make go-to-def jumps to overriden methods on `fina [...] new 1649c0098a2 [yaml2obj] - Add a way to set sh_entsize for relocation sections. new 06e12893ffb [ARM][LowOverheadLoops] Skip debug values new d242aa245cc [MLIR] Added llvm.invoke and llvm.landingpad new a967aa27068 [DAGCombiner] ISD::SDIV/UDIV/SREM/UREM - use general Select [...] new 57b0d332244 [DAGCombiner] ISD::AND/OR/XOR - use general SelectionDAG::F [...]
The 11 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: clang-tools-extra/clang-doc/HTMLGenerator.cpp | 10 +- clang-tools-extra/clang-tidy/ClangTidy.cpp | 2 +- .../cert/DefaultOperatorNewAlignmentCheck.cpp | 7 +- .../SpecialMemberFunctionsCheck.cpp | 2 +- .../clang-tidy/modernize/MakeSmartPtrCheck.cpp | 10 +- .../modernize/UseTrailingReturnTypeCheck.cpp | 1 + .../clang-tidy/utils/RenamerClangTidyCheck.cpp | 4 +- clang-tools-extra/clangd/FSProvider.cpp | 17 +- clang-tools-extra/clangd/FSProvider.h | 1 - .../clangd/GlobalCompilationDatabase.cpp | 4 +- clang-tools-extra/clangd/XRefs.cpp | 5 +- .../clangd/clients/clangd-vscode/package-lock.json | 2016 ++------------------ .../clangd/clients/clangd-vscode/package.json | 12 +- .../clangd/clients/clangd-vscode/test/index.ts | 54 +- .../clangd/clients/clangd-vscode/test/runTest.ts | 23 + clang-tools-extra/clangd/unittests/ClangdTests.cpp | 2 +- .../clangd/unittests/IndexActionTests.cpp | 2 +- clang-tools-extra/clangd/unittests/XRefsTests.cpp | 5 + clang/docs/LibASTMatchersReference.html | 20 + clang/include/clang/ASTMatchers/ASTMatchers.h | 29 + .../clang/StaticAnalyzer/Checkers/Checkers.td | 13 +- clang/lib/AST/Expr.cpp | 4 +- clang/lib/ASTMatchers/Dynamic/Registry.cpp | 2 + clang/lib/CodeGen/CGBuiltin.cpp | 145 +- clang/lib/CodeGen/CoverageMappingGen.cpp | 2 +- clang/lib/CrossTU/CrossTranslationUnit.cpp | 2 +- clang/lib/Driver/Driver.cpp | 2 +- clang/lib/Format/TokenAnnotator.cpp | 1 + clang/lib/Lex/HeaderSearch.cpp | 2 +- clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt | 2 + ...{IteratorModeling.cpp => ContainerModeling.cpp} | 973 ++-------- .../Checkers/DebugContainerModeling.cpp | 138 ++ .../Checkers/DebugIteratorModeling.cpp | 52 - clang/lib/StaticAnalyzer/Checkers/Iterator.cpp | 41 + clang/lib/StaticAnalyzer/Checkers/Iterator.h | 2 + .../StaticAnalyzer/Checkers/IteratorModeling.cpp | 1051 +--------- clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp | 2 +- clang/test/Analysis/container-modeling.cpp | 189 ++ clang/test/Analysis/debug-container-modeling.cpp | 31 + clang/test/Analysis/debug-iterator-modeling.cpp | 7 +- clang/test/Analysis/iterator-modelling.cpp | 233 +-- clang/test/CodeGen/avx-builtins-constrained-cmp.c | 772 ++++++++ .../CodeGen/avx512f-builtins-constrained-cmp.c | 861 +++++++++ .../CodeGen/avx512vl-builtins-constrained-cmp.c | 1667 ++++++++++++++++ clang/test/CodeGen/sse-builtins-constrained-cmp.c | 112 ++ clang/test/CodeGen/sse2-builtins-constrained-cmp.c | 112 ++ clang/test/Driver/clang-offload-bundler.c | 3 +- .../clang-offload-bundler/ClangOffloadBundler.cpp | 59 +- clang/tools/clang-refactor/TestSupport.cpp | 2 +- .../ASTMatchers/ASTMatchersTraversalTest.cpp | 40 + clang/unittests/Driver/SanitizerArgsTest.cpp | 2 +- clang/unittests/Frontend/FrontendActionTest.cpp | 4 +- compiler-rt/cmake/config-ix.cmake | 7 +- compiler-rt/lib/scudo/standalone/primary32.h | 3 +- compiler-rt/lib/scudo/standalone/primary64.h | 3 +- compiler-rt/test/profile/instrprof-set-filename.c | 11 +- .../llvm-prettyprinters/gdb/prettyprinters.cpp | 22 + .../llvm-prettyprinters/gdb/prettyprinters.gdb | 83 +- libc/CMakeLists.txt | 3 + libc/cmake/modules/LLVMLibCRules.cmake | 44 + libc/utils/CMakeLists.txt | 1 + libc/utils/CPP/Array.h | 47 + libc/utils/CPP/ArrayRef.h | 90 + libc/utils/CPP/CMakeLists.txt | 7 + libc/utils/CPP/README.md | 12 + libc/utils/CPP/StringRef.h | 19 + libc/utils/CPP/TypeTraits.h | 50 + libc/utils/HdrGen/Generator.cpp | 2 +- libc/utils/HdrGen/Main.cpp | 2 +- libc/utils/HdrGen/PublicAPICommand.cpp | 18 +- libc/utils/UnitTest/CMakeLists.txt | 2 + libc/utils/UnitTest/Test.cpp | 6 +- libc/utils/UnitTest/Test.h | 117 +- libc/utils/benchmarks/CMakeLists.txt | 14 +- libcxx/CMakeLists.txt | 2 +- libcxx/cmake/caches/Apple.cmake | 1 + libcxx/include/__config | 4 + libcxx/include/support/win32/locale_win32.h | 73 +- libcxx/src/support/win32/locale_win32.cpp | 8 +- .../pretty_printers/gdb_pretty_printer_test.sh.cpp | 16 + libcxx/utils/gdb/libcxx/printers.py | 29 + lld/COFF/Driver.cpp | 2 +- lld/ELF/DriverUtils.cpp | 2 +- lld/ELF/Relocations.cpp | 34 +- lld/ELF/Target.h | 14 +- lld/MinGW/Driver.cpp | 2 +- lld/test/ELF/aarch64-abs16.s | 4 +- lld/test/ELF/aarch64-abs32.s | 4 +- lld/test/ELF/aarch64-prel16.s | 4 +- lld/test/ELF/aarch64-prel32.s | 4 +- lld/test/ELF/hexagon-jump-error.s | 6 +- lld/test/ELF/i386-reloc-16.s | 4 +- lld/test/ELF/i386-reloc-8.s | 4 +- lld/test/ELF/i386-reloc-range.s | 2 +- lld/test/ELF/ppc64-reloc-addr.s | 8 +- lld/test/ELF/riscv-branch.s | 4 +- lld/test/ELF/riscv-call.s | 7 +- lld/test/ELF/riscv-hi20-lo12.s | 4 +- lld/test/ELF/riscv-jal.s | 8 +- lld/test/ELF/riscv-pcrel-hilo.s | 4 +- lld/test/ELF/x86-64-reloc-error.s | 10 +- lld/test/ELF/x86-64-reloc-error2.s | 3 +- lld/wasm/Driver.cpp | 2 +- .../lldb/Utility/ReproducerInstrumentation.h | 25 +- lldb/source/Host/windows/Host.cpp | 2 +- .../ExpressionParser/Clang/ClangASTSource.h | 4 + .../Plugins/ExpressionParser/Clang/ClangHost.cpp | 8 +- .../Plugins/ExpressionParser/Clang/IRForTarget.cpp | 21 +- .../Process/Windows/Common/ProcessDebugger.cpp | 2 +- lldb/source/Utility/ReproducerInstrumentation.cpp | 16 + .../Expression/CppModuleConfigurationTest.cpp | 2 +- .../Utility/ReproducerInstrumentationTest.cpp | 51 + llvm/docs/CommandGuide/llvm-symbolizer.rst | 7 + llvm/docs/LangRef.rst | 71 + llvm/include/llvm/ADT/SmallString.h | 4 + llvm/include/llvm/Analysis/VectorUtils.h | 10 +- llvm/include/llvm/CodeGen/AsmPrinter.h | 5 + .../llvm/CodeGen/GlobalISel/CombinerHelper.h | 4 + .../llvm/CodeGen/GlobalISel/LegalizerHelper.h | 2 +- .../llvm/CodeGen/GlobalISel/LegalizerInfo.h | 4 +- llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h | 10 +- llvm/include/llvm/LTO/LTOBackend.h | 3 + llvm/include/llvm/Support/LowLevelTypeImpl.h | 6 + llvm/include/llvm/Target/GlobalISel/Combine.td | 10 +- .../llvm/Transforms/IPO/ArgumentPromotion.h | 12 + llvm/include/llvm/Transforms/IPO/Attributor.h | 62 +- .../llvm/Transforms/IPO/PassManagerBuilder.h | 28 +- .../Transforms/InstCombine/InstCombineWorklist.h | 18 + .../include/llvm/Transforms/Utils/CodeMoverUtils.h | 12 + llvm/lib/Analysis/InlineCost.cpp | 6 +- llvm/lib/Analysis/Loads.cpp | 65 +- llvm/lib/Analysis/VFABIDemangling.cpp | 74 +- llvm/lib/Analysis/VectorUtils.cpp | 2 +- llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 26 +- llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp | 47 +- llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h | 41 +- llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | 25 + llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 9 +- llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp | 39 +- llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp | 4 +- llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp | 7 + llvm/lib/CodeGen/MachineScheduler.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 115 +- llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp | 19 +- llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp | 39 +- llvm/lib/DebugInfo/Symbolize/DIPrinter.cpp | 2 + llvm/lib/IR/ConstantFold.cpp | 19 +- llvm/lib/IR/DiagnosticInfo.cpp | 9 +- llvm/lib/LTO/LTO.cpp | 50 +- llvm/lib/LTO/LTOBackend.cpp | 18 +- llvm/lib/ObjectYAML/ELFEmitter.cpp | 8 +- llvm/lib/ProfileData/GCOV.cpp | 2 +- llvm/lib/Support/CrashRecoveryContext.cpp | 7 + llvm/lib/Support/YAMLParser.cpp | 2 +- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 51 +- llvm/lib/Target/AArch64/AArch64ISelLowering.h | 4 + llvm/lib/Target/AArch64/AArch64InstrFormats.td | 33 +- llvm/lib/Target/AArch64/AArch64InstrInfo.h | 2 +- llvm/lib/Target/AArch64/AArch64InstrInfo.td | 13 +- .../Target/AArch64/AArch64InstructionSelector.cpp | 112 +- llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp | 6 +- llvm/lib/Target/AArch64/AArch64LegalizerInfo.h | 4 +- llvm/lib/Target/AArch64/SVEInstrFormats.td | 98 +- llvm/lib/Target/AMDGPU/AMDGPUGISel.td | 4 + llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | 62 + llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 3 - llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h | 3 - llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td | 12 - .../Target/AMDGPU/AMDGPUInstructionSelector.cpp | 113 +- llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h | 5 +- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 14 +- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h | 5 +- llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 19 + .../AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp | 88 +- llvm/lib/Target/AMDGPU/DSInstructions.td | 36 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 44 +- llvm/lib/Target/AMDGPU/SIISelLowering.h | 4 + llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 30 +- llvm/lib/Target/AMDGPU/SIInstrInfo.h | 2 +- llvm/lib/Target/AMDGPU/SIInstrInfo.td | 4 - llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp | 2 +- llvm/lib/Target/AMDGPU/SMInstructions.td | 10 +- llvm/lib/Target/AMDGPU/SOPInstructions.td | 10 +- llvm/lib/Target/AMDGPU/VOP3Instructions.td | 25 +- llvm/lib/Target/AMDGPU/VOP3PInstructions.td | 2 +- llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp | 7 +- llvm/lib/Target/Mips/MipsLegalizerInfo.cpp | 5 +- llvm/lib/Target/Mips/MipsLegalizerInfo.h | 4 +- llvm/lib/Target/PowerPC/PPCInstrPrefix.td | 174 ++ llvm/lib/Target/VE/VEISelDAGToDAG.cpp | 24 + llvm/lib/Target/VE/VEISelLowering.cpp | 22 +- llvm/lib/Target/VE/VEISelLowering.h | 4 + llvm/lib/Target/VE/VEInstrInfo.cpp | 237 +++ llvm/lib/Target/VE/VEInstrInfo.h | 19 + llvm/lib/Target/VE/VEInstrInfo.td | 142 ++ llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h | 27 + llvm/lib/Target/X86/X86ISelLowering.cpp | 60 +- llvm/lib/Target/X86/X86LegalizerInfo.cpp | 6 +- llvm/lib/Target/X86/X86LegalizerInfo.h | 4 +- llvm/lib/Target/X86/X86ScheduleZnver2.td | 89 +- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 2 + llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | 2 +- llvm/lib/Transforms/IPO/ArgumentPromotion.cpp | 17 +- llvm/lib/Transforms/IPO/Attributor.cpp | 729 ++++++- llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 41 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 17 +- .../InstCombine/InstCombineSimplifyDemanded.cpp | 76 +- .../InstCombine/InstructionCombining.cpp | 3 +- llvm/lib/Transforms/Scalar/LoopFuse.cpp | 26 +- llvm/lib/Transforms/Utils/CodeMoverUtils.cpp | 29 +- llvm/lib/Transforms/Utils/ModuleUtils.cpp | 2 +- llvm/runtimes/CMakeLists.txt | 5 + llvm/test/Analysis/ConstantFolding/vscale.ll | 155 ++ llvm/test/Analysis/CostModel/X86/arith-fix.ll | 8 +- llvm/test/Analysis/CostModel/X86/arith-overflow.ll | 8 +- llvm/test/Analysis/CostModel/X86/cast.ll | 2 +- llvm/test/Analysis/CostModel/X86/extend.ll | 4 +- .../CostModel/X86/min-legal-vector-width.ll | 8 +- llvm/test/Assembler/fast-math-flags.ll | 27 + .../CodeGen/AArch64/GlobalISel/arm64-fallback.ll | 2 +- .../AArch64/GlobalISel/arm64-irtranslator-gep.ll | 24 +- .../GlobalISel/arm64-irtranslator-switch.ll | 20 +- .../AArch64/GlobalISel/combine-mul-to-shl.mir | 98 + .../AArch64/GlobalISel/load-addressing-modes.mir | 39 +- .../AArch64/GlobalISel/opt-and-tbnz-tbz.mir | 28 +- llvm/test/CodeGen/AArch64/GlobalISel/select.mir | 30 +- .../CodeGen/AArch64/GlobalISel/translate-gep.ll | 36 +- llvm/test/CodeGen/AArch64/emutls.ll | 2 + llvm/test/CodeGen/AArch64/fp-intrinsics.ll | 974 ++++++++++ .../machine-outliner-retaddr-sign-sp-mod.ll | 2 + .../CodeGen/AMDGPU/GlobalISel/extractelement.ll | 8 +- .../CodeGen/AMDGPU/GlobalISel/insertelement.ll | 4 +- .../CodeGen/AMDGPU/GlobalISel/inst-select-add.mir | 24 +- .../AMDGPU/GlobalISel/inst-select-ctpop.mir | 4 +- .../GlobalISel/inst-select-extract-vector-elt.mir | 40 +- .../CodeGen/AMDGPU/GlobalISel/inst-select-fadd.mir | 33 - .../AMDGPU/GlobalISel/inst-select-fadd.s16.mir | 193 ++ .../AMDGPU/GlobalISel/inst-select-fadd.s32.mir | 204 ++ .../AMDGPU/GlobalISel/inst-select-fadd.s64.mir | 178 ++ .../AMDGPU/GlobalISel/inst-select-fma.s32.mir | 12 +- .../AMDGPU/GlobalISel/inst-select-fmad.s32.mir | 8 +- .../CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir | 21 +- .../GlobalISel/inst-select-insert-vector-elt.mir | 16 +- .../AMDGPU/GlobalISel/inst-select-load-global.mir | 155 +- .../GlobalISel/inst-select-load-global.s96.mir | 138 ++ .../AMDGPU/GlobalISel/inst-select-load-local.mir | 228 +-- .../AMDGPU/GlobalISel/inst-select-pattern-add3.mir | 18 +- .../AMDGPU/GlobalISel/inst-select-smulh.mir | 69 +- .../AMDGPU/GlobalISel/inst-select-store-local.mir | 160 +- .../CodeGen/AMDGPU/GlobalISel/inst-select-sub.mir | 18 +- .../AMDGPU/GlobalISel/inst-select-umulh.mir | 69 +- .../GlobalISel/irtranslator-getelementptr.ll | 12 +- llvm/test/CodeGen/AMDGPU/GlobalISel/lds-relocs.ll | 28 + .../AMDGPU/GlobalISel/lds-zero-initializer.ll | 2 - .../CodeGen/AMDGPU/GlobalISel/legalize-insert.mir | 12 +- .../AMDGPU/GlobalISel/llvm.amdgcn.atomic.dec.ll | 440 ++--- .../AMDGPU/GlobalISel/llvm.amdgcn.atomic.inc.ll | 664 +++---- .../AMDGPU/GlobalISel/llvm.amdgcn.is.private.ll | 19 +- .../AMDGPU/GlobalISel/llvm.amdgcn.is.shared.ll | 19 +- .../AMDGPU/GlobalISel/llvm.amdgcn.permlane.ll | 1 + .../GlobalISel/llvm.amdgcn.raw.buffer.load.ll | 16 +- .../AMDGPU/GlobalISel/llvm.amdgcn.update.dpp.ll | 26 +- .../test/CodeGen/AMDGPU/GlobalISel/mubuf-global.ll | 304 +-- .../CodeGen/AMDGPU/GlobalISel/write_register.ll | 2 + llvm/test/CodeGen/AMDGPU/cluster_stores.ll | 85 + llvm/test/CodeGen/AMDGPU/global-saddr.ll | 6 +- llvm/test/CodeGen/AMDGPU/kill-infinite-loop.ll | 84 + llvm/test/CodeGen/AMDGPU/lds-relocs.ll | 4 +- llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ll | 2 +- .../CodeGen/AMDGPU/si-triv-disjoint-mem-access.ll | 4 +- llvm/test/CodeGen/AMDGPU/update-phi.ll | 5 +- llvm/test/CodeGen/ARM/emutls.ll | 2 + .../Thumb2/LowOverheadLoops/dont-ignore-vctp.mir | 9 +- .../CodeGen/Thumb2/LowOverheadLoops/skip-debug.mir | 297 +++ llvm/test/CodeGen/VE/branch1.ll | 290 +++ llvm/test/CodeGen/VE/div.ll | 175 ++ llvm/test/CodeGen/VE/multiply.ll | 175 ++ llvm/test/CodeGen/VE/rem.ll | 207 ++ llvm/test/CodeGen/X86/GlobalISel/add-ext.ll | 58 +- llvm/test/CodeGen/X86/GlobalISel/ptr-add.ll | 14 +- llvm/test/CodeGen/X86/emutls.ll | 4 + llvm/test/CodeGen/X86/extractelement-fp.ll | 41 +- llvm/test/CodeGen/X86/flt-rounds.ll | 22 +- llvm/test/CodeGen/X86/linux-preemption.ll | 17 +- llvm/test/CodeGen/X86/vec-libcalls.ll | 14 +- llvm/test/CodeGen/X86/vec_round.ll | 30 - llvm/test/DebugInfo/symbolize-paths.s | 72 + llvm/test/LTO/Resolution/X86/dead-strip-fulllto.ll | 16 +- .../MC/Disassembler/PowerPC/future-invalid.txt | 77 + llvm/test/MC/Disassembler/PowerPC/futureinsts.txt | 120 ++ llvm/test/MC/PowerPC/future-errors.s | 60 + llvm/test/MC/PowerPC/future.s | 191 ++ llvm/test/Object/invalid.test | 6 +- .../ArgumentPromotion/2008-02-01-ReturnAttrs.ll | 9 +- .../Attributor/ArgumentPromotion/X86/attributes.ll | 9 +- .../X86/min-legal-vector-width.ll | 54 +- .../Attributor/ArgumentPromotion/alignment.ll | 32 + .../Attributor/ArgumentPromotion/attrs.ll | 20 +- .../Attributor/ArgumentPromotion/basictest.ll | 21 +- .../Attributor/ArgumentPromotion/byval-2.ll | 20 +- .../Attributor/ArgumentPromotion/byval.ll | 30 +- .../Attributor/ArgumentPromotion/control-flow2.ll | 9 +- .../Attributor/ArgumentPromotion/fp80.ll | 17 +- .../Attributor/ArgumentPromotion/inalloca.ll | 17 +- .../Attributor/ArgumentPromotion/profile.ll | 9 +- .../Attributor/ArgumentPromotion/tail.ll | 15 +- .../IPConstantProp/2009-09-24-byval-ptr.ll | 83 +- .../Attributor/IPConstantProp/PR16052.ll | 2 +- llvm/test/Transforms/Attributor/callbacks.ll | 107 ++ .../test/Transforms/Attributor/internal-noalias.ll | 2 +- .../AMDGPU/amdgcn-demanded-vector-elts.ll | 730 ++++++- ...ern-between-negative-and-positive-thresholds.ll | 52 +- ...-pattern-between-zero-and-positive-threshold.ll | 52 +- llvm/test/Transforms/InstCombine/demorgan.ll | 102 +- llvm/test/Transforms/InstCombine/div.ll | 5 +- llvm/test/Transforms/InstCombine/getelementptr.ll | 4 +- llvm/test/Transforms/InstCombine/icmp-add.ll | 42 + llvm/test/Transforms/InstCombine/icmp-sub.ll | 42 + llvm/test/Transforms/InstCombine/load.ll | 8 +- llvm/test/Transforms/InstCombine/logical-select.ll | 4 +- llvm/test/Transforms/InstCombine/max-of-nots.ll | 26 +- llvm/test/Transforms/InstCombine/minmax-fold.ll | 186 +- llvm/test/Transforms/InstCombine/or.ll | 10 +- llvm/test/Transforms/InstCombine/pr25342.ll | 68 +- llvm/test/Transforms/InstCombine/pr38915.ll | 2 +- llvm/test/Transforms/InstCombine/pr44245.ll | 3 +- llvm/test/Transforms/InstCombine/select-cmp-br.ll | 8 +- llvm/test/Transforms/InstCombine/select-pr39595.ll | 2 +- .../InstCombine/sub-ashr-and-to-icmp-select.ll | 20 +- .../InstCombine/sub-ashr-or-to-icmp-select.ll | 20 +- llvm/test/Transforms/InstCombine/sub-gep.ll | 8 +- llvm/test/Transforms/InstCombine/sub-minmax.ll | 12 +- llvm/test/Transforms/InstCombine/vec_sext.ll | 8 +- llvm/test/Transforms/InstCombine/vec_shuffle.ll | 135 ++ llvm/test/Transforms/InstCombine/xor.ll | 14 +- .../Transforms/LoopFusion/diagnostics_missed.ll | 36 +- llvm/test/Transforms/LoopFusion/guarded.ll | 56 + llvm/test/Transforms/LoopFusion/simple.ll | 85 + .../Transforms/SimplifyCFG/merge-cond-stores.ll | 4 +- .../tools/llvm-dwarfdump/X86/dw_op_regval_type.s | 185 ++ .../tools/llvm-mca/X86/Znver2/resources-avx1.s | 232 +-- .../tools/llvm-mca/X86/Znver2/resources-avx2.s | 142 +- .../tools/llvm-mca/X86/Znver2/resources-sse1.s | 24 +- .../tools/llvm-mca/X86/Znver2/resources-sse2.s | 46 +- .../tools/llvm-mca/X86/Znver2/resources-sse3.s | 26 +- .../tools/llvm-mca/X86/Znver2/resources-sse41.s | 24 +- .../tools/llvm-mca/X86/Znver2/resources-sse4a.s | 4 +- .../tools/llvm-mca/X86/Znver2/resources-ssse3.s | 74 +- .../tools/llvm-mca/X86/Znver2/resources-x86_64.s | 24 +- .../ELF/broken-dynamic-reloc-name.test | 49 - .../llvm-readobj/ELF/broken-dynamic-reloc.test | 375 ++++ llvm/test/tools/llvm-readobj/ELF/dyn-symbols.test | 52 + .../tools/llvm-readobj/ELF/dynamic-malformed.test | 8 +- .../ELF/dynamic-not-in-pt-dynamic.test | 4 +- llvm/test/tools/llvm-readobj/ELF/gnuhash.test | 214 +++ .../ELF/non-dynamic-in-pt-dynamic.test | 4 +- llvm/test/tools/llvm-symbolizer/discriminator.test | 20 + .../tools/yaml2obj/ELF/reloc-sec-entry-size.yaml | 73 + llvm/tools/dsymutil/SymbolMap.cpp | 2 +- llvm/tools/llvm-objcopy/wasm/Writer.cpp | 2 +- llvm/tools/llvm-readobj/ELFDumper.cpp | 109 +- llvm/tools/opt-viewer/opt-viewer.py | 23 +- llvm/tools/opt-viewer/optrecord.py | 3 +- llvm/tools/sancov/sancov.cpp | 2 +- llvm/tools/vfabi-demangle-fuzzer/CMakeLists.txt | 2 + .../vfabi-demangler-fuzzer.cpp | 17 +- llvm/unittests/ADT/APIntTest.cpp | 30 +- llvm/unittests/ADT/SmallStringTest.cpp | 14 + llvm/unittests/Analysis/CMakeLists.txt | 1 + llvm/unittests/Analysis/LoadsTest.cpp | 61 + llvm/unittests/Analysis/VectorFunctionABITest.cpp | 230 ++- llvm/unittests/CodeGen/LowLevelTypeTest.cpp | 23 + .../DebugInfo/DWARF/DWARFDebugLineTest.cpp | 23 + llvm/unittests/Support/FileUtilitiesTest.cpp | 3 +- llvm/unittests/Support/VirtualFileSystemTest.cpp | 2 +- llvm/utils/gdb-scripts/prettyprinters.py | 63 + llvm/utils/gn/build/BUILD.gn | 1 + .../clang/lib/StaticAnalyzer/Checkers/BUILD.gn | 2 + .../gn/secondary/llvm/unittests/Analysis/BUILD.gn | 1 + mlir/include/mlir/Dialect/GPU/GPUOps.td | 20 +- mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | 35 + mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td | 6 + .../mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 19 + mlir/include/mlir/Dialect/VectorOps/VectorUtils.h | 26 +- mlir/include/mlir/IR/Attributes.h | 7 + mlir/lib/Analysis/CMakeLists.txt | 1 - mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp | 6 +- mlir/lib/Dialect/GPU/IR/GPUDialect.cpp | 58 +- .../lib/Dialect/GPU/Transforms/KernelOutlining.cpp | 8 +- mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp | 225 +++ mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 135 ++ mlir/lib/Dialect/VectorOps/CMakeLists.txt | 1 + mlir/lib/Dialect/VectorOps/VectorOps.cpp | 35 +- mlir/lib/Dialect/VectorOps/VectorTransforms.cpp | 107 +- .../VectorOps/VectorUtils.cpp} | 86 +- mlir/lib/IR/Attributes.cpp | 27 + mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp | 68 +- mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | 28 + mlir/lib/Transforms/DialectConversion.cpp | 2 +- mlir/test/Conversion/LoopsToGPU/linalg_to_gpu.mlir | 2 +- mlir/test/Conversion/LoopsToGPU/step_one.mlir | 4 +- mlir/test/Dialect/GPU/canonicalize.mlir | 2 +- mlir/test/Dialect/GPU/invalid.mlir | 38 +- mlir/test/Dialect/GPU/ops.mlir | 20 +- mlir/test/Dialect/GPU/outlining.mlir | 15 +- mlir/test/Dialect/LLVMIR/invalid.mlir | 52 + mlir/test/Dialect/LLVMIR/roundtrip.mlir | 50 + mlir/test/Dialect/Linalg/canonicalize.mlir | 20 + mlir/test/Target/import.ll | 45 +- mlir/test/Target/llvmir.mlir | 41 + mlir/test/mlir-cuda-runner/all-reduce-op.mlir | 2 +- mlir/test/mlir-cuda-runner/all-reduce-region.mlir | 2 +- mlir/test/mlir-cuda-runner/gpu-to-cubin.mlir | 2 +- mlir/test/mlir-cuda-runner/shuffle.mlir | 2 +- mlir/unittests/TableGen/EnumsGenTest.cpp | 20 +- 415 files changed, 17836 insertions(+), 7689 deletions(-) create mode 100644 clang-tools-extra/clangd/clients/clangd-vscode/test/runTest.ts copy clang/lib/StaticAnalyzer/Checkers/{IteratorModeling.cpp => ContainerModeling. [...] create mode 100644 clang/lib/StaticAnalyzer/Checkers/DebugContainerModeling.cpp create mode 100644 clang/test/Analysis/container-modeling.cpp create mode 100644 clang/test/Analysis/debug-container-modeling.cpp create mode 100644 clang/test/CodeGen/avx-builtins-constrained-cmp.c create mode 100644 clang/test/CodeGen/avx512f-builtins-constrained-cmp.c create mode 100644 clang/test/CodeGen/avx512vl-builtins-constrained-cmp.c create mode 100644 clang/test/CodeGen/sse-builtins-constrained-cmp.c create mode 100644 clang/test/CodeGen/sse2-builtins-constrained-cmp.c create mode 100644 libc/utils/CPP/Array.h create mode 100644 libc/utils/CPP/ArrayRef.h create mode 100644 libc/utils/CPP/CMakeLists.txt create mode 100644 libc/utils/CPP/README.md create mode 100644 libc/utils/CPP/StringRef.h create mode 100644 libc/utils/CPP/TypeTraits.h create mode 100644 llvm/test/Analysis/ConstantFolding/vscale.ll create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/combine-mul-to-shl.mir create mode 100644 llvm/test/CodeGen/AArch64/fp-intrinsics.ll delete mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.s16.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.s32.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.s64.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.s96.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/lds-relocs.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.permlane.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/write_register.ll create mode 100644 llvm/test/CodeGen/AMDGPU/cluster_stores.ll create mode 100644 llvm/test/CodeGen/AMDGPU/kill-infinite-loop.ll create mode 100644 llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-debug.mir create mode 100644 llvm/test/CodeGen/VE/branch1.ll create mode 100644 llvm/test/CodeGen/VE/div.ll create mode 100644 llvm/test/CodeGen/VE/multiply.ll create mode 100644 llvm/test/CodeGen/VE/rem.ll delete mode 100644 llvm/test/CodeGen/X86/vec_round.ll create mode 100644 llvm/test/DebugInfo/symbolize-paths.s create mode 100644 llvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll create mode 100644 llvm/test/tools/llvm-dwarfdump/X86/dw_op_regval_type.s delete mode 100644 llvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc-name.test create mode 100644 llvm/test/tools/llvm-readobj/ELF/broken-dynamic-reloc.test create mode 100644 llvm/test/tools/llvm-symbolizer/discriminator.test create mode 100644 llvm/test/tools/yaml2obj/ELF/reloc-sec-entry-size.yaml create mode 100644 llvm/unittests/Analysis/LoadsTest.cpp rename mlir/lib/{Analysis/VectorAnalysis.cpp => Dialect/VectorOps/VectorUtils.cpp} (75%) create mode 100644 mlir/test/Dialect/Linalg/canonicalize.mlir