This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_bmk_tk1/llvm-master-arm-spec2k6-Os in repository toolchain/ci/llvm-project.
from 93bb9944cb5 [clangd] Implement path and URI translation for remote index adds b44470547e2 Make helpers static. NFC. adds a86ce06fafa [SCCP] Use conditional info with AND/OR branch conditions. adds 68f5a8b2042 [DebugInfo] Do not hang when parsing a malformed .debug_pub [...] adds ca4d8da0c33 [DebugInfo] Add more checks to parsing .debug_pub* sections. adds d36b8414bdd [DebugInfo] Fix pessimizing move. NFC. adds 167767a775f SpeculativeExecution: Fix for logic change introduced in D81730. adds 97106f9d80f [RISCV] Avoid Splitting MBB in RISCVExpandPseudo adds 4597bfddf11 BasicAAResult::constantOffsetHeuristic - pass APInt arg as [...] adds f54402b63a4 [X86][AVX] Attempt to fold extract_subvector(shuffle(X)) -> [...] adds 31b05692cd3 make -fmodules-codegen and -fmodules-debuginfo work also with PCHs adds d12d0b73f1c [analyzer] Add CTUImportCppThreshold for C++ files adds 6f5d9136b27 OpaquePtr: Don't check pointee type for byval/preallocated adds af839a96187 [BasicAA] Enable -basic-aa-recphi by default adds 3514f58fbea Fix MSVC "not all control paths return a value" warning. NFC. adds fdde69aac9b AMDGPU/GlobalISel: Work around verifier error in test adds a0e981c190f [NFC] Add SExt multiuses test adds 7cd1b0ff347 [flang] partially revert upstreamed code to support complex [...] adds 5d075beae73 [MLIR][SPIRVToLLVM] SPIR-V types size in bytes function adds beb52b12cb1 [PowerPC] Support PCRelative Callees for R_PPC64_REL24 Relocation adds 4d4d9037670 Fix warning caused by __builtin_expect_with_probability was [...] adds 28cd3cbc125 [MLIR][SPIRVToLLVM] Conversion of SPIR-V array, runtime arr [...] adds 67422e42947 [MSP430] Align the _Complex ABI with current msp430-gcc adds 3cca818efab Refactored NumericLiteralParser to not require a Preprocessor adds 9ecda9aa804 Revert 51b0da73 "Recommit "[X86] Merge the FEATURE_64BIT an [...] adds 9477d39e61f [SCCP] Move tests using only ipsccp from IPConstantProp to [...] adds bd206803112 [PowerPC] Split s34imm into two types adds afc1a709433 [AliasSetTracker] More precise AAInfo intersection check adds a89d54fd61a [compiler-rt] Better Windows support for running tests in e [...] adds e529d774c4d [lldb] Use enum constant instead of raw value adds 5ab446cfe55 [compiler-rt] [test] Use the parent process env as base env [...] adds 6f69318c724 [runtimes] Allow passing Lit parameters through CMake adds 8372d505082 [compiler-rt] [test] Allow expanding lit substitutions recursively adds 06fc125d8c5 [PGO][PGSO] Add profile guided size optimization tests to X [...] adds 6a8ed4a8ffd [libc++] Fix test failure in C++03 mode adds c1a83c30e10 [libc++] Move the stdlib Lit parameter to the DSL adds 4598a3c7841 [libc++] Move the long_tests Lit feature to the DSL adds fccd29dddee Merge TableGen files used for clang options adds 0b72b9d07fc [ValueLattice] Simplify canTrackGlobalVariableInterprocedur [...] adds 6cfc90b9b79 [Function] Lock the function when parsing call site info adds f8f259ce4ac [lldb/Function] Reflow doxygen comments for member variables, NFC adds b7853965255 [libc++] Clean up some outdated documentation about running [...] adds 6f7727db478 [PowerPC] Fix test case from beb52b12cb17 adds 3e75912005c [X86] Directly emit X86ISD::BLENDV instead of VSELECT in a [...] adds 2c1a9006dd7 [PGO][PGSO] Add profile guided size optimization to X86 ISe [...] adds 8769611f0af Remove unnecessary 'rm' in llvm-reduce tests adds 918e6531863 [X86] Immediately call LowerShift from lowerBuildVectorToBitOp. adds f5f58f1f733 [libc++] Move the enable_experimental Lit param to the DSL adds 122b0640fc9 [InstSimplify] Don't fold vectors of partial undef in Simpl [...] adds c2827083166 Fix [-Werror,-Wsign-compare] warnings arising from subsecti [...] adds cfb36754108 [libc++] The enable_experimental Lit feature should be Fals [...] adds 2da9572a9b1 [OPENMP50] extend array section for stride (Parsing/Sema/AST) adds 7e169cec74b [NFC][test] Adding fastcc test case for promoted 16-bit int [...] adds 84557c18b3c [lldb/Reproducers] Rename developer-oriented reproducer flags. adds 10aa9e19fa2 [LLDB/Reproducers] Add flag to avoid installing the signal [...] adds 7af27b65b3c [NFC][AArch64] Refactor getArgumentPopSize adds e81f9cd2137 [AST][test] Add regression test forPointerExprEvaluator::Vi [...] adds 2ede8918751 [MLIR] IR changes to add yield semantics for affine.if and [...] adds 25ec96d91a3 [Clang][Driver] Recognize the AIX OBJECT_MODE environment setting adds 389b67b809c [libc++] Get rid of the %{libcxx_src_root} substitution adds 469da663f2d [InstSimplify] Re-enable select ?, undef, X -> X transform [...] adds ff5b9a7b3b2 [SVE] Remove calls to VectorType::getNumElements from CodeGen adds c92a8c0a0f6 [LPM] Port CGProfilePass from NPM to LPM adds 53e38c85a8a [CMake][Fuchsia] Support for building with MSVC adds caa423eef0d Revert "[InstCombine] Lower infinite combine loop detection [...] adds 29a9dd5bfe5 [Docs] CodingStandards: for_each is discouraged adds d8bf5e8048d [NFCI][llvm-reduce] OperandBundleCounter: drop pointless co [...] adds 6b824415a21 [NFC][llvm-reduce] Purify for_each usage in Operand Bundles [...] adds 03640ee0fa7 [llvm-reduce] Reducing attributes adds 205dc0922d5 [CallGraph] Ignore callback uses adds c025bdf25a5 Revert D83013 "[LPM] Port CGProfilePass from NPM to LPM" adds ce1e4853b5a Temporarily Revert "[PowerPC] Split s34imm into two types" [...] adds 98eec7700c3 Temporarily Revert "Fix [-Werror,-Wsign-compare] warnings a [...] adds c2a61ef3885 Revert "[CallGraph] Ignore callback uses" adds c0308fd154f [PredicateInfo] Print RenamedOp (NFC) adds 6890e2a17b7 [DAGCombiner] add helper function to manage list of consecu [...] adds 8d74cb01b73 [DAGCombiner] add helper function for store merging of cons [...] adds f98a602c2e3 [DAGCombiner] add helper function for store merging of extr [...] adds b476e6a642d [DAGCombiner] add helper function for store merging of load [...] adds a46cf40240a [DAGCombiner] convert if-chain in store merging to switch; NFC adds 77f8f813a9a [AMDGPU] Return restricted number of regs from TTI adds f40b11325e3 Recommit "[X86] Merge the FEATURE_64BIT and FEATURE_EM64T b [...] adds 839f8e4fe2d [FileCheck] Improve -dump-input documentation adds 5ffec467202 [PowerPC][Power10] Add Instruction definition/MC Tests for [...] adds 672ae621e91 [Lexer] Fix missing coverage line after #endif adds 227db86a1b7 Switch to using -debug-info-kind=constructor as default (fr [...] adds 85d9745c83a [flang] Fix a crash when creating generics from a copy adds 8be204fe75c Revert "[Lexer] Fix missing coverage line after #endif" adds 8a8bb078a3c [flang] Fix frontend build with -DBUILD_SHARED_LIBS=On adds 9263e08251a [flang] ifdef to avoid warning about supposedly dead function adds 56ae2cebcdf [AArch64][SVE] Add lowering for llvm.fma. adds 722475a3756 Initial boiler-plate for python bindings. adds 78fe6a3ee24 [NFC] Extract the code to write instr profile into function [...] adds e296e9dfd6c [NFC] Change getEntryForPercentile to be a static function [...] adds 8039d2c3bf1 [NFC] Derive from PassInfoMixin for no-op/printing passes adds ce22527c0c7 [AArch64][GlobalISel] Add more specific debug info tests fo [...] adds 3847a6ae759 [MLIR][SPIRV] Support two memory access attributes in OpCop [...] adds 7462793be77 Move default argument instantiation to SemaTemplateInstanti [...] adds a5569f08984 Push parameters into the local instantiation scope before i [...] adds f721e0582b1 PR46648: Do not eagerly instantiate default arguments for a [...] adds bed3e1a99b4 [Sanitizer] Update macOS version checking adds 57f2a789ca0 [StackSafety,NFC] Reduce FunctionSummary size adds fbef6c55bc2 [lldb] Declare extern template instantiation to fix linking [...] adds f1efb8bb4ba [SCEV][IndVarSimplify] insert point should not be block front. adds 00c9a504aee CrashTracer: clang at clang: llvm::BitstreamWriter::ExitBlock adds 553dbb6d7b3 [demangler] Don't allow the template parameters from the <e [...] adds c20c1960c15 Add Python bindings guide. adds ceb76d2fe73 [CMake][Fuchsia] Move runtimes to outer scope adds b03f1756fb4 [demangler] More properly save and restore the template par [...] adds 30582457b47 [NFC] Separate bitcode reading for FUNC_CODE_INST_CMPXCHG(_OLD) adds 760bbda2d82 [llvm-symbolizer][test] Fix options-from-env.test adds e71c7b593a2 [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils [...] adds 98d763ad051 [clangd] Factor out some helper functions related to heuris [...] adds 04b9a46c842 [RISCV] Refactor FeatureRVCHints to make ProcessorModel mor [...] adds 50f24331fd9 Add diagnostic option backing field for -fansi-escape-codes adds a65da5f5924 [LLDB] Update AArch64 Dwarf and EH frame register numbers adds 229dfb4728f [CodeGen] Replace calls to getVectorNumElements() in Select [...] adds eb6b7c5d4fd [MLIR][SPIRVToLLVM] Conversion of SPIR-V struct type withou [...] adds 043eaa9a4a0 [WebAssembly][NFC] Simplify vector shift lowering and add tests adds da731894a2f [CodeGen] Replace calls to getVectorNumElements() in DAGTyp [...] adds 7bf168390fd [BDCE] SExt -> ZExt when no sign bits is used and instructi [...] adds 68c011aa085 [builtins] Optimize udivmodti4 for many platforms. adds 21bacc21541 [analyzer][tests] Measure peak memory consumption for every [...] adds 9c7ff0a4aae [analyzer][tests] Make test interruption safe adds 00997d1cad9 [analyzer][tests] Fix zip unpacking adds 77133cc1e2c [X86][AVX] Attempt to fold PACK(SHUFFLE(X,Y),SHUFFLE(X,Y)) [...] adds c06417b24df Fix check-all with -DLLVM_USE_SANITIZER=Address adds 9a3e8b11a83 extractConstantWithoutWrapping - use const APInt& returned [...] adds cf40db21af4 [AMDGPU][GlobalISel] Fix G_AMDGPU_TBUFFER_STORE_FORMAT mapping adds 264ab1e2c81 [LV] Pick vector loop body as insert point for SCEV expansion. adds 5f41ca48d1c [clang-tidy] More strict on matching the standard memset fu [...] adds d372a8e8bce [lldb/pecoff] Use a different llvm createBinary overload fo [...] adds f78e6a3095c [SVE] Code generation for fixed length vector truncates. adds 69a89b54c62 [NFC] Change isFPPredicate comparison to ignore lower bound adds 4cc26a44ca8 [X86][SSE] Use shouldUseHorizontalOp helper to determine wh [...] adds 9ce98312896 StackSafetyAnalysis.cpp - pass ConstantRange arg as const r [...] adds a25487fd8cb [clang-tidy] Use Options priority in enum options where it [...] adds b69e0f674fb DomTreeUpdater::dump() - use const auto& iterator in for-ra [...] adds 4c5a93bd58b [ABI] Handle C++20 [[no_unique_address]] attribute adds 118366dcb6c [PowerPC] Implement R_PPC64_REL24_NOTOC calls, callee also [...] adds 86f1313424f [clangd] Config: If.PathExclude adds e1135b486aa Revert "[BasicAA] Enable -basic-aa-recphi by default" adds d4ce862f2aa Reland "[FPEnv][Clang][Driver] Disable constrained floating [...] adds 0555db0a5df Normalize default value for -triple correctly adds 22c8a08fd8a [mlir][Vector] Fold chains of ExtractOp adds 015a0faa5e9 [clangd] Fix hover crash on InitListExpr. adds 56c638b5c1c [mlir][Linalg] Generalize Vectorization of Linalg contractions adds 523a8513f8b [FPEnv][Clang][Driver] Disable constrained floating point o [...] adds ef0ecb7b033 [NFCI][InstCombine] PR46661: multiple stores eligible for m [...] adds 2655a70a046 [InstCombine] After merging store into successor, queue pre [...] adds 7103c87596e Reland "[InstCombine] Lower infinite combine loop detection [...] adds 5fea54bc05a [clangd] Update semanticTokens support to reflect latest LSP draft adds 23cd70d71c1 [PDB] Fix out-of-bounds acces when sorting GSI buckets adds bce8fced41b [FileCheck] Implement -dump-input-context adds 77b6ddf1bd7 [FileCheck] In input dump, elide only if ellipsis is shorter adds 9fd4b5faacb [FileCheck] Implement -dump-input-filter adds a490d387e6e [mlir][Vector] Add ExtractOp folding when fed by a TransposeOp adds 02fec9d2a5f [DAGCombiner] move/rename variables for readability; NFC adds d84b4e163da [AArch64][x86] add tests for rotated store merge; NFC adds eb5c7f6b8fe [ARM] Add test with tcreturn and debug value. adds ec00aa99dd4 [DomTreeUpdater] Use const auto * when iterating over point [...] adds 43d8d59d6d2 [Attributor][NFC] Update tests after recent changes adds 864586d0fd7 [ARM] Pass -verify-machineinstr to test and XFAIL until fixed. adds 3607aacc598 Delete CC1Options.td, since it should have happened in D82574 adds 1d542f0ca83 Revert "[OpenMPOpt] ICV Tracking" adds 1fbb719470c [LPM] Port CGProfilePass from NPM to LPM adds dcd76c0c071 [Lexer] Fix missing coverage line after #endif adds e5123ea248e [NFC][PowerPC] Add a new MIR file to test mi-peephole pass adds f33c2c27a8d Fix crash on `user defined literals` adds 1db5b348c4c Add kinded UDL for raw literal operator and numeric litera [...] adds a474d5bae47 Use FileRange::text instead of Lexer::getSpelling adds aa7a5ad56b6 repair standalone clang builds adds a2cffb11e28 Remove clang options that were added back when merging the [...] adds 979c5023d3f Revert "[compiler-rt] [test] Use the parent process env as [...] adds b887da81cc1 [CGProfile] Fix layering, IPO depends in Instrumentation. adds 954db63cd14 [ARM] Add Cortex-A78 and Cortex-X1 Support for Clang and LLVM adds 1cf6f210a2e [IR] Disable select ? C : undef -> C fold in ConstantFoldSe [...] adds add59ecb34e Re-land [CodeView] Add full repro to LF_BUILDINFO record adds 8c8a2fd1f01 [OpenCL] Fixed typo for ctor stub name in UsersManual adds e337350be9d This is a refinement on 96601ec28b7efe5abf3479a1aa91bcedb23 [...] adds fdb7856d54a Revert "[NFC] Derive from PassInfoMixin for no-op/printing passes" adds 90b1a710aed [PowerPC] Enable default support of quad precision operations adds a4f0c58c6e3 [libc] Add strchr implementation. Fixes bug in memchr. adds e541e1b7572 [NFC] Separate Peeling Properties into its own struct (re-l [...] adds a0b54960261 [PredicateInfo] Add test for multiple branches on same cond [...] adds dafc3106d20 [Sema] Emit a -Wformat warning for printf("%s", (void*)p) adds ecfa01e956a [lldb] on s390x fix override issue adds 9ff310d5bfa AArch64: Fix unused variables adds 9bf6354301a [mlir] [VectorOps] Allow AXPY to be expressed as special ca [...] adds ea201e83e29 [AST][ObjC] Fix crash when printing invalid objc categories adds 169c83208f3 [ldb/Reproducers] Add YamlRecorder and MultiProvider adds 21b4cc1db9f Reland [NFC] Derive from PassInfoMixin for no-op/printing passes adds 006c49d890d Change behavior with zero-sized static array extents adds 365434a5840 [mlir] [VectorOps] Merge OUTER/AXPY vector.contract lowerin [...] adds cb6c1106141 [analyzer] Silence a warning. adds ec2f2cec769 [mlir][Vector] Add folding for vector.transfer ops adds 6dda6ff0e09 [FileCheck] Fix up -dump-input* docs adds 1d68a780b34 [clang-shlib] Don't link with static clang libraries adds 32bf4684202 [Polly] Fix -polly-opt-isl -analyze adds c0bc995429c [Polly] Fix prevectorization of fused loops. adds 6d5aeb0dcee [mlir][linalg] Improve aliasing approximation for hoisting [...] adds 122a45fbac0 [X86] Add isel patterns for matching broadcast vpternlog if [...] adds 31f4e43f3f3 AMDGPU: Remove .value_type from kernel metadata adds cc28058c13e Temporarily revert "[NFC] Separate bitcode reading for FUNC [...] adds 7bf73bcf6d9 [docs] LLVM Security Group and Process adds 41d2813a5fa [PDB] Attempt fix for debug-info-codeview-buildinfo.c test adds 854e8f88e96 Remove unnecessary/erroneous "static" from function templat [...] adds 7859242a371 [libc] [Obvious] Remove unneeded header in strchr. adds b71499ac9ee Revert "Re-land [CodeView] Add full repro to LF_BUILDINFO record" adds e54b2284088 [Sanitizers] Change protoent test to check for IPv6 instead of RDP adds f7f80159753 [lldb-vscode] Add Support for Module Event adds 03ef61033ff [lldb-vscode] Add Compile Unit List to Modules View adds 881af6eb003 [lldb-vscode] Fix TestVSCode_module adds 7f1e6fcff94 [OpenMP] Use __OPENMP_NVPTX__ instead of _OPENMP in wrapper [...] adds 3e5173dbc35 [BPI] Compile time improvement when erasing blocks (NFC) adds c60216db151 Revert "[lldb-vscode] Fix TestVSCode_module" This reverts c [...] adds 0f0c5af3db9 [COFF] Add cg_profile directive and .llvm.call-graph-profil [...] adds cd0ea03e6f1 [OpenMP][NFC] Remove unused and untested code from the devi [...] adds 943660fd15f [openmp] Remove OMPConstants.cpp and replace it by OMP.cpp [...] adds 851cc2f8f60 Fix nesting of #ifdef adds 351f2b3c0ab [InstSimplify] add tests for maxnum (PR46627); NFC adds e9bf0a710c9 [CodeGen] Store the return value of the target function cal [...] adds b8235d2bd87 Reland "[OpenMPOpt] ICV Tracking" adds 3a5617c02e3 Fix build error adds 16e9ccb2be7 Create TestReducer pass adds 7b67bc16ef1 [openmp] Fix warning in generated OMP.cpp adds b59c6fcaf3f [WebAssembly] Prefer v128.const for constant splats adds 17ea41e4725 Summary: [clang] Provide a way for WhileStmt to report the [...] adds 28acaf84230 [RISCV][test] Add a test for (mul (add x, c1), c2) -> (add [...] adds 3e3acc1cc77 [PowerPC][MachinePipeliner] Enable pipeliner if hasInstrSchedModel adds e6280925249 [X86][MMX] Optimize MMX shift intrinsics. adds 849d4405f53 [HIP] Fix rocm detection adds 8ee225744f1 [lldb/Test] Fix missing yaml2obj in Xcode standalone build. adds b5667d00e04 [OpenMP][CUDA] Fix std::complex in GPU regions adds 256e4d46a67 Fix signed vs unsigned comparison warnings a different way. adds c98699582a6 [OpenMP][NFC] Remove unused (always fixed) arguments adds b726c55709a [OpenMP][NFC] Fix some typos adds 54bd3751cee [OpenMP][NFC] Add convenient helper and early exit check adds e8039ad4def [OpenMP] Identify GPU kernels (aka. OpenMP target regions) adds 624d34afff5 [OpenMP] Compute a proper module slice for the CGSCCC pass adds 5b0581aedc2 [OpenMP] Replace function pointer uses in GPU state machine adds c44702bcdf8 Remove unused variable `KMPC_KERNEL_PARALLEL_WORK_FN_PTR_AR [...] adds dce6bc18c4e [OpenMP][FIX] remove unused variable and long if-else chain adds c3bdc9814d9 [clang-tidy] Reworked enum options handling(again) adds 4abdcdb45ee Fix gn builds after 943660fd1 adds 8fb91dfeed1 Revert "Fix gn builds after 943660fd1" adds 35af6f11e04 Reland Fix gn build after 943660f adds 09a95f51fb1 [gn build] (manually) merge 943660fd15f193 adds 4500db8c596 Revert "Reland "[InstCombine] Lower infinite combine loop d [...] adds f7907e9d223 [TRE] allow TRE for non-capturing calls. adds d7a05698efc [AMDGPU] Move LowerSwitch pass to CodeGenPrepare. adds 850b150cff3 [Attributor][NFC] Add more debug output for deleted functions adds 0b4cf802fad [fix-irreducible] Skip unreachable predecessors. adds 81db614411b Fix `-Wunused-variable` warnings. NFC. adds 102828249c8 [MLIR] Parallelize affine.for op to 1-D affine.parallel op adds 6e42a417bac [flang][openmp] Check clauses allowed semantic with tablege [...] adds 5d2c3e031a6 Fix regression due to test hip-version.hip adds 5937434677a [OpenMP] Silence unused symbol warning with proper ifdefs adds 8f183d9f3d1 [openmp] Remove unused variable in DirectiveEmitter adds d8c35031a39 [examples] fix ExceptionDemo adds 47872adf6ae [X86] Add test cases for missed opportunities to use vptern [...] adds 3b04af4d84f Fix some memory leak in MLIRContext with respect to registe [...] adds 44b0b7cf660 Fix one memory leak in the MLIRParser by using std::unique_ [...] adds b8409c03ed9 Fix `-Wreturn-type` warning. NFC. adds 6792069a3fd [NewGVN] Regenerate test checks (NFC) adds 4dbe82eef34 [Attributor] Introudce attribute seed allow list. adds d1bcddb5c1f [llvm-objdump][test] Move tests after dc4a6f5db4f0178bae43e [...] new 77272d177a2 [COFF] Fix endianness of .llvm.call-graph-profile section data
The 1 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-tidy/ClangTidyCheck.cpp | 65 +- clang-tools-extra/clang-tidy/ClangTidyCheck.h | 80 +- .../abseil/StringFindStartswithCheck.cpp | 4 +- .../bugprone/SuspiciousMemsetUsageCheck.cpp | 16 +- .../cppcoreguidelines/InitVariablesCheck.cpp | 4 +- .../ProBoundsConstantArrayIndexCheck.cpp | 1 - .../clang-tidy/modernize/LoopConvertCheck.cpp | 54 +- .../clang-tidy/modernize/MakeSmartPtrCheck.cpp | 4 +- .../clang-tidy/modernize/PassByValueCheck.cpp | 4 +- .../clang-tidy/modernize/ReplaceAutoPtrCheck.cpp | 4 +- .../modernize/ReplaceRandomShuffleCheck.cpp | 4 +- .../performance/MoveConstructorInitCheck.cpp | 4 +- .../performance/TypePromotionInMathFnCheck.cpp | 4 +- .../performance/UnnecessaryValueParamCheck.cpp | 4 +- .../readability/IdentifierNamingCheck.cpp | 34 +- .../clang-tidy/readability/IdentifierNamingCheck.h | 6 + .../clang-tidy/utils/IncludeSorter.cpp | 13 +- clang-tools-extra/clang-tidy/utils/IncludeSorter.h | 9 +- .../clang-tidy/utils/TransformerClangTidyCheck.cpp | 5 +- clang-tools-extra/clangd/ClangdLSPServer.cpp | 20 +- clang-tools-extra/clangd/ClangdLSPServer.h | 4 +- clang-tools-extra/clangd/ConfigCompile.cpp | 16 + clang-tools-extra/clangd/ConfigFragment.h | 3 + clang-tools-extra/clangd/ConfigYAML.cpp | 4 + clang-tools-extra/clangd/FindTarget.cpp | 81 +- clang-tools-extra/clangd/Hover.cpp | 12 +- clang-tools-extra/clangd/Protocol.cpp | 4 +- clang-tools-extra/clangd/Protocol.h | 24 +- clang-tools-extra/clangd/SemanticHighlighting.cpp | 2 +- .../clangd/test/initialize-params.test | 6 +- clang-tools-extra/clangd/test/semantic-tokens.test | 6 +- .../clangd/unittests/ConfigCompileTests.cpp | 7 + clang-tools-extra/clangd/unittests/HoverTests.cpp | 15 + .../checkers/bugprone-suspicious-memset-usage.cpp | 5 + .../unittests/clang-tidy/ClangTidyOptionsTest.cpp | 51 +- clang/CMakeLists.txt | 4 + clang/cmake/caches/Fuchsia-stage2.cmake | 35 +- clang/cmake/caches/Fuchsia.cmake | 24 +- clang/docs/ClangCommandLineReference.rst | 4 + clang/docs/UsersManual.rst | 4 +- clang/include/clang-c/Index.h | 2 +- clang/include/clang/AST/Decl.h | 8 +- clang/include/clang/AST/DeclBase.h | 18 +- clang/include/clang/AST/ExprOpenMP.h | 54 +- clang/include/clang/AST/Stmt.h | 13 +- clang/include/clang/Basic/CodeGenOptions.def | 3 +- clang/include/clang/Basic/DiagnosticDriverKinds.td | 12 +- .../include/clang/Basic/DiagnosticFrontendKinds.td | 9 + clang/include/clang/Basic/DiagnosticGroups.td | 1 + clang/include/clang/Basic/DiagnosticOptions.def | 1 + clang/include/clang/Basic/DiagnosticSemaKinds.td | 5 +- clang/include/clang/Basic/LangOptions.def | 1 + clang/include/clang/Basic/TargetInfo.h | 4 + clang/include/clang/Driver/CC1Options.td | 946 ------------- clang/include/clang/Driver/CLCompatOptions.td | 470 ------- clang/include/clang/Driver/Options.td | 1421 +++++++++++++++++++- clang/include/clang/Lex/LiteralSupport.h | 10 +- clang/include/clang/Parse/Parser.h | 8 +- clang/include/clang/Sema/Sema.h | 12 +- .../clang/StaticAnalyzer/Core/AnalyzerOptions.def | 11 +- clang/include/clang/Tooling/Syntax/Nodes.h | 70 + clang/lib/AST/ASTImporter.cpp | 10 +- clang/lib/AST/Decl.cpp | 11 +- clang/lib/AST/DeclBase.cpp | 4 +- clang/lib/AST/DeclPrinter.cpp | 13 +- clang/lib/AST/ExprConstant.cpp | 1 + clang/lib/AST/FormatString.cpp | 1 - clang/lib/AST/Stmt.cpp | 11 +- clang/lib/AST/StmtPrinter.cpp | 7 +- clang/lib/Basic/TargetInfo.cpp | 1 + clang/lib/Basic/Targets/SystemZ.h | 1 + clang/lib/Basic/Targets/X86.h | 1 + clang/lib/CodeGen/BackendUtil.cpp | 11 +- clang/lib/CodeGen/CGCUDANV.cpp | 2 +- clang/lib/CodeGen/CGCXXABI.cpp | 2 + clang/lib/CodeGen/CGCall.cpp | 6 +- clang/lib/CodeGen/CGExpr.cpp | 2 +- clang/lib/CodeGen/CGOpenMPRuntime.cpp | 8 +- clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | 20 +- clang/lib/CodeGen/CGVTables.cpp | 3 +- clang/lib/CodeGen/TargetInfo.cpp | 58 +- clang/lib/CrossTU/CrossTranslationUnit.cpp | 4 +- clang/lib/Driver/Driver.cpp | 20 + clang/lib/Driver/ToolChains/AMDGPU.cpp | 286 ++-- clang/lib/Driver/ToolChains/AMDGPU.h | 3 - clang/lib/Driver/ToolChains/Clang.cpp | 36 +- clang/lib/Driver/ToolChains/Darwin.cpp | 8 +- clang/lib/Driver/ToolChains/Darwin.h | 4 + clang/lib/Driver/ToolChains/FreeBSD.cpp | 5 + clang/lib/Driver/ToolChains/FreeBSD.h | 2 + clang/lib/Driver/ToolChains/Gnu.cpp | 1 + clang/lib/Driver/ToolChains/HIP.cpp | 9 +- clang/lib/Driver/ToolChains/MSVC.cpp | 1 + clang/lib/Driver/ToolChains/MinGW.cpp | 9 +- clang/lib/Driver/ToolChains/MinGW.h | 4 + clang/lib/Driver/ToolChains/ROCm.h | 71 +- clang/lib/Frontend/CompilerInstance.cpp | 13 + clang/lib/Frontend/CompilerInvocation.cpp | 10 +- clang/lib/Frontend/SerializedDiagnosticPrinter.cpp | 25 + clang/lib/Headers/__clang_cuda_cmath.h | 10 +- clang/lib/Headers/__clang_cuda_complex_builtins.h | 52 +- clang/lib/Headers/__clang_cuda_device_functions.h | 8 +- .../lib/Headers/__clang_cuda_libdevice_declares.h | 2 +- clang/lib/Headers/__clang_cuda_math.h | 16 +- .../__clang_openmp_device_functions.h | 4 + clang/lib/Headers/openmp_wrappers/cmath | 2 + clang/lib/Headers/openmp_wrappers/math.h | 2 + clang/lib/Lex/LiteralSupport.cpp | 104 +- clang/lib/Lex/PPDirectives.cpp | 9 +- clang/lib/Lex/PPExpressions.cpp | 4 +- clang/lib/Lex/Preprocessor.cpp | 4 +- clang/lib/Parse/ParseExpr.cpp | 29 +- clang/lib/Parse/ParseOpenMP.cpp | 1 + clang/lib/Parse/ParseStmt.cpp | 19 +- clang/lib/Sema/SemaExpr.cpp | 154 +-- clang/lib/Sema/SemaOpenMP.cpp | 12 +- clang/lib/Sema/SemaStmt.cpp | 7 +- clang/lib/Sema/SemaTemplateInstantiate.cpp | 2 +- clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 94 +- clang/lib/Sema/SemaType.cpp | 7 - clang/lib/Sema/TreeTransform.h | 29 +- clang/lib/Serialization/ASTReader.cpp | 3 +- clang/lib/Serialization/ASTReaderDecl.cpp | 18 +- clang/lib/Serialization/ASTReaderStmt.cpp | 6 +- clang/lib/Serialization/ASTWriter.cpp | 4 +- clang/lib/Serialization/ASTWriterDecl.cpp | 5 +- clang/lib/Serialization/ASTWriterStmt.cpp | 6 +- .../Checkers/BuiltinFunctionChecker.cpp | 6 +- .../Checkers/StdLibraryFunctionsChecker.cpp | 3 +- .../StaticAnalyzer/Core/RangeConstraintManager.cpp | 2 +- clang/lib/Tooling/Syntax/BuildTree.cpp | 65 +- clang/lib/Tooling/Syntax/Nodes.cpp | 13 + clang/test/AST/regression-new-expr-crash.cpp | 13 + clang/test/Analysis/analyzer-config.c | 3 +- clang/test/Analysis/ctu-import-threshold.c | 1 + clang/test/CodeGen/aarch64-neon-misc-constrained.c | 2 + ...arch64-neon-scalar-x-indexed-elem-constrained.c | 2 + .../aarch64-v8.2a-neon-intrinsics-constrained.c | 2 + .../arm-neon-directed-rounding-constrained.c | 4 + clang/test/CodeGen/arm64-vrnd-constrained.c | 4 +- clang/test/CodeGen/builtins-ppc-fpconstrained.c | 2 + clang/test/CodeGen/fp-strictfp-exp.cpp | 14 + clang/test/CodeGen/fp-strictfp.cpp | 16 + clang/test/CodeGen/fpconstrained-cmp-double.c | 10 +- clang/test/CodeGen/fpconstrained-cmp-float.c | 12 +- clang/test/CodeGen/fpconstrained.c | 7 +- clang/test/CodeGen/fpconstrained.cpp | 7 +- clang/test/CodeGen/msp430-abi-complex.c | 226 ++++ clang/test/CodeGen/systemz-abi.cpp | 34 + clang/test/CodeGen/vla.c | 4 + clang/test/CodeGenCXX/trivial_abi.cpp | 25 + clang/test/CodeGenObjCXX/objc-struct-cxx-abi.mm | 29 + clang/test/CoverageMapping/preprocessor.c | 18 +- clang/test/Driver/Inputs/rocm/bin/.hipVersion | 4 + clang/test/Driver/aarch64-cpus.c | 4 + clang/test/Driver/aix-object-mode.c | 22 + clang/test/Driver/arm-cortex-cpus.c | 12 + clang/test/Driver/cl-options.c | 6 +- clang/test/Driver/clang-g-opts.c | 2 +- clang/test/Driver/cuda-dwarf-2.cu | 2 +- clang/test/Driver/debug-options-as.c | 2 +- clang/test/Driver/debug-options.c | 8 +- clang/test/Driver/hip-include-path.hip | 12 + clang/test/Driver/hip-launch-api.hip | 17 + clang/test/Driver/hip-std.hip | 23 + clang/test/Driver/hip-version.hip | 42 + clang/test/Driver/integrated-as.s | 10 +- clang/test/Driver/myriad-toolchain.c | 2 +- clang/test/Driver/openmp-offload-gpu.c | 2 +- clang/test/Driver/rocm-detect.cl | 2 +- clang/test/Driver/rocm-detect.hip | 2 +- clang/test/Driver/rocm-not-found.cl | 2 +- clang/test/Driver/split-debug.c | 10 +- clang/test/Headers/nvptx_device_math_complex.c | 31 +- clang/test/Headers/nvptx_device_math_complex.cpp | 31 +- clang/test/Modules/Inputs/codegen-flags/foo.h | 3 + clang/test/OpenMP/nvptx_data_sharing.cpp | 4 +- clang/test/OpenMP/nvptx_parallel_codegen.cpp | 10 +- clang/test/OpenMP/nvptx_target_codegen.cpp | 2 +- clang/test/OpenMP/nvptx_target_simd_codegen.cpp | 1 - clang/test/OpenMP/nvptx_target_teams_codegen.cpp | 4 +- .../nvptx_target_teams_distribute_codegen.cpp | 2 +- clang/test/OpenMP/target_data_messages.c | 7 + clang/test/OpenMP/target_depend_messages.cpp | 2 +- .../OpenMP/target_enter_data_depend_messages.cpp | 6 +- .../OpenMP/target_exit_data_depend_messages.cpp | 4 +- clang/test/OpenMP/target_map_messages.cpp | 13 + .../OpenMP/target_parallel_depend_messages.cpp | 2 +- .../OpenMP/target_parallel_for_depend_messages.cpp | 2 +- .../target_parallel_for_simd_depend_messages.cpp | 2 +- clang/test/OpenMP/target_simd_depend_messages.cpp | 2 +- clang/test/OpenMP/target_teams_depend_messages.cpp | 2 +- .../target_teams_distribute_depend_messages.cpp | 2 +- ...ams_distribute_parallel_for_depend_messages.cpp | 2 +- ...istribute_parallel_for_simd_depend_messages.cpp | 2 +- ...arget_teams_distribute_simd_depend_messages.cpp | 2 +- clang/test/OpenMP/target_update_ast_print.cpp | 13 + clang/test/OpenMP/target_update_messages.cpp | 12 +- clang/test/PCH/codegen.cpp | 42 + .../test/Sema/builtin-expect-with-probability.cpp | 26 + clang/test/Sema/format-strings.c | 7 + clang/test/Sema/static-array.c | 7 +- .../test/SemaTemplate/default-arguments-cxx0x.cpp | 33 + clang/test/SemaTemplate/dependent-expr.cpp | 2 +- clang/test/SemaTemplate/stack-exhaustion.cpp | 3 + clang/tools/clang-shlib/CMakeLists.txt | 7 +- clang/unittests/AST/DeclPrinterTest.cpp | 34 +- clang/unittests/AST/SourceLocationTest.cpp | 53 + .../unittests/CrossTU/CrossTranslationUnitTest.cpp | 1 + clang/unittests/Tooling/Syntax/TreeTest.cpp | 167 ++- clang/utils/analyzer/Dockerfile | 5 +- clang/utils/analyzer/SATest.py | 44 +- clang/utils/analyzer/SATestBuild.py | 74 +- clang/utils/analyzer/SATestUtils.py | 84 +- clang/utils/analyzer/requirements.txt | 4 + compiler-rt/cmake/config-ix.cmake | 2 +- compiler-rt/lib/builtins/udivmodti4.c | 285 ++-- compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp | 18 +- .../sanitizer_common/tests/sanitizer_mac_test.cpp | 8 +- compiler-rt/test/builtins/Unit/lit.cfg.py | 17 + compiler-rt/test/crt/lit.cfg.py | 17 +- compiler-rt/test/lit.common.cfg.py | 3 + .../sanitizer_common/TestCases/Linux/protoent.cpp | 14 +- flang/include/flang/Common/indirection.h | 55 +- flang/include/flang/Evaluate/call.h | 1 + flang/include/flang/Evaluate/expression.h | 2 + flang/include/flang/Evaluate/tools.h | 1 + flang/include/flang/Parser/parse-tree.h | 10 +- flang/include/flang/Semantics/expression.h | 3 +- flang/include/flang/Semantics/symbol.h | 1 - flang/include/flang/Semantics/tools.h | 1 - flang/lib/Evaluate/CMakeLists.txt | 1 - flang/lib/Evaluate/call.cpp | 3 +- flang/lib/Evaluate/expression.cpp | 8 +- flang/lib/Evaluate/intrinsics-library.cpp | 11 - flang/lib/Evaluate/tools.cpp | 7 + flang/lib/Lower/CMakeLists.txt | 4 + flang/lib/Optimizer/Dialect/FIRType.cpp | 2 + flang/lib/Parser/parse-tree.cpp | 13 - flang/lib/Semantics/CMakeLists.txt | 1 + flang/lib/Semantics/check-omp-structure.cpp | 494 +------ flang/lib/Semantics/check-omp-structure.h | 21 +- flang/lib/Semantics/expression.cpp | 24 +- flang/lib/Semantics/symbol.cpp | 15 +- flang/lib/Semantics/tools.cpp | 7 - flang/runtime/pgmath.h.inc | 41 - flang/test/Semantics/omp-clause-validity01.f90 | 1 - flang/test/Semantics/resolve53.f90 | 23 + flang/tools/f18-parse-demo/stub-evaluate.cpp | 20 +- flang/tools/f18/CMakeLists.txt | 1 + flang/unittests/Evaluate/CMakeLists.txt | 4 + flang/unittests/Runtime/CMakeLists.txt | 5 + libc/config/linux/aarch64/entrypoints.txt | 1 + libc/config/linux/x86_64/entrypoints.txt | 1 + libc/src/string/CMakeLists.txt | 7 + libc/src/string/memchr.cpp | 3 +- libc/src/string/{memchr.cpp => strchr.cpp} | 16 +- libc/src/string/strchr.h | 18 + libc/test/src/string/CMakeLists.txt | 10 + libc/test/src/string/memchr_test.cpp | 9 + libc/test/src/string/strchr_test.cpp | 87 ++ libcxx/CMakeLists.txt | 2 + libcxx/cmake/caches/Generic-cxx03.cmake | 3 +- libcxx/cmake/caches/Generic-cxx11.cmake | 3 +- libcxx/cmake/caches/Generic-cxx14.cmake | 3 +- libcxx/cmake/caches/Generic-cxx17.cmake | 3 +- libcxx/cmake/caches/Generic-cxx2a.cmake | 3 +- libcxx/docs/TestingLibcxx.rst | 26 +- libcxx/test/CMakeLists.txt | 7 +- .../support.coroutines/dialect_support.pass.cpp | 4 +- .../directory_entry.mods/last_write_time.pass.cpp | 2 +- .../filesystems/convert_file_time.pass.cpp | 2 +- .../pretty_printers/gdb_pretty_printer_test.sh.cpp | 2 +- libcxx/utils/libcxx/test/config.py | 42 +- libcxx/utils/libcxx/test/params.py | 13 + libcxx/utils/libcxx/test/target_info.py | 7 - libcxxabi/CMakeLists.txt | 2 + libcxxabi/src/demangle/ItaniumDemangle.h | 16 + libcxxabi/test/CMakeLists.txt | 7 +- libcxxabi/test/test_demangle.pass.cpp | 11 + lld/ELF/Arch/PPC64.cpp | 26 +- lld/ELF/DWARF.h | 4 +- lld/ELF/SyntheticSections.cpp | 12 +- lld/ELF/Thunks.cpp | 34 + lld/test/ELF/Inputs/gdb-index.s | 2 +- lld/test/ELF/Inputs/ppc64-callee-global-hidden.s | 15 + lld/test/ELF/gdb-index-invalid-pubnames.s | 26 + lld/test/ELF/gdb-index.s | 2 +- lld/test/ELF/ppc64-error-toc-local-call.s | 33 + lld/test/ELF/ppc64-pcrel-call-to-pcrel.s | 124 ++ lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s | 33 + lld/test/ELF/ppc64-toc-call-to-pcrel.s | 74 + .../MachONormalizedFileBinaryReaderTests.cpp | 20 +- .../MachOTests/MachONormalizedFileYAMLTests.cpp | 24 +- lldb/include/lldb/Core/ValueObject.h | 7 +- lldb/include/lldb/Core/ValueObjectVariable.h | 2 + lldb/include/lldb/Symbol/Function.h | 78 +- lldb/include/lldb/Utility/Reproducer.h | 90 +- .../Python/lldbsuite/test/configuration.py | 10 + lldb/packages/Python/lldbsuite/test/dotest.py | 12 +- lldb/packages/Python/lldbsuite/test/dotest_args.py | 2 +- lldb/packages/Python/lldbsuite/test/lldbtest.py | 20 +- lldb/source/API/SBDebugger.cpp | 2 +- lldb/source/Core/ValueObject.cpp | 52 - lldb/source/Core/ValueObjectVariable.cpp | 55 + .../Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 6 +- .../Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 69 +- .../Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h | 5 +- .../Linux/NativeRegisterContextLinux_s390x.h | 2 +- .../Plugins/Process/POSIX/NativeProcessELF.cpp | 5 + .../Plugins/Process/POSIX/NativeProcessELF.h | 10 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 5 + lldb/source/Symbol/Function.cpp | 2 + lldb/source/Utility/ARM64_DWARF_Registers.h | 62 +- lldb/source/Utility/ARM64_ehframe_Registers.h | 66 +- lldb/source/Utility/Reproducer.cpp | 35 +- lldb/test/API/CMakeLists.txt | 4 + lldb/test/API/lit.cfg.py | 3 + lldb/test/API/lit.site.cfg.py.in | 1 + lldb/test/Shell/Reproducer/TestCrash.test | 5 + lldb/test/Shell/Reproducer/TestDriverOptions.test | 6 +- lldb/test/Shell/Reproducer/TestVersionCheck.test | 4 +- .../SymbolFile/PDB/Inputs/ClassLayoutTest.cpp | 1 + .../tools/debugserver/source/MacOSX/MachProcess.mm | 20 +- lldb/tools/driver/Driver.cpp | 26 +- lldb/tools/driver/Options.td | 8 +- lldb/unittests/Utility/ReproducerTest.cpp | 118 +- lldb/utils/lldb-dotest/CMakeLists.txt | 5 + lldb/utils/lldb-dotest/lldb-dotest.in | 2 + lldb/utils/lldb-repro/lldb-repro.py | 2 +- llvm/docs/AMDGPUUsage.rst | 49 +- llvm/docs/CodingStandards.rst | 3 + llvm/docs/CommandGuide/FileCheck.rst | 38 +- llvm/docs/Contributing.rst | 5 + llvm/docs/HowToSubmitABug.rst | 2 + llvm/docs/Reference.rst | 1 + llvm/docs/Security.rst | 220 +++ llvm/docs/index.rst | 4 + llvm/examples/ExceptionDemo/ExceptionDemo.cpp | 4 +- llvm/include/llvm/ADT/EnumeratedArray.h | 1 + llvm/include/llvm/ADT/STLExtras.h | 4 +- llvm/include/llvm/Analysis/AliasSetTracker.h | 7 +- llvm/include/llvm/Analysis/BasicAliasAnalysis.h | 2 +- llvm/include/llvm/Analysis/OrderedInstructions.h | 57 - llvm/include/llvm/Analysis/TargetTransformInfo.h | 42 +- .../llvm/Analysis/TargetTransformInfoImpl.h | 3 + llvm/include/llvm/BinaryFormat/MachO.h | 3 +- llvm/include/llvm/CodeGen/BasicTTIImpl.h | 8 + llvm/include/llvm/CodeGen/MachineBasicBlock.h | 11 - .../llvm/DebugInfo/DWARF/DWARFDebugPubTable.h | 9 +- llvm/include/llvm/Demangle/ItaniumDemangle.h | 16 + .../llvm/Frontend/Directive/DirectiveBase.td | 10 + llvm/include/llvm/Frontend/OpenMP/CMakeLists.txt | 2 +- llvm/include/llvm/Frontend/OpenMP/OMP.td | 507 ++++--- llvm/include/llvm/Frontend/OpenMP/OMPKinds.def | 5 + llvm/include/llvm/IR/Argument.h | 4 + llvm/include/llvm/IR/IRPrintingPasses.h | 17 +- llvm/include/llvm/IR/InstrTypes.h | 4 +- llvm/include/llvm/IR/ModuleSummaryIndex.h | 33 +- llvm/include/llvm/InitializePasses.h | 1 + .../llvm/MC/MCParser/MCAsmParserExtension.h | 2 + llvm/include/llvm/MC/MCWinCOFFStreamer.h | 5 + llvm/include/llvm/ProfileData/ProfileCommon.h | 4 + llvm/include/llvm/Support/AArch64TargetParser.def | 6 + llvm/include/llvm/Support/AMDGPUMetadata.h | 7 +- llvm/include/llvm/Support/ARMTargetParser.def | 4 + llvm/include/llvm/Transforms/IPO/Attributor.h | 22 + llvm/include/llvm/Transforms/IPO/OpenMPOpt.h | 12 + .../llvm/Transforms/IPO/PassManagerBuilder.h | 1 + llvm/include/llvm/Transforms/Instrumentation.h | 2 + .../llvm/Transforms/Instrumentation/CGProfile.h | 5 - llvm/include/llvm/Transforms/Utils/UnrollLoop.h | 13 +- llvm/include/llvm/module.modulemap | 1 + llvm/lib/Analysis/BasicAliasAnalysis.cpp | 4 +- llvm/lib/Analysis/BranchProbabilityInfo.cpp | 8 +- llvm/lib/Analysis/CMakeLists.txt | 1 - llvm/lib/Analysis/DomTreeUpdater.cpp | 4 +- llvm/lib/Analysis/InstructionSimplify.cpp | 17 +- llvm/lib/Analysis/OrderedInstructions.cpp | 59 - llvm/lib/Analysis/ProfileSummaryInfo.cpp | 26 +- llvm/lib/Analysis/ScalarEvolution.cpp | 2 +- llvm/lib/Analysis/StackSafetyAnalysis.cpp | 6 +- llvm/lib/Analysis/TargetTransformInfo.cpp | 5 + llvm/lib/Analysis/ValueLatticeUtils.cpp | 18 +- llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp | 19 - llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 5 +- llvm/lib/CodeGen/CodeGenPrepare.cpp | 4 +- llvm/lib/CodeGen/ExpandReductions.cpp | 6 +- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 6 +- llvm/lib/CodeGen/InterleavedAccessPass.cpp | 9 +- llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp | 3 +- llvm/lib/CodeGen/LowLevelType.cpp | 2 +- llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp | 22 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 977 +++++++------- llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp | 6 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 14 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 +- llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 2 +- llvm/lib/CodeGen/ValueTypes.cpp | 9 +- llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 41 +- llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp | 80 +- llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp | 6 +- llvm/lib/Frontend/OpenMP/CMakeLists.txt | 7 +- llvm/lib/IR/AutoUpgrade.cpp | 5 +- llvm/lib/IR/ConstantFold.cpp | 24 +- llvm/lib/IR/Function.cpp | 21 + llvm/lib/IR/LegacyPassManager.cpp | 202 +-- llvm/lib/IR/Mangler.cpp | 13 +- llvm/lib/MC/MCDisassembler/MCDisassembler.cpp | 2 +- llvm/lib/MC/MCParser/COFFAsmParser.cpp | 6 + llvm/lib/MC/MCParser/ELFAsmParser.cpp | 41 +- llvm/lib/MC/MCParser/MCAsmParserExtension.cpp | 43 + llvm/lib/MC/MCWinCOFFStreamer.cpp | 27 + llvm/lib/MC/WinCOFFObjectWriter.cpp | 23 + llvm/lib/Passes/PassBuilder.cpp | 21 +- llvm/lib/ProfileData/ProfileSummaryBuilder.cpp | 13 + llvm/lib/Support/AMDGPUMetadata.cpp | 6 +- llvm/lib/Support/Host.cpp | 2 + llvm/lib/Support/X86TargetParser.cpp | 15 +- llvm/lib/Target/AArch64/AArch64.td | 32 + llvm/lib/Target/AArch64/AArch64FrameLowering.cpp | 53 +- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 52 + llvm/lib/Target/AArch64/AArch64ISelLowering.h | 3 + llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 16 + llvm/lib/Target/AArch64/AArch64Subtarget.cpp | 2 + llvm/lib/Target/AArch64/AArch64Subtarget.h | 2 + .../Target/AArch64/AArch64TargetTransformInfo.cpp | 5 + .../Target/AArch64/AArch64TargetTransformInfo.h | 3 + .../Target/AArch64/GISel/AArch64CallLowering.cpp | 2 - .../Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp | 67 - llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h | 4 - llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 2 + llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | 7 +- .../Target/AMDGPU/AMDGPUTargetTransformInfo.cpp | 23 +- llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h | 16 +- llvm/lib/Target/AMDGPU/BUFInstructions.td | 2 + llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 7 +- llvm/lib/Target/ARM/ARM.td | 20 + llvm/lib/Target/ARM/ARMSubtarget.cpp | 2 + llvm/lib/Target/ARM/ARMSubtarget.h | 2 + llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 5 + llvm/lib/Target/ARM/ARMTargetTransformInfo.h | 2 + .../Target/Hexagon/HexagonTargetTransformInfo.cpp | 7 +- .../Target/Hexagon/HexagonTargetTransformInfo.h | 3 + llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp | 5 + llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h | 4 + llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 148 +- llvm/lib/Target/PowerPC/PPCInstrPrefix.td | 18 + llvm/lib/Target/PowerPC/PPCSubtarget.cpp | 2 +- llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp | 4 + llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h | 2 + llvm/lib/Target/RISCV/RISCV.td | 20 +- llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp | 98 +- llvm/lib/Target/RISCV/RISCVMCInstLower.cpp | 3 + llvm/lib/Target/RISCV/RISCVSubtarget.h | 2 +- llvm/lib/Target/RISCV/RISCVTargetMachine.cpp | 2 +- .../Target/SystemZ/SystemZTargetTransformInfo.cpp | 4 + .../Target/SystemZ/SystemZTargetTransformInfo.h | 3 + .../Target/WebAssembly/WebAssemblyISelLowering.cpp | 13 +- .../lib/Target/WebAssembly/WebAssemblyInstrSIMD.td | 2 - llvm/lib/Target/X86/X86ISelLowering.cpp | 102 +- llvm/lib/Target/X86/X86InstrAVX512.td | 287 +++- llvm/lib/Transforms/IPO/Attributor.cpp | 19 + llvm/lib/Transforms/IPO/OpenMPOpt.cpp | 464 +++++-- llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 5 + .../InstCombine/InstCombineLoadStoreAlloca.cpp | 21 +- .../InstCombine/InstructionCombining.cpp | 5 - llvm/lib/Transforms/Instrumentation/CGProfile.cpp | 106 +- .../Transforms/Instrumentation/Instrumentation.cpp | 1 + llvm/lib/Transforms/Scalar/BDCE.cpp | 24 +- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 8 +- .../lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp | 12 +- llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp | 67 +- .../lib/Transforms/Scalar/LowerExpectIntrinsic.cpp | 4 +- llvm/lib/Transforms/Scalar/SCCP.cpp | 42 +- .../lib/Transforms/Scalar/SpeculativeExecution.cpp | 6 +- .../Transforms/Scalar/TailRecursionElimination.cpp | 113 +- llvm/lib/Transforms/Utils/CodeMoverUtils.cpp | 16 +- llvm/lib/Transforms/Utils/FixIrreducible.cpp | 3 + llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp | 25 +- llvm/lib/Transforms/Utils/PredicateInfo.cpp | 9 +- .../Transforms/Utils/ScalarEvolutionExpander.cpp | 14 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 18 +- llvm/lib/Transforms/Vectorize/VectorCombine.cpp | 2 + .../legalize-load-store-vector-of-ptr-debugloc.mir | 52 + .../GlobalISel/legalize-memlib-debug-loc.mir | 60 + .../GlobalISel/legalize-shift-imm-promote-dloc.mir | 58 + .../CodeGen/AArch64/GlobalISel/legalize-vaarg.mir | 50 +- llvm/test/CodeGen/AArch64/cpus.ll | 2 + .../test/CodeGen/AArch64/merge-store-dependency.ll | 105 +- llvm/test/CodeGen/AArch64/remat.ll | 2 + .../test/CodeGen/AArch64/sve-fixed-length-trunc.ll | 369 +++++ llvm/test/CodeGen/AArch64/sve-fp.ll | 54 + .../AMDGPU/GlobalISel/dynamic-alloca-divergent.ll | 6 +- .../llvm.amdgcn.raw.tbuffer.store.f16.ll | 492 +++++++ .../GlobalISel/llvm.amdgcn.raw.tbuffer.store.i8.ll | 284 ++++ .../GlobalISel/llvm.amdgcn.raw.tbuffer.store.ll | 651 +++++++++ .../AMDGPU/hsa-metadata-deduce-ro-arg-v3.ll | 4 +- .../CodeGen/AMDGPU/hsa-metadata-deduce-ro-arg.ll | 2 - .../AMDGPU/hsa-metadata-enqueue-kernel-v3.ll | 11 - .../CodeGen/AMDGPU/hsa-metadata-enqueue-kernel.ll | 11 - .../AMDGPU/hsa-metadata-from-llvm-ir-full-v3.ll | 301 ----- .../AMDGPU/hsa-metadata-from-llvm-ir-full.ll | 298 ---- .../CodeGen/AMDGPU/hsa-metadata-hidden-args-v3.ll | 44 - .../CodeGen/AMDGPU/hsa-metadata-hidden-args.ll | 44 - .../AMDGPU/hsa-metadata-hostcall-absent-v3.ll | 4 - .../CodeGen/AMDGPU/hsa-metadata-hostcall-absent.ll | 4 - .../AMDGPU/hsa-metadata-hostcall-present-v3.ll | 5 - .../AMDGPU/hsa-metadata-hostcall-present.ll | 5 - llvm/test/CodeGen/AMDGPU/hsa-metadata-images-v3.ll | 16 +- llvm/test/CodeGen/AMDGPU/opt-pipeline.ll | 18 + .../AMDGPU/switch-default-block-unreachable.ll | 60 + llvm/test/CodeGen/ARM/arm-half-promote.ll | 28 + llvm/test/CodeGen/ARM/dbg-tcreturn.ll | 47 + llvm/test/CodeGen/PowerPC/builtins-ppc-p9-f128.ll | 5 +- llvm/test/CodeGen/PowerPC/constant-pool.ll | 3 +- llvm/test/CodeGen/PowerPC/f128-aggregates.ll | 7 +- llvm/test/CodeGen/PowerPC/f128-arith.ll | 3 +- llvm/test/CodeGen/PowerPC/f128-bitcast.ll | 10 +- llvm/test/CodeGen/PowerPC/f128-compare.ll | 3 +- llvm/test/CodeGen/PowerPC/f128-conv.ll | 4 +- llvm/test/CodeGen/PowerPC/f128-fma.ll | 3 +- llvm/test/CodeGen/PowerPC/f128-passByValue.ll | 3 +- llvm/test/CodeGen/PowerPC/f128-rounding.ll | 3 +- llvm/test/CodeGen/PowerPC/f128-truncateNconv.ll | 4 +- llvm/test/CodeGen/PowerPC/f128-vecExtractNconv.ll | 4 +- llvm/test/CodeGen/PowerPC/float-load-store-pair.ll | 16 +- llvm/test/CodeGen/PowerPC/fp-strict-f128.ll | 3 +- .../global-address-non-got-indirect-access.ll | 4 +- llvm/test/CodeGen/PowerPC/mi-peephole.mir | 37 + llvm/test/CodeGen/PowerPC/pcrel-got-indirect.ll | 4 +- llvm/test/CodeGen/PowerPC/ppc64-P9-setb.ll | 2 +- llvm/test/CodeGen/PowerPC/recipest.ll | 18 +- llvm/test/CodeGen/PowerPC/sms-remark.ll | 11 +- llvm/test/CodeGen/RISCV/addimm-mulimm.ll | 95 ++ llvm/test/CodeGen/RISCV/codemodel-lowering.ll | 21 +- llvm/test/CodeGen/RISCV/mir-target-flags.ll | 20 +- llvm/test/CodeGen/RISCV/pic-models.ll | 20 +- llvm/test/CodeGen/RISCV/tls-models.ll | 60 +- llvm/test/CodeGen/WebAssembly/simd-arith.ll | 52 +- .../WebAssembly/simd-shift-complex-splats.ll | 76 ++ llvm/test/CodeGen/WebAssembly/simd.ll | 12 +- llvm/test/CodeGen/X86/avg.ll | 20 +- llvm/test/CodeGen/X86/avx-vperm2x128.ll | 50 +- .../CodeGen/X86/avx512-intrinsics-fast-isel.ll | 32 +- llvm/test/CodeGen/X86/avx512-logic.ll | 34 + llvm/test/CodeGen/X86/avx512vl-logic.ll | 44 + llvm/test/CodeGen/X86/bitcast-and-setcc-512.ll | 9 +- llvm/test/CodeGen/X86/known-signbits-vector.ll | 6 +- llvm/test/CodeGen/X86/mmx-intrinsics.ll | 39 + llvm/test/CodeGen/X86/packss.ll | 24 +- llvm/test/CodeGen/X86/phaddsub-extract.ll | 39 + llvm/test/CodeGen/X86/pr46527.ll | 36 + llvm/test/CodeGen/X86/stores-merging.ll | 197 +++ llvm/test/CodeGen/X86/var-permute-256.ll | 8 +- llvm/test/CodeGen/X86/vector-compare-results.ll | 10 +- llvm/test/CodeGen/X86/vector-fshl-128.ll | 3 +- llvm/test/CodeGen/X86/vector-fshl-256.ll | 3 +- llvm/test/CodeGen/X86/vector-fshl-512.ll | 6 +- llvm/test/CodeGen/X86/vector-fshr-128.ll | 5 +- llvm/test/CodeGen/X86/vector-fshr-256.ll | 5 +- llvm/test/CodeGen/X86/vector-fshr-512.ll | 10 +- llvm/test/CodeGen/X86/vector-pack-256.ll | 62 +- llvm/test/CodeGen/X86/vector-shuffle-avx512.ll | 14 +- llvm/test/CodeGen/X86/x86-interleaved-access.ll | 432 +++--- llvm/test/FileCheck/dump-input-annotations.txt | 2 +- llvm/test/FileCheck/dump-input-context.txt | 293 ++++ llvm/test/FileCheck/dump-input-enable.txt | 6 +- llvm/test/FileCheck/dump-input-filter.txt | 425 ++++++ llvm/test/Instrumentation/cgprofile.ll | 1 + llvm/test/MC/AArch64/armv8.2a-dotprod.s | 6 + llvm/test/MC/AMDGPU/hsa-metadata-kernel-args.s | 8 +- llvm/test/MC/ARM/armv8.2a-dotprod-a32.s | 6 + llvm/test/MC/ARM/armv8.2a-dotprod-t32.s | 2 + llvm/test/MC/AsmParser/directive_cgprofile.s | 2 +- llvm/test/MC/COFF/cgprofile.s | 119 ++ .../test/MC/Disassembler/AArch64/armv8.3a-rcpc.txt | 2 + .../Disassembler/PowerPC/ppc64-encoding-ISA31.txt | 24 + llvm/test/MC/PowerPC/ppc64-encoding-ISA31.s | 24 + llvm/test/MC/RISCV/rv32c-invalid.s | 2 +- llvm/test/Other/new-pm-cgprofile.ll | 11 - llvm/test/Other/opt-O2-pipeline.ll | 6 + llvm/test/Other/opt-O3-pipeline.ll | 6 + llvm/test/Other/opt-Os-pipeline.ll | 6 + llvm/test/Reduce/remove-args.ll | 1 - ...ove-attributes-from-intrinsic-like-functions.ll | 40 + .../Reduce/remove-attributes-from-intrinsics.ll | 38 + llvm/test/Reduce/remove-call-site-attributes.ll | 38 + llvm/test/Reduce/remove-funcs.ll | 1 - llvm/test/Reduce/remove-function-attributes.ll | 23 + .../Reduce/remove-global-variable-attributes.ll | 27 + llvm/test/Reduce/remove-global-vars.ll | 1 - llvm/test/Reduce/remove-metadata.ll | 1 - ...ove-multiple-use-of-args-in-same-instruction.ll | 1 - ...tiple-use-of-global-vars-in-same-instruction.ll | 1 - llvm/test/Reduce/remove-operand-bundles.ll | 1 - llvm/test/TableGen/directive1.td | 63 +- llvm/test/TableGen/directive2.td | 64 +- .../ArgumentPromotion/2008-02-01-ReturnAttrs.ll | 8 +- .../Attributor/ArgumentPromotion/X86/attributes.ll | 4 +- .../X86/min-legal-vector-width.ll | 24 +- .../Attributor/ArgumentPromotion/alignment.ll | 26 +- .../Attributor/ArgumentPromotion/basictest.ll | 22 +- .../Attributor/ArgumentPromotion/byval.ll | 14 +- .../Attributor/ArgumentPromotion/control-flow2.ll | 10 +- .../Attributor/ArgumentPromotion/crash.ll | 4 +- .../ArgumentPromotion/live_called_from_dead.ll | 6 +- .../ArgumentPromotion/live_called_from_dead_2.ll | 8 +- .../pr33641_remove_arg_dbgvalue.ll | 2 +- .../Attributor/ArgumentPromotion/profile.ll | 8 +- .../Attributor/ArgumentPromotion/sret.ll | 8 +- .../IPConstantProp/dangling-block-address.ll | 6 +- .../Attributor/IPConstantProp/pthreads.ll | 44 +- .../Attributor/IPConstantProp/return-argument.ll | 4 +- llvm/test/Transforms/Attributor/allow_list.ll | 33 + llvm/test/Transforms/Attributor/heap_to_stack.ll | 24 +- .../test/Transforms/Attributor/internal-noalias.ll | 8 +- llvm/test/Transforms/Attributor/liveness.ll | 6 +- .../test/Transforms/Attributor/memory_locations.ll | 16 +- llvm/test/Transforms/Attributor/misc_crash.ll | 2 +- llvm/test/Transforms/Attributor/readattrs.ll | 4 +- .../Transforms/Attributor/undefined_behavior.ll | 2 +- llvm/test/Transforms/Attributor/value-simplify.ll | 23 +- llvm/test/Transforms/BDCE/sext_multi_uses.ll | 111 ++ llvm/test/Transforms/FixIrreducible/unreachable.ll | 24 + .../Transforms/IndVarSimplify/widen-i32-i8ptr.ll | 24 + .../Transforms/InferAddressSpaces/AMDGPU/select.ll | 2 +- .../merging-multiple-stores-into-successor.ll | 74 + .../InstSimplify/floating-point-arithmetic.ll | 50 + llvm/test/Transforms/InstSimplify/select.ll | 96 +- .../LoopVectorize/pr46525-expander-insertpoint.ll | 114 ++ llvm/test/Transforms/NewGVN/assumes.ll | 20 +- llvm/test/Transforms/OpenMP/dead_use.ll | 73 + .../OpenMP/gpu_kernel_detection_remarks.ll | 27 + .../gpu_state_machine_function_ptr_replacement.ll | 153 +++ .../2009-09-24-byval-ptr.ll | 0 .../Transforms/{IPConstantProp => SCCP}/PR16052.ll | 0 .../Transforms/{IPConstantProp => SCCP}/PR26044.ll | 0 llvm/test/Transforms/SCCP/conditions-ranges.ll | 15 +- .../dangling-block-address.ll | 0 .../fp-bc-icmp-const-fold.ll | 0 .../Transforms/{IPConstantProp => SCCP}/global.ll | 0 .../{IPConstantProp => SCCP}/musttail-call.ll | 0 .../{IPConstantProp => SCCP}/remove-call-inst.ll | 0 ...lve-after-each-resolving-undefs-for-function.ll | 0 .../user-with-multiple-uses.ll | 0 .../Transforms/SpeculativeExecution/PR46267.ll | 30 + llvm/test/Transforms/TailCallElim/basic.ll | 7 +- .../Transforms/TailCallElim/tre-multiple-exits.ll | 125 ++ .../TailCallElim/tre-noncapturing-alloca-calls.ll | 74 + .../Util/PredicateInfo/branch-on-same-cond.ll | 64 + .../test/Transforms/Util/PredicateInfo/condprop.ll | 2 +- .../Transforms/Util/PredicateInfo/unnamed-types.ll | 4 +- llvm/test/tools/gold/lit.local.cfg | 7 +- .../X86/debug_pub_tables_error_cases.s | 150 +++ llvm/test/tools/llvm-objdump/ARM/lit.local.cfg | 2 - .../llvm-objdump/{ => ELF}/ARM/Inputs/debug.c | 0 .../llvm-objdump/{ => ELF}/ARM/Inputs/wide-char.c | 0 .../{ => ELF}/ARM/debug-vars-dwarf4-sections.s | 0 .../llvm-objdump/{ => ELF}/ARM/debug-vars-dwarf4.s | 0 .../{ => ELF}/ARM/debug-vars-dwarf5-sections.s | 0 .../llvm-objdump/{ => ELF}/ARM/debug-vars-dwarf5.s | 0 .../{ => ELF}/ARM/debug-vars-wide-chars.s | 0 .../llvm-objdump/{ => ELF}/PowerPC/debug-vars.s | 0 .../llvm-objdump/{ => ELF}/RISCV/lit.local.cfg | 0 .../{ => ELF}/RISCV/unknown-arch-attr.test | 0 llvm/test/tools/llvm-objdump/PowerPC/lit.local.cfg | 2 - .../tools/llvm-symbolizer/options-from-env.test | 8 +- llvm/tools/llvm-objdump/llvm-objdump.cpp | 1 + llvm/tools/llvm-profdata/llvm-profdata.cpp | 29 +- llvm/tools/llvm-reduce/CMakeLists.txt | 1 + llvm/tools/llvm-reduce/DeltaManager.h | 2 + llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp | 200 +++ .../llvm-reduce/deltas/ReduceAttributes.h} | 17 +- .../llvm-reduce/deltas/ReduceOperandBundles.cpp | 10 +- llvm/unittests/Analysis/CMakeLists.txt | 3 +- .../unittests/Analysis/OrderedInstructionsTest.cpp | 64 - llvm/unittests/Support/TargetParserTest.cpp | 30 +- llvm/utils/FileCheck/FileCheck.cpp | 220 ++- llvm/utils/TableGen/DirectiveEmitter.cpp | 254 +++- llvm/utils/TableGen/TableGen.cpp | 10 +- llvm/utils/TableGen/TableGenBackends.h | 1 + .../llvm/include/llvm/Frontend/OpenMP/BUILD.gn | 8 - llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn | 1 - .../gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn | 13 +- .../gn/secondary/llvm/tools/llvm-reduce/BUILD.gn | 1 + .../gn/secondary/llvm/unittests/Analysis/BUILD.gn | 1 - mlir/CMakeLists.txt | 32 + mlir/docs/Bindings/Python.md | 328 +++++ .../Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.h | 3 + mlir/include/mlir/Dialect/Affine/IR/AffineOps.h | 3 +- mlir/include/mlir/Dialect/Affine/IR/AffineOps.td | 144 +- mlir/include/mlir/Dialect/Affine/Passes.h | 4 + mlir/include/mlir/Dialect/Affine/Passes.td | 5 + mlir/include/mlir/Dialect/Affine/Utils.h | 7 + mlir/include/mlir/Dialect/SPIRV/SPIRVOps.td | 8 +- mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h | 13 + mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 26 +- .../mlir/Dialect/StandardOps/IR/StandardOpsBase.td | 39 + mlir/include/mlir/Dialect/Vector/VectorOps.h | 2 - mlir/include/mlir/Dialect/Vector/VectorOps.td | 59 +- .../include/mlir/Dialect/Vector/VectorTransforms.h | 27 - mlir/include/mlir/IR/AffineMap.h | 15 +- mlir/include/mlir/IR/Attributes.h | 6 + .../Dialect/Vector/CPU/test-outerproduct-f32.mlir | 24 + .../Dialect/Vector/CPU/test-outerproduct-i64.mlir | 24 + mlir/lib/Analysis/Utils.cpp | 2 +- mlir/lib/Bindings/CMakeLists.txt | 3 + mlir/lib/Bindings/Python/CMakeLists.txt | 70 + mlir/lib/Bindings/Python/MainModule.cpp | 27 + mlir/lib/Bindings/Python/mlir/__init__.py | 11 + mlir/lib/Bindings/Python/unix_version.lds | 4 + mlir/lib/CMakeLists.txt | 3 +- .../AffineToStandard/AffineToStandard.cpp | 10 +- .../Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp | 78 +- .../SPIRVToLLVM/ConvertSPIRVToLLVMPass.cpp | 3 + .../lib/Conversion/VectorToROCDL/VectorToROCDL.cpp | 2 +- mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp | 6 +- mlir/lib/Dialect/Affine/EDSC/Builders.cpp | 2 +- mlir/lib/Dialect/Affine/IR/AffineOps.cpp | 164 ++- .../Affine/Transforms/AffineDataCopyGeneration.cpp | 2 +- .../Transforms/AffineLoopInvariantCodeMotion.cpp | 4 +- .../Affine/Transforms/AffineParallelize.cpp | 50 + mlir/lib/Dialect/Affine/Transforms/CMakeLists.txt | 2 + mlir/lib/Dialect/Affine/Utils/Utils.cpp | 20 + mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp | 68 +- mlir/lib/Dialect/Linalg/Transforms/Loops.cpp | 4 +- .../Dialect/Linalg/Transforms/Vectorization.cpp | 94 +- mlir/lib/Dialect/SPIRV/SPIRVOps.cpp | 182 ++- mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp | 47 + .../Dialect/SPIRV/Serialization/Deserializer.cpp | 70 + .../lib/Dialect/SPIRV/Serialization/Serializer.cpp | 48 +- mlir/lib/Dialect/Vector/VectorOps.cpp | 209 ++- mlir/lib/Dialect/Vector/VectorTransforms.cpp | 307 ++--- mlir/lib/IR/AffineMap.cpp | 31 +- mlir/lib/IR/MLIRContext.cpp | 6 + mlir/lib/Parser/Parser.cpp | 8 +- mlir/test/Bindings/Python/lit.local.cfg | 2 + mlir/test/Bindings/Python/smoke_test.py | 6 + mlir/test/CMakeLists.txt | 7 + .../Conversion/SPIRVToLLVM/cast-ops-to-llvm.mlir | 6 + .../SPIRVToLLVM/spirv-types-to-llvm.invalid.mlir | 27 + .../SPIRVToLLVM/spirv-types-to-llvm.mlir | 38 + .../Conversion/VectorToLLVM/vector-to-llvm.mlir | 40 +- mlir/test/Dialect/Affine/invalid.mlir | 41 + mlir/test/Dialect/Affine/ops.mlir | 50 +- .../test/Dialect/Affine/parallelism-detection.mlir | 47 - mlir/test/Dialect/Affine/parallelize.mlir | 118 ++ mlir/test/Dialect/Linalg/hoisting.mlir | 83 ++ .../transform-patterns-matmul-to-vector.mlir | 36 + .../Dialect/SPIRV/Serialization/memory-ops.mlir | 12 + mlir/test/Dialect/SPIRV/ops.mlir | 32 +- mlir/test/Dialect/Vector/canonicalize.mlir | 81 +- mlir/test/Dialect/Vector/invalid.mlir | 23 +- .../Vector/vector-contract-matvec-transforms.mlir | 82 +- .../Dialect/Vector/vector-contract-transforms.mlir | 202 +-- mlir/test/Dialect/Vector/vector-transforms.mlir | 20 +- mlir/test/IR/invalid.mlir | 2 +- mlir/test/IR/parser.mlir | 4 +- mlir/test/lib/CMakeLists.txt | 1 + mlir/test/lib/Dialect/Affine/CMakeLists.txt | 1 - .../Dialect/Affine/TestParallelismDetection.cpp | 47 - mlir/test/lib/Reducer/CMakeLists.txt | 17 + mlir/test/lib/Reducer/MLIRTestReducer.cpp | 54 + mlir/test/lib/Transforms/TestLinalgTransforms.cpp | 21 +- mlir/test/lib/Transforms/TestVectorTransforms.cpp | 5 - mlir/test/lit.cfg.py | 18 +- mlir/test/lit.site.cfg.py.in | 1 + mlir/test/mlir-reduce/test-reducer-pass.mlir | 7 + mlir/tools/mlir-opt/CMakeLists.txt | 1 + mlir/tools/mlir-opt/mlir-opt.cpp | 4 +- .../deviceRTLs/amdgcn/src/target_impl.h | 2 - openmp/libomptarget/deviceRTLs/common/omptarget.h | 8 - .../deviceRTLs/common/src/data_sharing.cu | 291 ---- .../libomptarget/deviceRTLs/common/src/libcall.cu | 50 - openmp/libomptarget/deviceRTLs/common/src/loop.cu | 52 - .../deviceRTLs/common/src/omptarget.cu | 11 - .../libomptarget/deviceRTLs/common/src/parallel.cu | 172 +-- .../deviceRTLs/common/src/reduction.cu | 221 +-- .../libomptarget/deviceRTLs/common/src/support.cu | 3 - openmp/libomptarget/deviceRTLs/common/src/sync.cu | 17 - openmp/libomptarget/deviceRTLs/common/support.h | 1 - openmp/libomptarget/deviceRTLs/interface.h | 84 +- .../deviceRTLs/nvptx/src/target_impl.h | 9 - polly/lib/Transform/ScheduleOptimizer.cpp | 11 +- .../focaltech_test_detail_threshold-7bc17e.ll | 94 ++ .../mat_mul_pattern_data_layout_2.ll | 1 + .../pattern-matching-based-opts_3.ll | 2 + polly/test/ScheduleOptimizer/tile_after_fusion.ll | 1 + 789 files changed, 18574 insertions(+), 8476 deletions(-) delete mode 100644 clang/include/clang/Driver/CC1Options.td delete mode 100644 clang/include/clang/Driver/CLCompatOptions.td create mode 100644 clang/test/AST/regression-new-expr-crash.cpp create mode 100644 clang/test/CodeGen/fp-strictfp-exp.cpp create mode 100644 clang/test/CodeGen/fp-strictfp.cpp create mode 100644 clang/test/CodeGen/msp430-abi-complex.c create mode 100644 clang/test/Driver/Inputs/rocm/bin/.hipVersion create mode 100644 clang/test/Driver/aix-object-mode.c create mode 100644 clang/test/Driver/hip-launch-api.hip create mode 100644 clang/test/Driver/hip-std.hip create mode 100644 clang/test/Driver/hip-version.hip create mode 100644 clang/test/PCH/codegen.cpp create mode 100644 clang/utils/analyzer/requirements.txt copy libc/src/string/{memchr.cpp => strchr.cpp} (54%) create mode 100644 libc/src/string/strchr.h create mode 100644 libc/test/src/string/strchr_test.cpp create mode 100644 lld/test/ELF/Inputs/ppc64-callee-global-hidden.s create mode 100644 lld/test/ELF/gdb-index-invalid-pubnames.s create mode 100644 lld/test/ELF/ppc64-error-toc-local-call.s create mode 100644 lld/test/ELF/ppc64-pcrel-call-to-pcrel.s create mode 100644 lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s create mode 100644 lld/test/ELF/ppc64-toc-call-to-pcrel.s create mode 100644 llvm/docs/Security.rst delete mode 100644 llvm/include/llvm/Analysis/OrderedInstructions.h delete mode 100644 llvm/lib/Analysis/OrderedInstructions.cpp create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store-vector [...] create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/legalize-memlib-debug-loc.mir create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/legalize-shift-imm-promote [...] create mode 100644 llvm/test/CodeGen/AArch64/sve-fixed-length-trunc.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.tbuffer.sto [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.tbuffer.sto [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.tbuffer.store.ll create mode 100644 llvm/test/CodeGen/AMDGPU/switch-default-block-unreachable.ll create mode 100644 llvm/test/CodeGen/ARM/dbg-tcreturn.ll create mode 100644 llvm/test/CodeGen/PowerPC/mi-peephole.mir create mode 100644 llvm/test/CodeGen/RISCV/addimm-mulimm.ll create mode 100644 llvm/test/CodeGen/X86/pr46527.ll create mode 100644 llvm/test/FileCheck/dump-input-context.txt create mode 100644 llvm/test/FileCheck/dump-input-filter.txt create mode 100644 llvm/test/MC/COFF/cgprofile.s delete mode 100644 llvm/test/Other/new-pm-cgprofile.ll create mode 100644 llvm/test/Reduce/remove-attributes-from-intrinsic-like-functions.ll create mode 100644 llvm/test/Reduce/remove-attributes-from-intrinsics.ll create mode 100644 llvm/test/Reduce/remove-call-site-attributes.ll create mode 100644 llvm/test/Reduce/remove-function-attributes.ll create mode 100644 llvm/test/Reduce/remove-global-variable-attributes.ll create mode 100644 llvm/test/Transforms/Attributor/allow_list.ll create mode 100644 llvm/test/Transforms/BDCE/sext_multi_uses.ll create mode 100644 llvm/test/Transforms/FixIrreducible/unreachable.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/widen-i32-i8ptr.ll create mode 100644 llvm/test/Transforms/InstCombine/merging-multiple-stores-into-s [...] create mode 100644 llvm/test/Transforms/LoopVectorize/pr46525-expander-insertpoint.ll create mode 100644 llvm/test/Transforms/OpenMP/dead_use.ll create mode 100644 llvm/test/Transforms/OpenMP/gpu_kernel_detection_remarks.ll create mode 100644 llvm/test/Transforms/OpenMP/gpu_state_machine_function_ptr_repl [...] rename llvm/test/Transforms/{IPConstantProp => SCCP}/2009-09-24-byval-ptr.ll (100%) rename llvm/test/Transforms/{IPConstantProp => SCCP}/PR16052.ll (100%) rename llvm/test/Transforms/{IPConstantProp => SCCP}/PR26044.ll (100%) rename llvm/test/Transforms/{IPConstantProp => SCCP}/dangling-block-address.ll (100%) rename llvm/test/Transforms/{IPConstantProp => SCCP}/fp-bc-icmp-const-fold.ll (100%) rename llvm/test/Transforms/{IPConstantProp => SCCP}/global.ll (100%) rename llvm/test/Transforms/{IPConstantProp => SCCP}/musttail-call.ll (100%) rename llvm/test/Transforms/{IPConstantProp => SCCP}/remove-call-inst.ll (100%) rename llvm/test/Transforms/{IPConstantProp => SCCP}/solve-after-each-resolving-un [...] rename llvm/test/Transforms/{IPConstantProp => SCCP}/user-with-multiple-uses.ll (100%) create mode 100644 llvm/test/Transforms/TailCallElim/tre-multiple-exits.ll create mode 100644 llvm/test/Transforms/TailCallElim/tre-noncapturing-alloca-calls.ll create mode 100644 llvm/test/Transforms/Util/PredicateInfo/branch-on-same-cond.ll create mode 100644 llvm/test/tools/llvm-dwarfdump/X86/debug_pub_tables_error_cases.s delete mode 100644 llvm/test/tools/llvm-objdump/ARM/lit.local.cfg rename llvm/test/tools/llvm-objdump/{ => ELF}/ARM/Inputs/debug.c (100%) rename llvm/test/tools/llvm-objdump/{ => ELF}/ARM/Inputs/wide-char.c (100%) rename llvm/test/tools/llvm-objdump/{ => ELF}/ARM/debug-vars-dwarf4-sections.s (100%) rename llvm/test/tools/llvm-objdump/{ => ELF}/ARM/debug-vars-dwarf4.s (100%) rename llvm/test/tools/llvm-objdump/{ => ELF}/ARM/debug-vars-dwarf5-sections.s (100%) rename llvm/test/tools/llvm-objdump/{ => ELF}/ARM/debug-vars-dwarf5.s (100%) rename llvm/test/tools/llvm-objdump/{ => ELF}/ARM/debug-vars-wide-chars.s (100%) rename llvm/test/tools/llvm-objdump/{ => ELF}/PowerPC/debug-vars.s (100%) rename llvm/test/tools/llvm-objdump/{ => ELF}/RISCV/lit.local.cfg (100%) rename llvm/test/tools/llvm-objdump/{ => ELF}/RISCV/unknown-arch-attr.test (100%) delete mode 100644 llvm/test/tools/llvm-objdump/PowerPC/lit.local.cfg create mode 100644 llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp rename llvm/{lib/Frontend/OpenMP/OMPConstants.cpp => tools/llvm-reduce/deltas/Redu [...] delete mode 100644 llvm/unittests/Analysis/OrderedInstructionsTest.cpp create mode 100644 mlir/docs/Bindings/Python.md create mode 100644 mlir/include/mlir/Dialect/StandardOps/IR/StandardOpsBase.td create mode 100644 mlir/lib/Bindings/CMakeLists.txt create mode 100644 mlir/lib/Bindings/Python/CMakeLists.txt create mode 100644 mlir/lib/Bindings/Python/MainModule.cpp create mode 100644 mlir/lib/Bindings/Python/mlir/__init__.py create mode 100644 mlir/lib/Bindings/Python/unix_version.lds create mode 100644 mlir/lib/Dialect/Affine/Transforms/AffineParallelize.cpp create mode 100644 mlir/test/Bindings/Python/lit.local.cfg create mode 100644 mlir/test/Bindings/Python/smoke_test.py create mode 100644 mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.invalid.mlir create mode 100644 mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.mlir delete mode 100644 mlir/test/Dialect/Affine/parallelism-detection.mlir create mode 100644 mlir/test/Dialect/Affine/parallelize.mlir delete mode 100644 mlir/test/lib/Dialect/Affine/TestParallelismDetection.cpp create mode 100644 mlir/test/lib/Reducer/CMakeLists.txt create mode 100644 mlir/test/lib/Reducer/MLIRTestReducer.cpp create mode 100644 mlir/test/mlir-reduce/test-reducer-pass.mlir create mode 100644 polly/test/ScheduleOptimizer/focaltech_test_detail_threshold-7bc17e.ll