This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-arm-stable-allnoconfig in repository toolchain/ci/llvm-project.
from a9ddcd6411b [InstCombine] Erase old add when optimizing add overflow adds 0c871400658 [InstCombine] Use replaceOperand() in assoc cast simplification adds 4e4ea2cde44 [MLIR] Add missing asserts in interchangeLoops util, doc co [...] adds 53d209076aa [InstCombine] Use replaceOperand() in demanded elements sim [...] adds 8253a86b65c [InstCombine] Erase old mul when creating umulo adds 8206c50cdec [X86] Add isAnyZero shuffle mask helper adds fe0723dc9d4 Fix -Wdocumentation warning. NFC. adds 9c8ec99c80a [X86][AVX] Combine 128/256-bit lane shuffles with zeroable [...] adds 15f1fe1506f clang-format fixes in ClangTidyDiagnosticConsumer.cpp and D [...] adds b9d9968f63a [clangd] Handle clang-tidy suppression comments for diagnos [...] adds 854f268ca62 [MC] Move deprecation infos from MCTargetDesc to MCInstrInfo adds 6628c525cba [gn build] Port 854f268ca62 adds 7c1a6873aa5 [ARM] VMOV.64 immediate tests. NFC adds 00c76f34962 [ELF][test] Improve arm-exidx-output.s to test different ou [...] adds a5458bb0d6b Don't claim template names that name non-templates are undeclared. adds 6e0afb5f108 [ARMMVE] Create fewer temporary SmallVectors adds 2451e4c5978 [X86] Add sse4.2 command lines to min/max reduction tests. adds 24562c6588b [InstCombine] Add tests for trunc (extelt x); (NFC) Baselin [...] adds d74533a18b8 [X86] Add sse4.1 RUNs lines to the min/max reduction cost m [...] adds 12f6b024f9f Revert "[libc++] NFC: Simplify substitutions by using lit r [...] adds 42dc667db24 [LLD][ELF] Put back rounding which was lost in 8404aeb56a73 [...] adds a94fa2c0494 [Coroutines 1/2] Improve symmetric control transfer feature adds 31a1d85c535 [Coroutines 2/2] Improve symmetric control transfer feature adds 9a7eda1bece PR45350: Handle unsized array CXXConstructExprs in constant [...] adds 05f0e598ab2 [LangRef] Clarify the semantics of branch on undef adds 3d44f48edc2 [mlir][Diagnostics] Don't print note source line if it is t [...] adds f86104bb68d [mlir][NFC] Use the auto-generated op documentation in the [...] adds 16f27b70a50 [mlir][NFC] Update dialect/op documentation to be consistent adds 4e0d9925d6a [NFC] Remove obsolete checks followed by fix of isGuarantee [...] adds b4695351cb4 [TTI][X86] Fix the value passed to IsUnsigned for cost mode [...] adds c9eaed51492 [ARM] MVE VMOV.i64 adds afcb77cc88a [Analyzer] Fix for incorrect use of container and iterator [...] adds eb90692d8a6 [Analyzer] Rename test `iterator-modelling.cpp` to `iterato [...] adds b91535f6c7b [Alignment][NFC] Return Align for SelectionDAGNodes::getOri [...] adds 53e7c8fdfaa [lldb][NFC] Cleanup TestFixIts.py adds 064ab22fb29 [lldb] Run TestFixIts on non-Darwin platforms adds 65c70313709 [mlir] Fix typos in DeclarativeRewrites.md adds dcc04e09cf6 [Analyzer][MallocChecker] No warning for kfree of ZERO_SIZE_PTR. adds f757ecbf856 [AST] Fix a crash on invalid bitwidth exprs when preserving [...] adds 94b195ff123 [ARM][LowOverheadLoops] Add horizontal reduction support adds 767a97b2233 [lldb][NFC] Cleanup Fix-It code adds 9aa884ccc26 [NFC] [PowerPC] Update and add tests for ori adds 83c81c0a469 [lldb] Make Fix-Its also apply to top-level expressions adds 84c1fbab5d7 [CVP] Add additional icmp for ranges with undef to test. adds c3b03f3d0c3 [AMDGPU] Drop const for value that is copied (NFC). adds 9e81249d761 [Matrix] Rename emitChainedMatrixMultiply to emitMatrixMult [...] adds 0574030c016 [clang-format] only parse C# generic type constraints in C# adds e95d04f4f19 [X86][AVX] lowerV4X128Shuffle - attempt to widen to 2x256 t [...] adds 821439a45a2 [llvm-readobj][test] - Simplify hash-symbols test. adds 502a06fcdaf [lldb] Make TestExprDiagnostics.py pass again after enablin [...] adds 3b20970de8e Fix unused-variable error when assertions are disabled adds 11a5caee2ae [lldb][NFC] Refactor Fix-It filter for warnings adds 9c9d88d8b1b [SystemZ] Allow configuring default CLANG_SYSTEMZ_ARCH adds 4cbfb98eb36 [llvm-readobj] - Improve test of --elf-hash-histogram option. adds 6f428e09fbe [AST] Fix crashes on decltype(recovery-expr). adds 01ba2ad9ef0 [Alignment][NFC] Provide tightened up functions in Selectio [...] adds 7ac9efb0c32 [OPENMP50]Add basic support for array-shaping operation. adds bc60cdcc3f8 [InstCombine] add test for trunc-extelt; NFC adds e9271a494fc Remove legacy CMake targets for libcxx and libcxxabi adds 135709aa901 [DebugInfo] Ensure dead store elimination can mark an opera [...] adds 7b00eeb53de [lldb] Fix another crash in covariant type handling adds 703a1b8caf0 [analyzer][MallocChecker][NFC] Split checkPostCall up, depl [...] adds 908f78f3c19 [lldb] Fix TestSettings.test_pass_host_env_vars on windows adds 3806b38045c [LLDB] Initialize temporary token adds 7899a111ea1 Revert "[Darwin] Respect -fno-unroll-loops during LTO." adds f6b2c003f36 [DebugInfo] Ensure that a demanded bits optimisation in In [...] adds 90a36bbd7c2 AMDGPU/GlobalISel: Legalize 64-bit G_UDIV/G_UREM adds bb009498c29 AMDGPU/GlobalISel: Hack to fix i24 argument lowering adds 67ebe5de57d [libc++] Avoid duplicating logic in the libcxx-specific fil [...] adds cc3b5590d2a GlobalISel: Minor cleanups adds 37889786b04 Revert "[lldb] Fix TestSettings.test_pass_host_env_vars on [...] adds bdf77209b98 [Alignment][NFC] Use Align version of getMachineMemOperand adds 1a1bb876dba [analyzer] Add core.CallAndMessage to StdCLibraryFunctionAr [...] adds ece79f47083 [X86] make sure POP has implicit def/use of stack pointer w [...] adds 2d19270efcf [ELF][test] Improve linkerscript/linkorder.s adds 32c9efb4230 [libc++] Add support for a new keyword ADDITIONAL_COMPILE_FLAGS adds 094b11c3ab4 [libc++] Fix wrong default value for LIBCXX_ENABLE_ASSERTIO [...] adds 673e81eee4f [ELF] Allow SHF_LINK_ORDER and non-SHF_LINK_ORDER to be mixed adds dcc410b5cf2 [LoopVectorize] Fix crash on "getNoopOrZeroExtend cannot tr [...] adds 3cbbded68c2 Introduce unify-loop-exits pass. adds 81194bfeea7 [Hexagon] MaxAtomicPromoteWidth and MaxAtomicInlineWidth ar [...] adds 7842e7ebbf3 [OPENMP50]Add codegen support for array shaping expression [...] adds 77ce2e21a87 [AMDGPU] Add Relocation Constant Support adds f273e5c5074 [MLIR] Fix permuteLoops utility adds c506adcdf2c Move CLANG_SYSTEMZ_DEFAULT_ARCH to config.h. adds 8242509a49e [gn build] Port 3cbbded68c2 adds 3ea0774b13a [ConstantFold][NFC] Compile time optimization for large vectors adds 20eb719f99c lld: Reduce number of references to undefined printed from [...] adds 23da702d69b GlobalISel: Translate llvm.fshl/llvm.fshr adds a87ca9e4af5 GlobalISel: Add accessor to known bits to CombinerHelper adds 63aaecd5beb [lldb/CMake] Make check-lldb-* work for the standalone build. adds a235215415d fix a comment grammar-o adds 24485aec475 [clang analysis] Make mutex guard detection more reliable. adds fa496ce3c67 [Intrinsic] Give "is.constant" the "convergent" attribute adds 4919f2e1c52 AMDGPU/GlobalISel: Basic legalize rules for G_FSHR adds 0af6d27e2ee Add /bigobj for SPIRV dialect on MSVC. adds 3c371491a2d Setup clang-format as an Arcanist linter adds defd95ef451 [analyzer] Fix StdLibraryFunctionsChecker NotNull Constraint Check adds 01c857bc83c [mlir] Update all dialects docs to use 'dialect-namespace' [...] adds 6f9f4fdd5b0 CodeGen: Add missing MachineOperand setter adds ced99a1a636 Fix comment for CLANG_SYSTEMZ_DEFAULT_ARCH adds bab5bcf8fd6 Add a flag on the context to protect against creation of op [...] adds d16ba9b0bd7 [lit] Use Python's support for None in array slice indexing adds 9eb1b41811c [llvm-cov] Improve error message for missing profdata adds de77d231275 [ADT] Allow empty string in StringSet adds f2fbdf76d8d [InstCombine] do not exclude min/max from icmp with casted [...] adds 111c9328554 Fix test: add `-allow-unregistered-dialect` to Affine/loop- [...] adds 4243bd494d6 [InstCombine] Update assertions in InstCombine test; NFC adds 4151f2d04ad Re-land "[FileCollector] Add a method to add a whole direct [...] adds fe5cb1c25fd Revert "[lldb] Make Fix-Its also apply to top-level expressions" adds 273b0d77660 Revert "[InstCombine] Update assertions in InstCombine test; NFC" adds 10f633db86b [TypeSystemClang] Add missing case in a switch. NFC'ish. adds 55ed09d32e2 Revert "[lldb] Make TestExprDiagnostics.py pass again after [...] adds 42d56098098 AMDGPU/GlobalISel: Start handling _L to _LZ optimization adds 2641ba52a9c AMDGPU/GlobalISel: Round up image operations with 5, 6 or 7 [...] adds a4f74f377b7 [OPENMP50]Do not imply lvalue as base expression in array s [...] adds 50f7153ddb6 Revert "[lldb][NFC] Refactor Fix-It filter for warnings" adds 751d5332bd6 [llvm][IR][CastInst] Update `castIsValid` for scalable vectors. adds cee65d51fe0 AMDGPU: Implement getMemcpyLoopLoweringType adds 075b610403a Recommit "[lldb] Make TestExprDiagnostics.py pass again aft [...] adds 06bb7df81c0 Recommit "[lldb] Make Fix-Its also apply to top-level expre [...] adds 570a578e46c AMDGPU: Account for dmask when computing image mem size adds 48eda37282d AMDGPU/GlobalISel: Start selecting image intrinsics adds bcb643c8af0 AMDGPU/GlobalISel: Handle image atomics adds b27d255e1e4 AMDGPU/GlobalISel: Form CVT_F32_UBYTE0 adds 19aec8c9049 Enforce that libc++ and libc++abi are built in a monorepo layout adds db9f0d1ce58 AMDGPU: Form v_cvt_ubyte* with f16 results adds 5227fa0c72c Recommit "[InstCombine] Update assertions in InstCombine te [...] adds 05b04c685c9 Recommit "[libc++] NFC: Simplify substitutions by using lit [...] adds d0dd24a381a AMDGPU/GlobalISel: Fix crashing on weird G_INSERT sources adds 38ddb49e524 [lldb/Reproducers] Always collect the whole dSYM in the reproducer adds 51475e40236 [ELF][test] Add linkerscript/linkorder-linked-to.s adds f0869417652 [SelectionDAGISel] small cleanup to INLINEASM_BR selection. NFC adds b8fc192d42a Revert "[GISel]: Fix incorrect IRTranslation while translat [...] adds cf36f9855a7 [SVE][SelectionDAG] Fix dumping of EVTs to use correct API [...] adds 63d70ea6a07 [GlobalISel] Combine (x op 0) -> x for operations with a ri [...] adds 5074776de47 [WebAssembly] Import wasm_simd128.h from Emscripten adds 33087323007 Fix crash if base specifier parsing hits an invalid type an [...] adds 764f54bb857 Rename options --cuda-gpu-arch and --no-cuda-gpu-arch adds 519f5c37962 [LegalizeTypes] Add SoftenFloatRes_FREEZE adds d5ee72065b9 [GlobalISel] Implement identity transforms for x op x -> x adds c26a352f239 [gn build] (manually) ort 5074776de47 adds 4ce375a8f2e [gn build] minor tweaks to sync script adds 3f5a5dd295f [gn build] re-run "gn format" on all .gn and .gni files adds 4eeb56d0887 [PowerPC] Don't do the folding if the operand is R0/X0 adds 221fa96cd43 Fix linalg.generic access of hoisted constants adds 357a17e298c [lit] Send back whole lit.Test object from worker process adds f3c329986cf [lit] Remove single process mode adds 1e8900cc828 [lit] Fix test that relied on "single process" mode adds ebad678857a [SampleFDO] Port MD5 name table support to extbinary format. adds 339b34266c1 [AVR] Respect the 'interrupt' function attribute adds 2a07221cf30 [SelectionDAG] Add an assert that the input VT and output V [...] adds 7b808b105f6 [AVR] Generalize the previous interrupt bugfix to signal ha [...] adds af3c52d5580 [Alignment][NFC] Simplify IRTranslator::getMemOpAlignment adds d2d6c9f5919 [Alignment][NFC] GlobalIsel Utils inferAlignFromPtrInfo adds bcbd60aeb5f [Mips] Make MipsBranchExpansion aware of BBIT family of branch adds 80ef5c56406 Remove unused variable adds 159343cd196 Fix missing override adds cdce2fe561e [Syntax] Remove delayed folding from tree building. adds 0de874adfbb [Alignment][NFC] Transition to inferAlignFromPtrInfo adds 86b40760278 [NFC] Remove unuseful infrastructure adds 581ba35291a [RISCV] ELF attribute section for RISC-V. adds 0c9c58ada0a [SCCP] Use constant ranges for casts. adds 0b6f40da458 [gn build] Port 581ba35291a adds 5d3a69feca1 [AMDGPU] New llvm.amdgcn.ballot intrinsic adds c9d5c195976 [Alignment][NFC] Transitionning more getMachineMemOperand c [...] adds 47107dc3bda [Statepoint] Fix StatepointLoweringInfo::GCTransitionArgs i [...] adds 2c5f43f9ddb [ARM] Fix qdadd operand order adds d30e9ad3451 Correct the duplicate pragma marks in CommandObjectTarget.cpp adds b6d2212f527 [Dexter] Add support for Windows to regression test suite. adds 464b9aeafe2 [InstCombine] Transform extelt-trunc -> bitcast-extelt adds 7a4a98a9c4f [X86] Move canLowerByDroppingEvenElements earlier to be wit [...] adds 98357dee1c6 [X86] Combine concat(palignr,palignr) -> palignr(concat,concat) adds b9810988b23 [Alignment][NFC] Transitionning more getMachineMemOperand c [...] adds 06c58f11a99 [SCEV] Use backedge SCEV of PHI only if its input is loop i [...] adds 6aacdd6083d [docs] Document coding standard for error and warning messages adds 0aa9c5429b8 [lld][ELF][test] Improve deplib.s adds b4d0384a6cd [ELF][test] Add test for --gc-sections + many sections adds b37543750c7 [ValueLattice] Distinguish between constant ranges with/wit [...] adds 2539b4ae476 [LLD][ELF] Allow empty (.init|.preinit|.fini)_array to be RELRO adds 6120cb42f79 [VPlan] Move test strs to variables, silence spurious C4129 (NFC). adds 3807079d705 [clang-tidy] Fix crash in readability-redundant-string-cstr adds 229cda968cb [LoopTerminology] LCSSA form adds 05bc588abbc [libc++] Do not rely on the environment to run filesystem tests adds 71177ac1680 [clangd] Support new semanticTokens request from LSP 3.16. adds fa61b5059a3 [InstCombine] remove stray auto-generated test comment; NFC adds d3a729ab247 [libc++] Set filesystem test flags in a lit.local.cfg adds fb47ffc618e [libc++] Provide a method for adding compiler flags in lit. [...] adds b632fe5a363 [libc++] Quote the filesystem static env root in the source [...] adds efe59d6717d [X86][SSE] lowerShuffleWithPACK - extend to use chained PAC [...] adds a9c22739e67 [libc++] Remove incorrect assertion in the filesystem tests adds 154d517bc7d [ADT] Implement the Waymarking as an independent utility adds e267dfceebd [gn build] Port 154d517bc7d adds 38619fa7da3 Fix enumeral mismatch warning. NFCI. adds 7e0e5fa499c Revert rGefe59d6717dcdf7777acb9b7a734e1a520bdf22a "[X86][SS [...] adds b3f13bc1657 [obj2yaml] - Teach tool to dump program headers. adds f481d488937 [SystemZ] Improve foldMemoryOperandImpl(). adds 665bebb46f5 [SystemZ] Add isCommutable flag on VFA and VFM. adds e26eece1e2e [lldb/DWARF] Fix evaluator crash when accessing empty stack. adds 34756a1c709 [libc++] Execute tests using an external shell adds 31a346cc35c [MLIR][Vector] Add support for TupleGetOp folding through I [...] adds e4a778052e9 Revert "[lldb/DWARF] Fix evaluator crash when accessing emp [...] adds f3a7d790df3 [lldb/DWARF] Fix evaluator crash when accessing empty stack. adds eb4663d8c6a [lld][COFF][ELF][WebAssembly] Replace --[no-]threads /threa [...] adds 7093b92a136 [AssumeBundles] Preserve Information from Load/Store adds 4aeb7e1ef4c [AssumeBundles] Preserve information in EarlyCSE adds c3ca11771e1 [libc++abi] Remove the old testit script adds 998118c3d3b [Alignment][NFC] Deprecate MachineMemOperand::getMachineMem [...] adds b0cd7b2799e [SCCP] Limit use of range info for binops to integers for now. adds da7b6fe942f [mlir][Linalg] Allow tiling of batch dimension for convolut [...] adds 21d9d0855be New symbolizer option to print files relative to the compil [...] adds 41c135d6d28 Fix buildgo.sh script to fix linux build failure due to cha [...] adds a76e68c9704 [CodeComplete] Member completion for concept-constrained types. adds cba15d1b5c5 Add manually overriding of the darwin SDK version adds 8b925440d11 [X86][SSE] Simplify PTEST/TESTP tests for D76984 adds 30436a1ce7f [X86][SSE] Add additional PTEST/TESTP inversion tests adds 753a3245f72 Make FunctionDecl::isDefined non-virtual, NFC adds 4799a1745b3 [llvm-symbolizer] Delete unneeded option name comments. NFC adds 94d912296de [NFC] Do not run CGProfilePass when not using integrated assembler adds 7fca0e9797d [MLIR] Add simple runner utilities for timing adds 5c2bf577dcd [lldb/API] Add missing reproducer instrumentation to GetHos [...] adds cb0fa3234da Fix 7093b92a136b0696cf9cfc3f9822973ed886be5b accidently pus [...] adds dc817b2dea9 [InstCombine] Deduce attributes for aligned_alloc in InstCombine adds c726c920e04 [SystemZ] Allow %r0 in address context for AsmParser new 75cfd382201 Revert "[lldb/Reproducers] Always collect the whole dSYM in [...] new 89fe36d08a9 [libc++] Make sure substitutions are expanded inside FILE_D [...] new 5f9bf3f6561 [MLIR][NFC] Move test/Transforms/lower-affine.mlir -> test/ [...] new 7b06cb45230 Add an opque payload field to lldb::Type (NFC). new 38aebe5c04a [libc++] Move a bunch of tests from .sh.cpp to .pass.cpp
The 5 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: .arclint | 12 + .../clang-tidy/ClangTidyDiagnosticConsumer.cpp | 87 +- .../clang-tidy/ClangTidyDiagnosticConsumer.h | 11 +- .../readability/RedundantStringCStrCheck.cpp | 59 +- clang-tools-extra/clangd/ClangdLSPServer.cpp | 31 + clang-tools-extra/clangd/ClangdLSPServer.h | 1 + clang-tools-extra/clangd/ClangdServer.cpp | 12 + clang-tools-extra/clangd/ClangdServer.h | 5 +- clang-tools-extra/clangd/ParsedAST.cpp | 9 +- clang-tools-extra/clangd/Protocol.cpp | 23 + clang-tools-extra/clangd/Protocol.h | 42 +- clang-tools-extra/clangd/SemanticHighlighting.cpp | 77 + clang-tools-extra/clangd/SemanticHighlighting.h | 20 +- .../clangd/test/initialize-params.test | 10 + clang-tools-extra/clangd/test/semantic-tokens.test | 22 + .../clangd/unittests/DiagnosticsTests.cpp | 29 +- .../clangd/unittests/SemanticHighlightingTests.cpp | 35 + .../checkers/readability-redundant-string-cstr.cpp | 24 + clang/CMakeLists.txt | 2 + clang/include/clang-c/Index.h | 6 +- clang/include/clang/AST/ASTContext.h | 2 +- clang/include/clang/AST/BuiltinTypes.def | 5 +- clang/include/clang/AST/ComputeDependence.h | 2 + clang/include/clang/AST/Decl.h | 2 +- clang/include/clang/AST/DependenceFlags.h | 9 +- clang/include/clang/AST/ExprOpenMP.h | 89 + clang/include/clang/AST/PrettyPrinter.h | 3 +- clang/include/clang/AST/RecursiveASTVisitor.h | 1 + clang/include/clang/AST/Type.h | 5 + clang/include/clang/Basic/CodeGenOptions.def | 1 + clang/include/clang/Basic/DiagnosticDriverKinds.td | 2 + clang/include/clang/Basic/DiagnosticSemaKinds.td | 15 +- clang/include/clang/Basic/StmtNodes.td | 1 + clang/include/clang/Config/config.h.cmake | 3 + clang/include/clang/Driver/Options.td | 10 +- clang/include/clang/Parse/Parser.h | 14 +- clang/include/clang/Sema/DeclSpec.h | 7 + clang/include/clang/Sema/Scope.h | 4 +- clang/include/clang/Sema/Sema.h | 36 +- clang/include/clang/Serialization/ASTBitCodes.h | 4 + .../clang/StaticAnalyzer/Checkers/Checkers.td | 2 +- clang/lib/AST/ASTContext.cpp | 9 +- clang/lib/AST/ComputeDependence.cpp | 9 + clang/lib/AST/Expr.cpp | 48 + clang/lib/AST/ExprClassification.cpp | 1 + clang/lib/AST/ExprConstant.cpp | 24 +- clang/lib/AST/ItaniumMangle.cpp | 1 + clang/lib/AST/NSAPI.cpp | 1 + clang/lib/AST/RecordLayoutBuilder.cpp | 3 +- clang/lib/AST/StmtPrinter.cpp | 11 + clang/lib/AST/StmtProfile.cpp | 4 + clang/lib/AST/Type.cpp | 3 + clang/lib/AST/TypeLoc.cpp | 1 + clang/lib/Analysis/ThreadSafety.cpp | 12 +- clang/lib/Basic/Targets/Hexagon.h | 1 + clang/lib/CodeGen/BackendUtil.cpp | 2 + clang/lib/CodeGen/CGOpenMPRuntime.cpp | 30 +- clang/lib/Driver/Driver.cpp | 10 +- clang/lib/Driver/ToolChains/Arch/SystemZ.cpp | 3 +- clang/lib/Driver/ToolChains/Darwin.cpp | 6 - clang/lib/Format/TokenAnnotator.cpp | 2 +- clang/lib/Frontend/CompilerInvocation.cpp | 1 + clang/lib/Headers/CMakeLists.txt | 1 + clang/lib/Headers/wasm_simd128.h | 1145 +++++++ clang/lib/Parse/ParseDecl.cpp | 26 +- clang/lib/Parse/ParseDeclCXX.cpp | 28 +- clang/lib/Parse/ParseExpr.cpp | 63 +- clang/lib/Parse/ParseExprCXX.cpp | 20 +- clang/lib/Parse/ParseObjc.cpp | 5 +- clang/lib/Parse/ParseTemplate.cpp | 4 +- clang/lib/Parse/Parser.cpp | 2 +- clang/lib/Sema/CodeCompleteConsumer.cpp | 43 +- clang/lib/Sema/SemaCodeComplete.cpp | 421 ++- clang/lib/Sema/SemaDecl.cpp | 4 + clang/lib/Sema/SemaExceptionSpec.cpp | 1 + clang/lib/Sema/SemaExpr.cpp | 77 + clang/lib/Sema/SemaOpenMP.cpp | 8 +- clang/lib/Sema/SemaTemplate.cpp | 30 +- clang/lib/Sema/SemaType.cpp | 6 + clang/lib/Sema/TreeTransform.h | 37 + clang/lib/Serialization/ASTCommon.cpp | 3 + clang/lib/Serialization/ASTReader.cpp | 3 + clang/lib/Serialization/ASTReaderStmt.cpp | 21 + clang/lib/Serialization/ASTWriterStmt.cpp | 13 + .../StaticAnalyzer/Checkers/ContainerModeling.cpp | 11 + .../Checkers/IdenticalExprChecker.cpp | 1 + .../lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 608 ++-- .../Checkers/StdLibraryFunctionsChecker.cpp | 3 + clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp | 10 +- clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 1 + clang/lib/Tooling/Syntax/BuildTree.cpp | 334 +- clang/lib/Tooling/Syntax/Tokens.cpp | 4 +- clang/test/AST/ast-dump-expr-errors.cpp | 6 +- clang/test/Analysis/analyzer-enabled-checkers.c | 2 +- ...essive-binary-operation-simplification-warn.cpp | 7 + ...ve-binary-operation-simplification-no-crash.cpp | 15 + ...terator-modelling.cpp => iterator-modeling.cpp} | 0 clang/test/Analysis/kmalloc-linux.c | 14 + clang/test/Analysis/loop-widening-notes.cpp | 2 +- clang/test/Analysis/malloc.cpp | 8 + clang/test/Analysis/std-c-library-functions.c | 8 + clang/test/CodeCompletion/concepts.cpp | 59 + clang/test/Driver/darwin-ld-lto-fno-unroll-loops.c | 17 - clang/test/OpenMP/depobj_ast_print.cpp | 9 +- clang/test/OpenMP/depobj_codegen.cpp | 25 +- clang/test/OpenMP/depobj_messages.cpp | 2 +- clang/test/OpenMP/parallel_reduction_messages.c | 4 +- clang/test/OpenMP/task_ast_print.cpp | 16 +- clang/test/OpenMP/task_codegen.c | 24 +- clang/test/OpenMP/task_depend_messages.cpp | 14 +- clang/test/Parser/cxx-class.cpp | 5 + clang/test/Preprocessor/hexagon-predefines.c | 15 + clang/test/Sema/invalid-bitwidth-expr.mm | 13 + clang/test/Sema/invalid-member.cpp | 12 +- clang/test/SemaCXX/constant-expression-cxx2a.cpp | 20 + clang/test/SemaCXX/pseudo-destructors.cpp | 13 + clang/test/SemaCXX/warn-thread-safety-analysis.cpp | 16 + clang/tools/libclang/CIndex.cpp | 2 + clang/tools/libclang/CXCursor.cpp | 4 + clang/unittests/Format/FormatTestCSharp.cpp | 8 + clang/unittests/Sema/CodeCompleteTest.cpp | 3 + clang/unittests/Tooling/Syntax/TreeTest.cpp | 71 +- clang/utils/TableGen/MveEmitter.cpp | 4 +- .../cmake/Modules/CompilerRTDarwinUtils.cmake | 7 +- compiler-rt/lib/tsan/go/buildgo.sh | 2 +- .../commands/penalty/expect_program_state.cpp | 6 +- .../commands/penalty/expect_step_kinds.cpp | 6 +- .../commands/penalty/expect_step_order.cpp | 6 +- .../commands/penalty/expect_watch_type.cpp | 11 +- .../commands/penalty/expect_watch_value.cpp | 7 +- .../feature_tests/commands/penalty/unreachable.cpp | 7 +- .../commands/perfect/expect_program_state.cpp | 7 +- .../perfect/expect_step_kind/direction.cpp | 9 +- .../commands/perfect/expect_step_kind/func.cpp | 6 +- .../perfect/expect_step_kind/func_external.cpp | 12 +- .../perfect/expect_step_kind/recursive.cpp | 6 +- .../perfect/expect_step_kind/small_loop.cpp | 6 +- .../commands/perfect/expect_step_order.cpp | 6 +- .../commands/perfect/expect_watch_type.cpp | 10 +- .../commands/perfect/expect_watch_value.cpp | 6 +- .../feature_tests/commands/perfect/unreachable.cpp | 6 +- .../dexter/feature_tests/subtools/view.cpp | 6 +- debuginfo-tests/lit.cfg.py | 29 + libcxx/CMakeLists.txt | 4 + libcxx/docs/BuildingLibcxx.rst | 4 +- libcxx/docs/TestingLibcxx.rst | 4 +- libcxx/include/CMakeLists.txt | 3 - libcxx/src/CMakeLists.txt | 1 - libcxx/test/CMakeLists.txt | 5 - ... exception_safety_exceptions_disabled.pass.cpp} | 5 +- ...ect_support.sh.cpp => dialect_support.pass.cpp} | 4 +- .../{version.sh.cpp => version.pass.cpp} | 4 +- ..._write_time.sh.cpp => last_write_time.pass.cpp} | 4 +- ...file_time.sh.cpp => convert_file_time.pass.cpp} | 3 +- .../libcxx/input.output/filesystems/lit.local.cfg | 9 +- ...ion.sh.cpp => new_faligned_allocation.pass.cpp} | 6 +- ...g.sh.cpp => fdelayed-template-parsing.pass.cpp} | 4 +- libcxx/test/libcxx/selftest/test.arc.fail.mm | 2 + libcxx/test/libcxx/selftest/test.arc.pass.mm | 2 + .../libcxx/selftest/test.file_dependencies.sh.cpp | 2 + .../test/libcxx/type_traits/is_pointer.arc.pass.mm | 2 + libcxx/test/lit.cfg | 2 - .../test/std/experimental/filesystem/lit.local.cfg | 2 +- .../support.coroutines/lit.local.cfg | 4 +- .../std/input.output/filesystems/lit.local.cfg | 10 + ...sized_delete_array_fsizeddeallocation.pass.cpp} | 4 +- ...pp => sized_delete_fsizeddeallocation.pass.cpp} | 4 +- .../test/support/filesystem_dynamic_test_helper.py | 19 +- libcxx/test/support/filesystem_test_helper.h | 58 +- libcxx/test/support/test_macros.h | 3 + libcxx/utils/libcxx/test/config.py | 24 - libcxx/utils/libcxx/test/format.py | 32 +- libcxx/utils/run.py | 2 +- libcxxabi/CMakeLists.txt | 4 + libcxxabi/src/CMakeLists.txt | 3 - libcxxabi/test/CMakeLists.txt | 3 - libcxxabi/test/testit | 126 - lld/COFF/Driver.cpp | 12 +- lld/COFF/Options.td | 6 +- lld/COFF/SymbolTable.cpp | 2 +- lld/Common/CMakeLists.txt | 1 - lld/Common/Filesystem.cpp | 2 +- lld/Common/Threads.cpp | 11 - lld/ELF/Driver.cpp | 16 +- lld/ELF/ICF.cpp | 2 +- lld/ELF/InputFiles.cpp | 12 +- lld/ELF/Options.td | 10 +- lld/ELF/OutputSections.cpp | 8 +- lld/ELF/Relocations.cpp | 2 +- lld/ELF/SyntheticSections.cpp | 18 +- lld/ELF/Writer.cpp | 30 +- lld/docs/ld.lld.1 | 11 +- lld/include/lld/Common/Threads.h | 8 +- lld/test/COFF/pdb-globals.test | 4 +- lld/test/COFF/undefined-symbol-multi.s | 9 +- lld/test/ELF/Inputs/deplibs-lib_bar.s | 2 - lld/test/ELF/Inputs/deplibs-lib_foo.s | 2 - lld/test/ELF/arm-exidx-link.s | 25 - lld/test/ELF/arm-exidx-output.s | 34 +- lld/test/ELF/build-id.s | 18 +- lld/test/ELF/deplibs-colon-prefix.s | 5 +- lld/test/ELF/deplibs.s | 82 +- lld/test/ELF/linkerscript/linkorder-linked-to.s | 74 + lld/test/ELF/linkerscript/linkorder.s | 70 +- lld/test/ELF/linkorder-err3.s | 17 - lld/test/ELF/lto/thinlto.ll | 12 + lld/test/ELF/many-alloc-sections.s | 76 +- lld/test/ELF/relocatable-linkorder.s | 36 - lld/test/ELF/relro-init-fini-script.s | 39 + lld/test/ELF/threads.s | 11 + lld/test/ELF/undef-multi.s | 14 +- lld/test/wasm/lto/thinlto.ll | 12 + lld/test/wasm/threads.s | 12 + lld/wasm/Driver.cpp | 16 +- lld/wasm/Options.td | 10 +- lldb/include/lldb/Symbol/Type.h | 14 +- lldb/source/API/SBPlatform.cpp | 7 +- lldb/source/Commands/CommandObjectTarget.cpp | 4 +- lldb/source/Expression/DWARFExpression.cpp | 6 + .../ExpressionParser/Clang/ClangASTImporter.cpp | 2 + .../Clang/ClangExpressionParser.cpp | 57 +- .../ExpressionParser/Clang/ClangUserExpression.cpp | 7 +- .../Language/CPlusPlus/CPlusPlusNameParser.cpp | 2 +- .../LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp | 2 +- .../Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 2 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 11 +- .../Plugins/TypeSystem/Clang/TypeSystemClang.cpp | 5 + .../Plugins/TypeSystem/Clang/TypeSystemClang.h | 23 +- lldb/source/Symbol/Type.cpp | 9 +- .../expression/diagnostics/TestExprDiagnostics.py | 6 +- .../API/commands/expression/fixits/TestFixIts.py | 34 +- .../TestCovariantReturnTypes.py | 2 + .../API/lang/cpp/covariant-return-types/main.cpp | 19 + lldb/test/CMakeLists.txt | 17 + lldb/unittests/Expression/DWARFExpressionTest.cpp | 4 + llvm/docs/CodingStandards.rst | 40 + llvm/docs/CommandGuide/llvm-symbolizer.rst | 30 +- llvm/docs/LangRef.rst | 39 +- llvm/docs/LoopTerminology.rst | 155 +- llvm/docs/Passes.rst | 9 +- llvm/include/llvm/ADT/StringSet.h | 1 - llvm/include/llvm/ADT/Waymarking.h | 325 ++ llvm/include/llvm/Analysis/LazyValueInfo.h | 4 +- llvm/include/llvm/Analysis/ValueLattice.h | 109 +- llvm/include/llvm/BinaryFormat/ELF.h | 2 + llvm/include/llvm/CodeGen/BasicTTIImpl.h | 4 +- .../llvm/CodeGen/GlobalISel/CombinerHelper.h | 11 + .../include/llvm/CodeGen/GlobalISel/IRTranslator.h | 10 +- llvm/include/llvm/CodeGen/GlobalISel/Utils.h | 4 +- llvm/include/llvm/CodeGen/MachineFunction.h | 19 +- llvm/include/llvm/CodeGen/MachineMemOperand.h | 3 +- llvm/include/llvm/CodeGen/MachineOperand.h | 5 + llvm/include/llvm/CodeGen/SelectionDAG.h | 97 +- llvm/include/llvm/CodeGen/SelectionDAGISel.h | 2 +- llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 8 +- llvm/include/llvm/IR/Constants.h | 7 +- llvm/include/llvm/IR/Intrinsics.td | 4 +- llvm/include/llvm/IR/IntrinsicsAMDGPU.td | 9 + llvm/include/llvm/IR/KnowledgeRetention.h | 5 + llvm/include/llvm/InitializePasses.h | 1 + llvm/include/llvm/LinkAllPasses.h | 3 +- llvm/include/llvm/MC/MCInstrDesc.h | 14 - llvm/include/llvm/MC/MCInstrInfo.h | 23 +- llvm/include/llvm/MC/MCObjectStreamer.h | 5 - llvm/include/llvm/Object/ELFObjectFile.h | 11 +- llvm/include/llvm/Passes/PassBuilder.h | 4 + llvm/include/llvm/ProfileData/SampleProf.h | 84 +- llvm/include/llvm/ProfileData/SampleProfReader.h | 35 +- llvm/include/llvm/ProfileData/SampleProfWriter.h | 26 +- llvm/include/llvm/Support/ARMAttributeParser.h | 37 +- llvm/include/llvm/Support/ARMBuildAttributes.h | 17 +- llvm/include/llvm/Support/ELFAttributeParser.h | 72 + llvm/include/llvm/Support/ELFAttributes.h | 37 + llvm/include/llvm/Support/FileCollector.h | 18 +- llvm/include/llvm/Support/Parallel.h | 6 + llvm/include/llvm/Support/RISCVAttributeParser.h | 38 + llvm/include/llvm/Support/RISCVAttributes.h | 44 + llvm/include/llvm/Support/TargetOpcodes.def | 6 + llvm/include/llvm/Target/GenericOpcodes.td | 16 + llvm/include/llvm/Target/GlobalISel/Combine.td | 19 +- .../llvm/Target/GlobalISel/SelectionDAGCompat.td | 2 + llvm/include/llvm/Transforms/Utils.h | 8 + .../llvm/Transforms/Utils/BasicBlockUtils.h | 76 + llvm/include/llvm/Transforms/Utils/Local.h | 7 + .../lib/Analysis/InstructionPrecedenceTracking.cpp | 21 +- llvm/lib/Analysis/LazyValueInfo.cpp | 29 +- llvm/lib/Analysis/ScalarEvolution.cpp | 7 +- llvm/lib/Analysis/ValueLattice.cpp | 8 +- llvm/lib/Analysis/ValueTracking.cpp | 8 +- llvm/lib/CodeGen/GlobalISel/CallLowering.cpp | 14 +- llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | 15 + llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 113 +- llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp | 2 + llvm/lib/CodeGen/GlobalISel/Utils.cpp | 9 +- llvm/lib/CodeGen/MIRParser/MIParser.cpp | 4 +- llvm/lib/CodeGen/MachineFunction.cpp | 14 +- llvm/lib/CodeGen/MachineOperand.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 12 +- .../CodeGen/SelectionDAG/LegalizeFloatTypes.cpp | 7 + llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h | 1 + .../CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 54 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 37 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 134 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 7 +- .../CodeGen/SelectionDAG/StatepointLowering.cpp | 22 +- llvm/lib/CodeGen/TargetInstrInfo.cpp | 6 +- llvm/lib/CodeGen/TargetLoweringBase.cpp | 2 +- llvm/lib/CodeGen/ValueTypes.cpp | 3 +- llvm/lib/IR/ConstantFold.cpp | 44 +- llvm/lib/IR/Constants.cpp | 10 +- llvm/lib/IR/Instructions.cpp | 70 +- llvm/lib/IR/KnowledgeRetention.cpp | 47 +- llvm/lib/LTO/LTOCodeGenerator.cpp | 5 - llvm/lib/MC/CMakeLists.txt | 1 + llvm/lib/MC/MCInstrDesc.cpp | 11 - llvm/lib/MC/MCInstrInfo.cpp | 27 + llvm/lib/Object/ELF.cpp | 3 + llvm/lib/Object/ELFObjectFile.cpp | 89 +- llvm/lib/ObjectYAML/ELFYAML.cpp | 3 + llvm/lib/Passes/PassBuilder.cpp | 8 +- llvm/lib/ProfileData/SampleProf.cpp | 1 + llvm/lib/ProfileData/SampleProfReader.cpp | 74 +- llvm/lib/ProfileData/SampleProfWriter.cpp | 32 +- llvm/lib/Support/ARMAttributeParser.cpp | 212 +- llvm/lib/Support/ARMBuildAttrs.cpp | 41 +- llvm/lib/Support/CMakeLists.txt | 4 + llvm/lib/Support/ELFAttributeParser.cpp | 233 ++ llvm/lib/Support/ELFAttributes.cpp | 34 + llvm/lib/Support/FileCollector.cpp | 56 +- llvm/lib/Support/Parallel.cpp | 8 +- llvm/lib/Support/RISCVAttributeParser.cpp | 67 + llvm/lib/Support/RISCVAttributes.cpp | 25 + llvm/lib/Target/AArch64/AArch64CallLowering.cpp | 8 +- llvm/lib/Target/AArch64/AArch64FastISel.cpp | 4 +- llvm/lib/Target/AArch64/AArch64FrameLowering.cpp | 36 +- llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 12 +- .../Target/AArch64/AArch64InstructionSelector.cpp | 11 +- llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp | 26 +- .../lib/Target/AArch64/AArch64SelectionDAGInfo.cpp | 2 +- llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp | 5 +- llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp | 37 +- llvm/lib/Target/AMDGPU/AMDGPUCallLowering.h | 2 +- llvm/lib/Target/AMDGPU/AMDGPUCombine.td | 9 +- llvm/lib/Target/AMDGPU/AMDGPUGISel.td | 5 + llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.h | 32 + llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | 21 +- .../Target/AMDGPU/AMDGPUInstructionSelector.cpp | 285 +- llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h | 6 + llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 340 +- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h | 4 +- .../Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp | 37 + llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 15 +- llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | 8 + .../Target/AMDGPU/AMDGPUTargetTransformInfo.cpp | 71 + llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h | 12 +- llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | 20 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 118 +- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 13 +- llvm/lib/Target/AMDGPU/SIInstructions.td | 8 + llvm/lib/Target/AMDGPU/SIPostRABundler.cpp | 2 +- llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | 24 +- llvm/lib/Target/ARC/ARCInstrInfo.cpp | 8 +- llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | 22 +- llvm/lib/Target/ARM/ARMCallLowering.cpp | 7 +- llvm/lib/Target/ARM/ARMFastISel.cpp | 19 +- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp | 2 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 50 +- llvm/lib/Target/ARM/ARMInstrInfo.cpp | 2 +- llvm/lib/Target/ARM/ARMInstrInfo.td | 7 +- llvm/lib/Target/ARM/ARMInstrMVE.td | 3 + llvm/lib/Target/ARM/ARMInstrThumb2.td | 4 +- llvm/lib/Target/ARM/ARMInstructionSelector.cpp | 16 +- llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp | 50 +- llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 6 +- .../lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp | 10 +- llvm/lib/Target/ARM/Thumb1InstrInfo.cpp | 4 +- llvm/lib/Target/ARM/Thumb2InstrInfo.cpp | 4 +- llvm/lib/Target/AVR/AVRFrameLowering.cpp | 17 +- llvm/lib/Target/AVR/AVRISelLowering.cpp | 8 +- llvm/lib/Target/AVR/AVRInstrInfo.cpp | 4 +- llvm/lib/Target/AVR/AVRMachineFunctionInfo.h | 20 +- llvm/lib/Target/AVR/AVRRegisterInfo.cpp | 13 +- llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp | 13 +- llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 8 +- llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp | 9 +- llvm/lib/Target/Hexagon/HexagonSplitDouble.cpp | 6 +- llvm/lib/Target/Hexagon/HexagonStoreWidening.cpp | 6 +- llvm/lib/Target/MSP430/MSP430InstrInfo.cpp | 4 +- llvm/lib/Target/Mips/MipsBranchExpansion.cpp | 21 +- llvm/lib/Target/Mips/MipsCallLowering.cpp | 14 +- llvm/lib/Target/Mips/MipsFastISel.cpp | 8 +- llvm/lib/Target/Mips/MipsInstrInfo.cpp | 4 +- llvm/lib/Target/Mips/MipsInstrInfo.h | 4 + llvm/lib/Target/Mips/MipsInstructionSelector.cpp | 10 +- llvm/lib/Target/Mips/MipsLegalizerInfo.cpp | 9 +- llvm/lib/Target/Mips/MipsSEInstrInfo.cpp | 14 + llvm/lib/Target/Mips/MipsSEInstrInfo.h | 2 + llvm/lib/Target/PowerPC/PPCFastISel.cpp | 12 +- llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 20 +- llvm/lib/Target/PowerPC/PPCISelLowering.h | 2 +- llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 11 +- llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp | 153 + .../Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp | 101 +- .../Target/RISCV/MCTargetDesc/RISCVELFStreamer.h | 88 +- .../RISCV/MCTargetDesc/RISCVTargetStreamer.cpp | 46 + .../RISCV/MCTargetDesc/RISCVTargetStreamer.h | 15 + llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp | 35 +- llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 4 +- llvm/lib/Target/Sparc/SparcInstrInfo.cpp | 4 +- .../Target/SystemZ/AsmParser/SystemZAsmParser.cpp | 62 +- llvm/lib/Target/SystemZ/SystemZInstrBuilder.h | 2 +- llvm/lib/Target/SystemZ/SystemZInstrFormats.td | 4 +- llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp | 5 +- llvm/lib/Target/SystemZ/SystemZInstrInfo.td | 4 +- llvm/lib/Target/SystemZ/SystemZInstrVector.td | 4 +- llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h | 27 - llvm/lib/Target/X86/X86CallLowering.cpp | 10 +- llvm/lib/Target/X86/X86FastISel.cpp | 12 +- llvm/lib/Target/X86/X86FrameLowering.cpp | 12 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 249 +- llvm/lib/Target/X86/X86InstrBuilder.h | 2 +- llvm/lib/Target/X86/X86InstrInfo.cpp | 4 +- llvm/lib/Target/X86/X86InstructionSelector.cpp | 2 +- llvm/lib/Target/XCore/XCoreFrameLowering.cpp | 2 +- llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp | 2 +- llvm/lib/Target/XCore/XCoreInstrInfo.cpp | 4 +- llvm/lib/Transforms/Coroutines/CoroSplit.cpp | 64 +- llvm/lib/Transforms/IPO/SampleProfile.cpp | 4 +- .../Transforms/InstCombine/InstCombineCalls.cpp | 104 +- .../Transforms/InstCombine/InstCombineCasts.cpp | 35 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 11 +- .../InstCombine/InstCombineSimplifyDemanded.cpp | 26 +- .../InstCombine/InstCombineVectorOps.cpp | 6 +- .../InstCombine/InstructionCombining.cpp | 8 +- .../Scalar/CorrelatedValuePropagation.cpp | 5 +- .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 2 +- llvm/lib/Transforms/Scalar/EarlyCSE.cpp | 9 + .../Transforms/Scalar/LowerMatrixIntrinsics.cpp | 10 +- llvm/lib/Transforms/Scalar/SCCP.cpp | 15 +- llvm/lib/Transforms/Scalar/StructurizeCFG.cpp | 38 +- llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | 220 ++ llvm/lib/Transforms/Utils/CMakeLists.txt | 1 + llvm/lib/Transforms/Utils/Local.cpp | 39 + llvm/lib/Transforms/Utils/UnifyLoopExits.cpp | 220 ++ llvm/lib/Transforms/Utils/Utils.cpp | 1 + llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 2 +- llvm/test/Analysis/CostModel/X86/reduce-fmax.ll | 19 +- llvm/test/Analysis/CostModel/X86/reduce-fmin.ll | 19 +- llvm/test/Analysis/CostModel/X86/reduce-smax.ll | 155 +- llvm/test/Analysis/CostModel/X86/reduce-smin.ll | 155 +- llvm/test/Analysis/CostModel/X86/reduce-umax.ll | 155 +- llvm/test/Analysis/CostModel/X86/reduce-umin.ll | 155 +- .../DivergenceAnalysis/AMDGPU/always_uniform.ll | 8 + llvm/test/Analysis/ScalarEvolution/pr44605.ll | 67 + .../CodeGen/AArch64/GlobalISel/arm64-fallback.ll | 6 +- .../GlobalISel/arm64-irtranslator-switch.ll | 124 +- .../AArch64/GlobalISel/arm64-irtranslator.ll | 27 +- .../GlobalISel/call-translator-tail-call.ll | 5 +- .../CodeGen/AArch64/GlobalISel/call-translator.ll | 3 +- .../AArch64/GlobalISel/irtranslator-exceptions.ll | 3 +- .../AArch64/GlobalISel/irtranslator-tbaa.ll | 4 +- .../GlobalISel/legalizer-info-validation.mir | 6 + .../prelegalizercombiner-binop-same-val.mir | 96 + .../prelegalizercombiner-trivial-arith.mir | 163 + .../CodeGen/AArch64/GlobalISel/select-constant.mir | 14 + .../CodeGen/AArch64/GlobalISel/translate-gep.ll | 5 +- .../CodeGen/AMDGPU/GlobalISel/combine-itofp.mir | 175 + .../AMDGPU/GlobalISel/image_ls_mipmap_zero.a16.ll | 717 ++++ .../AMDGPU/GlobalISel/image_ls_mipmap_zero.ll | 415 +++ .../CodeGen/AMDGPU/GlobalISel/inst-select-fshr.mir | 29 + .../GlobalISel/irtranslator-function-args.ll | 64 +- .../CodeGen/AMDGPU/GlobalISel/irtranslator-sat.ll | 16 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fshr.mir | 299 ++ .../legalize-llvm.amdgcn.image.atomic.dim.a16.ll | 24 +- .../legalize-llvm.amdgcn.image.load.2d.d16.ll | 60 +- .../legalize-llvm.amdgcn.image.load.2d.ll | 30 +- .../CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir | 1851 ++++++++++- .../CodeGen/AMDGPU/GlobalISel/legalize-urem.mir | 1770 +++++++++- .../GlobalISel/llvm.amdgcn.image.atomic.dim.a16.ll | 1637 +++++++++ .../GlobalISel/llvm.amdgcn.image.atomic.dim.ll | 2107 ++++++++++++ .../llvm.amdgcn.image.gather4.a16.dim.ll | 1608 ++++----- .../GlobalISel/llvm.amdgcn.image.gather4.dim.ll | 1638 ++++------ .../GlobalISel/llvm.amdgcn.image.gather4.o.dim.ll | 1172 +++---- .../GlobalISel/llvm.amdgcn.image.getresinfo.a16.ll | 301 ++ .../GlobalISel/llvm.amdgcn.image.getresinfo.ll | 418 +++ .../GlobalISel/llvm.amdgcn.image.load.1d.d16.ll | 824 +++++ .../AMDGPU/GlobalISel/llvm.amdgcn.image.load.1d.ll | 746 +++++ .../AMDGPU/GlobalISel/llvm.amdgcn.image.load.2d.ll | 133 + .../llvm.amdgcn.image.load.2darraymsaa.a16.ll | 159 + .../llvm.amdgcn.image.load.2darraymsaa.ll | 133 + .../GlobalISel/llvm.amdgcn.image.load.3d.a16.ll | 159 + .../AMDGPU/GlobalISel/llvm.amdgcn.image.load.3d.ll | 133 + .../llvm.amdgcn.image.sample.ltolz.a16.ll | 582 ++++ .../GlobalISel/llvm.amdgcn.image.sample.ltolz.ll | 420 +++ .../GlobalISel/llvm.amdgcn.image.store.2d.d16.ll | 118 + .../GlobalISel/llvm.amdgcn.image.store.2d.ll | 451 +++ .../AMDGPU/GlobalISel/regbankselect-fshr.mir | 152 + llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll | 3456 ++++++++++++++++++++ llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll | 3427 +++++++++++++++++++ .../CodeGen/AMDGPU/amdgcn-load-offset-from-reg.ll | 62 + llvm/test/CodeGen/AMDGPU/amdgpu-reloc-const.ll | 30 + .../CodeGen/AMDGPU/atomic_optimizations_buffer.ll | 22 +- .../AMDGPU/atomic_optimizations_global_pointer.ll | 50 +- .../AMDGPU/atomic_optimizations_local_pointer.ll | 627 ++-- .../AMDGPU/atomic_optimizations_pixelshader.ll | 34 +- .../AMDGPU/atomic_optimizations_raw_buffer.ll | 22 +- .../AMDGPU/atomic_optimizations_struct_buffer.ll | 22 +- llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll | 10 +- llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ballot.i32.ll | 93 + llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ballot.i64.ll | 88 + llvm/test/CodeGen/AMDGPU/loop_break.ll | 2 +- llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll | 1431 +++++++- llvm/test/CodeGen/ARM/acle-intrinsics-v5.ll | 2 +- llvm/test/CodeGen/ARM/freeze-soften.ll | 16 + llvm/test/CodeGen/ARM/qdadd.ll | 8 +- llvm/test/CodeGen/AVR/interrupts.ll | 35 + .../CodeGen/Mips/longbranch/long-branch-octeon.ll | 105 + .../CodeGen/PowerPC/fold-frame-offset-using-rr.mir | 13 + llvm/test/CodeGen/PowerPC/ori_imm32.ll | 83 +- llvm/test/CodeGen/PowerPC/ori_imm64.ll | 52 + llvm/test/CodeGen/RISCV/attributes.ll | 28 + llvm/test/CodeGen/SystemZ/foldmemop-msc.mir | 219 ++ .../test/CodeGen/Thumb2/LowOverheadLoops/vaddv.mir | 122 +- llvm/test/CodeGen/Thumb2/mve-gather-ptrs.ll | 10 +- llvm/test/CodeGen/Thumb2/mve-masked-ldst.ll | 74 +- llvm/test/CodeGen/Thumb2/mve-sext.ll | 10 +- llvm/test/CodeGen/Thumb2/mve-vecreduce-add.ll | 100 +- llvm/test/CodeGen/Thumb2/mve-vecreduce-mla.ll | 66 +- llvm/test/CodeGen/Thumb2/mve-vmovimm.ll | 667 +++- llvm/test/CodeGen/X86/combine-ptest.ll | 158 +- llvm/test/CodeGen/X86/combine-testpd.ll | 92 +- llvm/test/CodeGen/X86/combine-testps.ll | 92 +- llvm/test/CodeGen/X86/materialize.ll | 20 + llvm/test/CodeGen/X86/vector-reduce-mul.ll | 74 +- llvm/test/CodeGen/X86/vector-reduce-smax.ll | 432 ++- llvm/test/CodeGen/X86/vector-reduce-smin.ll | 434 ++- llvm/test/CodeGen/X86/vector-reduce-umax.ll | 464 ++- llvm/test/CodeGen/X86/vector-reduce-umin.ll | 422 ++- llvm/test/CodeGen/X86/vector-shuffle-512-v8.ll | 44 +- llvm/test/CodeGen/X86/x86-interleaved-access.ll | 9 +- .../X86/dead-store-elimination-marks-undef.ll | 36 + .../X86/instcombine-demanded-bits-salvage.ll | 38 + llvm/test/IR/assume-builder.ll | 258 ++ llvm/test/MC/RISCV/attribute-arch.s | 37 + llvm/test/MC/RISCV/attribute-with-insts.s | 34 + llvm/test/MC/RISCV/attribute.s | 22 + llvm/test/MC/RISCV/invalid-attribute.s | 31 + llvm/test/MC/SystemZ/insn-bad-z13.s | 48 - llvm/test/MC/SystemZ/insn-bad-z14.s | 18 - llvm/test/MC/SystemZ/insn-bad-z196.s | 12 - llvm/test/MC/SystemZ/insn-bad-zEC12.s | 12 - llvm/test/MC/SystemZ/insn-bad.s | 221 -- llvm/test/MC/SystemZ/insn-good.s | 52 +- llvm/test/MC/SystemZ/regs-bad.s | 17 - llvm/test/MC/SystemZ/tokens.s | 9 - llvm/test/Object/obj2yaml.test | 14 + llvm/test/Other/new-pm-cgprofile.ll | 11 + llvm/test/TableGen/address-space-patfrags.td | 2 +- .../Transforms/Coroutines/coro-split-musttail2.ll | 68 + .../Transforms/Coroutines/coro-split-musttail3.ll | 101 + .../merge-range-and-undef.ll | 92 +- llvm/test/Transforms/EarlyCSE/guards.ll | 361 +- llvm/test/Transforms/EarlyCSE/invariant-loads.ll | 174 +- llvm/test/Transforms/EarlyCSE/invariant.start.ll | 345 +- .../InstCombine/AMDGPU/amdgcn-intrinsics.ll | 59 + llvm/test/Transforms/InstCombine/ExtractCast.ll | 36 +- .../Transforms/InstCombine/adjust-for-minmax.ll | 96 +- .../test/Transforms/InstCombine/deref-alloc-fns.ll | 27 +- .../Transforms/InstCombine/malloc-free-delete.ll | 11 + llvm/test/Transforms/InstCombine/select_meta.ll | 6 +- .../Transforms/InstCombine/trunc-extractelement.ll | 178 + llvm/test/Transforms/JumpThreading/is_constant.ll | 40 + llvm/test/Transforms/LoopVectorize/pr45259.ll | 36 + llvm/test/Transforms/SCCP/ip-ranges-casts.ll | 313 ++ llvm/test/Transforms/SCCP/phi-cycle.ll | 33 + llvm/test/Transforms/SCCP/range-and-ip.ll | 9 +- llvm/test/Transforms/SCCP/range-and.ll | 14 +- .../SampleProfile/Inputs/inline.md5extbinary.afdo | Bin 0 -> 344 bytes .../Transforms/SampleProfile/profile-format.ll | 2 + .../workarounds/needs-unified-loop-exits.ll | 173 + llvm/test/Transforms/UnifyLoopExits/basic.ll | 109 + llvm/test/Transforms/UnifyLoopExits/nested.ll | 80 + llvm/test/Transforms/UnifyLoopExits/restore-ssa.ll | 238 ++ llvm/test/Transforms/UnifyLoopExits/switch.ll | 68 + llvm/test/tools/llvm-cov/misssing-profdata.test | 2 + .../test/tools/llvm-lto/fno-unroll-loops-option.ll | 34 - .../llvm-objdump}/RISCV/lit.local.cfg | 0 .../llvm-objdump/RISCV/unknown-arch-attr.test | 38 + llvm/test/tools/llvm-profdata/roundtrip.test | 8 + .../tools/llvm-readobj/ELF/hash-histogram.test | 41 +- llvm/test/tools/llvm-readobj/ELF/hash-symbols.test | 100 +- llvm/test/tools/llvm-symbolizer/relativenames.s | 18 + llvm/test/tools/obj2yaml/program-headers.yaml | 421 +++ llvm/tools/llc/llc.cpp | 1 + llvm/tools/llvm-cov/CodeCoverage.cpp | 4 +- llvm/tools/llvm-profdata/llvm-profdata.cpp | 36 +- llvm/tools/llvm-readobj/ELFDumper.cpp | 2 +- llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp | 16 +- llvm/tools/obj2yaml/elf2yaml.cpp | 54 +- llvm/unittests/ADT/CMakeLists.txt | 1 + llvm/unittests/ADT/StringSetTest.cpp | 11 + llvm/unittests/ADT/WaymarkingTest.cpp | 142 + .../CodeGen/GlobalISel/LegalizerHelperTest.cpp | 4 +- .../CodeGen/GlobalISel/MachineIRBuilderTest.cpp | 7 +- llvm/unittests/CodeGen/MachineInstrTest.cpp | 32 +- llvm/unittests/IR/InstructionsTest.cpp | 79 + llvm/unittests/ProfileData/SampleProfTest.cpp | 30 +- llvm/unittests/Support/ARMAttributeParser.cpp | 35 +- llvm/unittests/Support/CMakeLists.txt | 2 + llvm/unittests/Support/ELFAttributeParserTest.cpp | 63 + llvm/unittests/Support/FileCollectorTest.cpp | 35 + .../unittests/Support/RISCVAttributeParserTest.cpp | 70 + llvm/unittests/Target/ARM/MachineInstrTest.cpp | 12 + .../Transforms/Vectorize/VPlanHCFGTest.cpp | 6 +- llvm/unittests/Transforms/Vectorize/VPlanTest.cpp | 6 +- llvm/utils/TableGen/AsmMatcherEmitter.cpp | 2 +- llvm/utils/TableGen/CodeGenDAGPatterns.cpp | 4 +- llvm/utils/TableGen/InstrInfoEmitter.cpp | 95 +- .../utils/gn/build/sync_source_lists_from_cmake.py | 4 +- llvm/utils/gn/build/write_cmake_config.py | 2 +- .../secondary/clang/include/clang/Config/BUILD.gn | 1 + llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn | 3 +- llvm/utils/gn/secondary/lld/Common/BUILD.gn | 1 - llvm/utils/gn/secondary/llvm/lib/MC/BUILD.gn | 1 + llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn | 4 + .../utils/gn/secondary/llvm/lib/Target/targets.gni | 6 +- .../secondary/llvm/lib/Transforms/Utils/BUILD.gn | 1 + .../utils/gn/secondary/llvm/unittests/ADT/BUILD.gn | 1 + .../gn/secondary/llvm/unittests/MC/AMDGPU/BUILD.gn | 1 + .../gn/secondary/llvm/unittests/Support/BUILD.gn | 2 + llvm/utils/lit/lit/Test.py | 14 + llvm/utils/lit/lit/formats/shtest.py | 9 +- llvm/utils/lit/lit/main.py | 7 +- llvm/utils/lit/lit/run.py | 74 +- llvm/utils/lit/lit/worker.py | 39 +- llvm/utils/lit/tests/Inputs/shtest-inject/lit.cfg | 15 +- llvm/utils/lit/tests/shtest-inject.py | 3 +- mlir/docs/DeclarativeRewrites.md | 4 +- mlir/docs/Dialects/Affine.md | 200 +- mlir/docs/Dialects/GPU.md | 97 +- mlir/docs/Dialects/LLVM.md | 2 +- mlir/docs/Dialects/Linalg.md | 6 +- mlir/docs/Dialects/SPIR-V.md | 2 +- mlir/docs/Dialects/Standard.md | 1095 +------ mlir/docs/Dialects/Vector.md | 2 +- mlir/docs/Passes.md | 24 +- mlir/include/mlir/Dialect/Affine/IR/AffineOps.td | 212 +- mlir/include/mlir/Dialect/Affine/IR/CMakeLists.txt | 2 +- mlir/include/mlir/Dialect/GPU/CMakeLists.txt | 4 +- mlir/include/mlir/Dialect/GPU/GPUOps.td | 92 +- mlir/include/mlir/Dialect/Linalg/IR/CMakeLists.txt | 3 +- mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td | 32 +- .../mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 226 +- mlir/include/mlir/Dialect/LoopOps/LoopOps.td | 95 +- mlir/include/mlir/Dialect/Quant/QuantOps.td | 30 +- mlir/include/mlir/Dialect/Shape/IR/CMakeLists.txt | 7 +- .../mlir/Dialect/StandardOps/IR/CMakeLists.txt | 2 + mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 1166 +++++-- mlir/include/mlir/Dialect/Vector/VectorOps.td | 391 +-- mlir/include/mlir/Dialect/Vector/VectorUtils.h | 3 + mlir/include/mlir/IR/Diagnostics.h | 3 +- mlir/include/mlir/IR/MLIRContext.h | 6 + mlir/include/mlir/Support/MlirOptMain.h | 2 +- mlir/include/mlir/Transforms/LoopUtils.h | 19 +- mlir/lib/Analysis/Verifier.cpp | 13 +- .../AffineToStandard/AffineToStandard.cpp | 2 +- .../Dialect/Linalg/Transforms/LinalgToLoops.cpp | 2 +- mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp | 23 +- mlir/lib/Dialect/SPIRV/CMakeLists.txt | 4 + mlir/lib/Dialect/Vector/VectorTransforms.cpp | 129 +- mlir/lib/Dialect/Vector/VectorUtils.cpp | 46 +- mlir/lib/ExecutionEngine/RunnerUtils.cpp | 23 + mlir/lib/IR/Diagnostics.cpp | 46 +- mlir/lib/IR/MLIRContext.cpp | 17 + mlir/lib/Support/MlirOptMain.cpp | 10 +- mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp | 2 +- mlir/lib/Transforms/Utils/LoopUtils.cpp | 107 +- mlir/test/CMakeLists.txt | 1 + .../AffineToStandard}/lower-affine.mlir | 0 .../GPUToCUDA/lower-launch-func-to-cuda.mlir | 2 +- .../Conversion/GPUToNVVM/memory-attrbution.mlir | 2 +- mlir/test/Conversion/GPUToSPIRV/simple.mlir | 2 +- .../StandardToLLVM/standard-to-llvm.mlir | 2 +- .../Conversion/StandardToSPIRV/std-to-spirv.mlir | 2 +- .../Affine/SuperVectorize/compose_maps.mlir | 2 +- mlir/test/Dialect/Affine/canonicalize.mlir | 2 +- mlir/test/Dialect/Affine/dma-generate.mlir | 4 +- mlir/test/Dialect/Affine/inlining.mlir | 2 +- mlir/test/Dialect/Affine/invalid.mlir | 2 +- mlir/test/Dialect/Affine/loop-permute.mlir | 47 + mlir/test/Dialect/Affine/loop-tiling.mlir | 6 +- mlir/test/Dialect/Affine/ops.mlir | 4 +- .../test/Dialect/Affine/parallelism-detection.mlir | 2 +- .../Dialect/Affine/simplify-affine-structures.mlir | 2 +- mlir/test/Dialect/Affine/slicing-utils.mlir | 6 +- mlir/test/Dialect/Affine/unroll-jam.mlir | 4 +- mlir/test/Dialect/Affine/unroll.mlir | 8 +- mlir/test/Dialect/GPU/ops.mlir | 2 +- mlir/test/Dialect/GPU/outlining.mlir | 2 +- mlir/test/Dialect/GPU/promotion.mlir | 2 +- mlir/test/Dialect/LLVMIR/invalid.mlir | 2 +- mlir/test/Dialect/Linalg/loops.mlir | 21 + mlir/test/Dialect/Linalg/tile_conv_padding.mlir | 40 + mlir/test/Dialect/Loops/invalid.mlir | 2 +- mlir/test/Dialect/Loops/parallel-loop-fusion.mlir | 2 +- mlir/test/Dialect/Quant/parse-any.mlir | 2 +- mlir/test/Dialect/Quant/parse-ops-invalid.mlir | 2 +- mlir/test/Dialect/Quant/parse-uniform.mlir | 2 +- mlir/test/Dialect/Quant/quant_region.mlir | 2 +- mlir/test/Dialect/SPIRV/control-flow-ops.mlir | 2 +- mlir/test/Dialect/SPIRV/ops.mlir | 2 +- mlir/test/Dialect/SPIRV/structure-ops.mlir | 2 +- mlir/test/Dialect/Vector/vector-transforms.mlir | 89 + mlir/test/EDSC/builder-api-test.cpp | 1 + mlir/test/IR/affine-map.mlir | 2 +- mlir/test/IR/core-ops.mlir | 6 +- mlir/test/IR/dense-elements-hex.mlir | 4 +- mlir/test/IR/diagnostic-handler.mlir | 6 +- mlir/test/IR/invalid-ops.mlir | 2 +- mlir/test/IR/invalid.mlir | 2 +- mlir/test/IR/locations.mlir | 2 +- mlir/test/IR/module-op.mlir | 2 +- mlir/test/IR/op-stats.mlir | 2 +- mlir/test/IR/opaque_locations.mlir | 2 +- mlir/test/IR/parser.mlir | 2 +- mlir/test/IR/pretty-locations.mlir | 2 +- mlir/test/IR/pretty-region-args.mlir | 2 +- mlir/test/IR/print-op-local-scope.mlir | 2 +- mlir/test/IR/region.mlir | 2 +- mlir/test/IR/test-symbol-dce.mlir | 4 +- mlir/test/IR/test-symbol-rauw.mlir | 2 +- mlir/test/IR/test-symbol-uses.mlir | 2 +- mlir/test/IR/traits.mlir | 2 +- mlir/test/IR/wrapping_op.mlir | 4 +- mlir/test/Transforms/canonicalize-dce.mlir | 2 +- mlir/test/Transforms/canonicalize.mlir | 2 +- mlir/test/Transforms/constant-fold.mlir | 2 +- mlir/test/Transforms/cse.mlir | 2 +- mlir/test/Transforms/inlining-dce.mlir | 2 +- mlir/test/Transforms/location-snapshot.mlir | 4 +- mlir/test/Transforms/loop-coalescing.mlir | 2 +- .../Transforms/loop-fusion-dependence-check.mlir | 2 +- mlir/test/Transforms/loop-fusion.mlir | 4 +- mlir/test/Transforms/memref-dataflow-opt.mlir | 2 +- mlir/test/Transforms/parallel-loop-collapsing.mlir | 2 +- mlir/test/Transforms/parametric-mapping.mlir | 2 +- mlir/test/Transforms/pipeline-data-transfer.mlir | 2 +- .../single-parallel-loop-collapsing.mlir | 2 +- mlir/test/Transforms/strip-debuginfo.mlir | 2 +- mlir/test/Transforms/test-canonicalize.mlir | 2 +- mlir/test/Transforms/test-inlining.mlir | 2 +- mlir/test/Transforms/test-legalizer-analysis.mlir | 2 +- mlir/test/Transforms/test-legalizer-full.mlir | 2 +- mlir/test/Transforms/test-legalizer.mlir | 2 +- mlir/test/lib/Dialect/Affine/CMakeLists.txt | 1 + .../lib/Dialect/Affine/TestLoopPermutation.cpp | 67 + mlir/test/lit.cfg.py | 3 +- mlir/test/lit.site.cfg.py.in | 1 + mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir | 71 + mlir/test/mlir-tblgen/op-format.mlir | 2 +- mlir/tools/mlir-opt/mlir-opt.cpp | 9 +- mlir/tools/mlir-translate/mlir-translate.cpp | 1 + mlir/unittests/IR/OperationSupportTest.cpp | 9 +- utils/arcanist/clang-format.sh | 59 + 764 files changed, 43492 insertions(+), 11362 deletions(-) create mode 100644 .arclint create mode 100644 clang-tools-extra/clangd/test/semantic-tokens.test create mode 100644 clang/lib/Headers/wasm_simd128.h create mode 100644 clang/test/Analysis/container-modeling-no-aggressive-binary-ope [...] create mode 100644 clang/test/Analysis/iterator-modeling-no-aggressive-binary-oper [...] rename clang/test/Analysis/{iterator-modelling.cpp => iterator-modeling.cpp} (100%) create mode 100644 clang/test/CodeCompletion/concepts.cpp delete mode 100644 clang/test/Driver/darwin-ld-lto-fno-unroll-loops.c create mode 100644 clang/test/Sema/invalid-bitwidth-expr.mm rename libcxx/test/libcxx/containers/sequences/vector/{exception_safety_exceptions [...] rename libcxx/test/libcxx/experimental/language.support/support.coroutines/{dialec [...] rename libcxx/test/libcxx/experimental/language.support/support.coroutines/{versio [...] rename libcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory [...] rename libcxx/test/libcxx/input.output/filesystems/{convert_file_time.sh.cpp => co [...] rename libcxx/test/libcxx/language.support/support.dynamic/{new_faligned_allocatio [...] rename libcxx/test/libcxx/numerics/c.math/{fdelayed-template-parsing.sh.cpp => fde [...] rename libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.arra [...] rename libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.sing [...] delete mode 100755 libcxxabi/test/testit delete mode 100644 lld/Common/Threads.cpp delete mode 100644 lld/test/ELF/Inputs/deplibs-lib_bar.s delete mode 100644 lld/test/ELF/Inputs/deplibs-lib_foo.s delete mode 100644 lld/test/ELF/arm-exidx-link.s create mode 100644 lld/test/ELF/linkerscript/linkorder-linked-to.s delete mode 100644 lld/test/ELF/linkorder-err3.s delete mode 100644 lld/test/ELF/relocatable-linkorder.s create mode 100644 lld/test/ELF/relro-init-fini-script.s create mode 100644 lld/test/ELF/threads.s create mode 100644 lld/test/wasm/threads.s create mode 100644 llvm/include/llvm/ADT/Waymarking.h create mode 100644 llvm/include/llvm/Support/ELFAttributeParser.h create mode 100644 llvm/include/llvm/Support/ELFAttributes.h create mode 100644 llvm/include/llvm/Support/RISCVAttributeParser.h create mode 100644 llvm/include/llvm/Support/RISCVAttributes.h create mode 100644 llvm/lib/MC/MCInstrInfo.cpp create mode 100644 llvm/lib/Support/ELFAttributeParser.cpp create mode 100644 llvm/lib/Support/ELFAttributes.cpp create mode 100644 llvm/lib/Support/RISCVAttributeParser.cpp create mode 100644 llvm/lib/Support/RISCVAttributes.cpp create mode 100644 llvm/lib/Transforms/Utils/UnifyLoopExits.cpp create mode 100644 llvm/test/Analysis/ScalarEvolution/pr44605.ll create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-binop [...] create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-trivi [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/combine-itofp.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/image_ls_mipmap_zero.a16.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/image_ls_mipmap_zero.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fshr.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fshr.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.atomic.di [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.atomic.dim.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.getresinf [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.getresinfo.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.1d.d16.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.1d.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.2d.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.2dar [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.2dar [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.3d.a16.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.3d.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.lt [...] create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.ltolz.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.store.2d.d16.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.store.2d.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-fshr.mir create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll create mode 100644 llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll create mode 100644 llvm/test/CodeGen/AMDGPU/amdgcn-load-offset-from-reg.ll create mode 100644 llvm/test/CodeGen/AMDGPU/amdgpu-reloc-const.ll create mode 100644 llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ballot.i32.ll create mode 100644 llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ballot.i64.ll create mode 100644 llvm/test/CodeGen/ARM/freeze-soften.ll create mode 100644 llvm/test/CodeGen/Mips/longbranch/long-branch-octeon.ll create mode 100644 llvm/test/CodeGen/PowerPC/ori_imm64.ll create mode 100644 llvm/test/CodeGen/RISCV/attributes.ll create mode 100644 llvm/test/CodeGen/SystemZ/foldmemop-msc.mir create mode 100644 llvm/test/DebugInfo/X86/dead-store-elimination-marks-undef.ll create mode 100644 llvm/test/DebugInfo/X86/instcombine-demanded-bits-salvage.ll create mode 100644 llvm/test/MC/RISCV/attribute-arch.s create mode 100644 llvm/test/MC/RISCV/attribute-with-insts.s create mode 100644 llvm/test/MC/RISCV/attribute.s create mode 100644 llvm/test/MC/RISCV/invalid-attribute.s create mode 100644 llvm/test/Other/new-pm-cgprofile.ll create mode 100644 llvm/test/Transforms/Coroutines/coro-split-musttail2.ll create mode 100644 llvm/test/Transforms/Coroutines/coro-split-musttail3.ll create mode 100644 llvm/test/Transforms/InstCombine/trunc-extractelement.ll create mode 100644 llvm/test/Transforms/JumpThreading/is_constant.ll create mode 100644 llvm/test/Transforms/LoopVectorize/pr45259.ll create mode 100644 llvm/test/Transforms/SCCP/ip-ranges-casts.ll create mode 100644 llvm/test/Transforms/SCCP/phi-cycle.ll create mode 100644 llvm/test/Transforms/SampleProfile/Inputs/inline.md5extbinary.afdo create mode 100644 llvm/test/Transforms/StructurizeCFG/workarounds/needs-unified-l [...] create mode 100644 llvm/test/Transforms/UnifyLoopExits/basic.ll create mode 100644 llvm/test/Transforms/UnifyLoopExits/nested.ll create mode 100644 llvm/test/Transforms/UnifyLoopExits/restore-ssa.ll create mode 100644 llvm/test/Transforms/UnifyLoopExits/switch.ll create mode 100644 llvm/test/tools/llvm-cov/misssing-profdata.test delete mode 100644 llvm/test/tools/llvm-lto/fno-unroll-loops-option.ll copy llvm/test/{Analysis/CostModel => tools/llvm-objdump}/RISCV/lit.local.cfg (100%) create mode 100644 llvm/test/tools/llvm-objdump/RISCV/unknown-arch-attr.test create mode 100644 llvm/test/tools/llvm-symbolizer/relativenames.s create mode 100644 llvm/test/tools/obj2yaml/program-headers.yaml create mode 100644 llvm/unittests/ADT/WaymarkingTest.cpp create mode 100644 llvm/unittests/Support/ELFAttributeParserTest.cpp create mode 100644 llvm/unittests/Support/RISCVAttributeParserTest.cpp rename mlir/test/{Transforms => Conversion/AffineToStandard}/lower-affine.mlir (100%) create mode 100644 mlir/test/Dialect/Affine/loop-permute.mlir create mode 100644 mlir/test/Dialect/Linalg/tile_conv_padding.mlir create mode 100644 mlir/test/lib/Dialect/Affine/TestLoopPermutation.cpp create mode 100644 mlir/test/mlir-cpu-runner/sgemm_naive_codegen.mlir create mode 100755 utils/arcanist/clang-format.sh