This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-aarch64-mainline-allmodconfig in repository toolchain/ci/llvm-project.
from 430bba2a0f3 [mlir] Make code blocks more consistent adds 5e5a1d27909 [CodeGen] Emit conj/conjf/confjl libcalls as fneg instructi [...] adds 73855e43009 [X86] Add test case for opposite branch condition for PR44412. NFC adds 7544cb8807b [mlir][docs] Remove redundant path prefix adds 8be5a0fe12b [OPENMP]Emit artificial threprivate vars as threadlocal, if [...] adds 79d401905fc [amdgpu] Fix scoreboard updating on `s_waitcnt_vscnt`. adds b65ca8e5db6 Revert "[Diagnostic] Add ftabstop to -Wmisleading-indentation" adds 64cf26548a4 AMDGPU: Precommit test showing extra instructions are introduced adds 4ae3120ed81 [LegalizeVectorOps][AArch64] Stop asking for v4f16 fp_round [...] adds 1cc8a74de34 [X86] Use carry flag from add for (seteq (add X, -1), -1). adds 374e0299cf0 [X86][InstCombine] Add constant folding and simplification [...] adds 26bdc603f76 [X86] Constant fold KSHIFT of an all zeros vector to just a [...] adds e3e13db714e [ELF][RISCV] Improve error message for unknown relocations adds 4d7201e7b98 DAG: Stop trying to fold FP -(x-y) -> y-x in getNode with nsz adds 468a0cb5f39 [X86] Add X87 FCMOV support to X86FlagsCopyLowering. adds 86f48999f46 [X86] Fix typo in getCMovOpcode. adds e9963034314 [Attributor] AAValueConstantRange: Value range analysis usi [...] adds 47e3d3ec0c5 [ELF][RISCV][test] Test absolute/PC-relative/branch relocat [...] adds d2bb8c16e71 [MC][TargetMachine] Delete MCTargetOptions::MCPIECopyRelocations adds 8af492ade1b add strict float for round operation adds 773667b8c20 clang-tidy doc: Remove severities as they don't make consensus adds f323ab919a7 [ARM] Add +mve feature to mve tests. NFC adds 9b24dad6c06 [lldb][NFC] Make some checks more readable in Variable::Pri [...] adds 8dc7b982b45 [NFC] Fixes -Wrange-loop-analysis warnings adds f022a5a792f Adds fixit hints to the -Wrange-loop-analysis adds e5ab1e49f95 Improve Wrange-loop-analyses for rvalue reference adds d8117542ac5 Adds -Wrange-loop-analysis to -Wall adds c36763d8943 [X86] Call SimplifyMultipleUseDemandedBits from combineVSel [...] adds 8756cd09639 [InstCombine] Add tests for sub nuw of geps; NFC adds 7f48171d2f7 [InstCombine] Regenerate test checks; NFC adds 11552433ebf [InstCombine] Add tests for PR44423 and PR44425; NFC adds f9f78cf6ac7 [MachineScheduler] improve reuse of 'releaseNode'method adds 6ba5f8c4acb [InstCombine] Fix incorrect inbounds on GEP of GEP (PR44425) adds 8ca79dac559 Revert "Adds -Wrange-loop-analysis to -Wall" adds 8dbe2f02c6d [lldb][NFC] Simplify CompilerType constructors/destructors [...] adds 8dd9a136195 [InstCombine] Preserve inbounds when merging with zero-inde [...] adds fb170fd652b tests: XFAIL/UNSUPPORTED tests on Windows adds 2b223bd1c7d [mlir] Fix warnings when compiling with Clang 9.0 adds 316f6003ef2 [mlir] Fix linking with LLD adds 6656e961c08 [mlir] Fix compilation warnings adds 92b68c1937c [polly][Support] Un-break polly tests Previously, the polly [...] adds 681b1be7749 [lld] Fix -Wrange-loop-analysis warnings adds eeef50b1fee [mlir] Fix -Wrange-loo-analysis warnings adds 68a235d07f9 build: reduce CMake handling for zlib adds e6c7ed6d216 build: make `LLVM_ENABLE_ZLIB` a tri-bool for users adds 2fcf7691dfb [Coroutines] Rename "legacy" passes (NFC) adds dac98a22052 [RegisterClassInfo] Use SmallVector::assign instead of resi [...] adds 0b7b21dce46 [X86] Add test cases for regcall function that takes a long [...] adds 9ce0ff2eefc [Coroutines] const-ify internal helpers (NFC) adds 6ff6d32ebfe [gn build] (manually) merge 68a235d07f9e70 adds 45765c52bc3 [X86] Add x86_regcallcc calling convention to function decl [...] adds 5d38b2610f5 [mlir][spirv] Fix links in docs and update dialect docs adds 0359e1d6be2 [mlir][spirv] NFC: Move shader ABI attributes to a new file adds aa821728986 [XRay][test] Fix xray-empty-firstmbb.mir and delete incorre [...] adds a2976c490da [NFC] Make the type of X86AlignBranchBoundary compatible adds fe8e25a48a2 [lldb][NFC] Create type-safe function for creating a Compil [...] adds a95f4c87842 [lldb][NFC] Remove unused variable in DWARFASTParserClang:: [...] adds 8188c998ffa [docs] Update path to clang-tools-extra adds 535b3c6b2f1 [llvm-ranlib] Handle -D and -U command line flag adds 404da13e1e9 [AArch64][SVE] Gather loads: pass 32 bit unpacked offsets [...] adds bdf4224f9ce [NFC] Add explicit instantiation to releaseNode adds 136f34fed66 Fix D-flag.test by running chmod before creating the archive adds 7ead0087292 [lldb] Fix crash in AccessDeclContextSanity when copying Fu [...] adds 6b067c6a91e [ARM] Update ifcvt test target triples and opcodes. NFC adds 0eea9ba730b Make the llvm-ranlib/help-message.test test pass in unusual [...] adds 13a7a4ccbf8 Remove unneeded extra variable realArgIdx. NFC. adds afc25a43dc6 [mlir][Linalg] NFC - Rename LinalgGeneric -> GenericLinalg adds 324fd5902a8 [mlir][Linalg] NFC - Rename ViewTraits -> StructuredOpTraits adds 88fc5fdef6f [InstCombine] remove uses before deleting instructions (PR43723) adds a4f3847f3d5 [llvm-ranlib] Relax D-flag.test to allow it to pass on Wind [...] adds 87a004d0f8c [OpenMP] Fix formatting of OpenMP error message, by Wang Tianqing. adds a9d9aadcdfa [mlir][Linalg] NFC - Cleanup Linalg Declarative Transformations adds cd17c069899 [mlir][Linalg] NFC - Make consistent use of op.emitOpError adds 8d7ecc16291 Revert "Revert "[clangd] Implement "textDocument/documentLi [...] adds 24ab9b537e6 Generalize the pass registration mechanism used by Polly to [...] adds 63336795f0d [FPEnv] Default NoFPExcept SDNodeFlag to false adds 34397b75609 Revert "build: make `LLVM_ENABLE_ZLIB` a tri-bool for users" adds e406cca5f9a Revert "build: reduce CMake handling for zlib" adds 3f7ead3369a [gn build] (manually) merge 24ab9b537e61b3 adds 70342641b3c Revert "[gn build] (manually) merge 68a235d07f9e70" adds a0334b3b942 Add intrinsics_gen dependency on Bye example adds 0d275431a3a Add intrinsics_gen *dependency* on Bye example adds 437f9ec140b [gn build] (manually) merge 24ab9b537e61b3 more adds 0ae9e952f73 [test][llvm-dwarfdump][NFC] Improve test readability adds acc4ffbb473 [clangd] Reorder FindTarget.h - group targetDecl() stuff an [...] adds 19a71e358ec [test][llvm-dwarfdump][NFC] Remove unused check adds 846bf1d43f9 fix doc grammar-o to cycle bots adds 89d6c288ba5 [SystemZ] Use FNeg in s390x clang builtins adds 3aeb7415352 [test][ELF] Verify debug line corruption messages are printed once adds b747607bec4 update_test_checks: match CHECK-EMPTY lines for replacement. adds 81ffe89735e Add TPREL relocation support to Hexagon adds 31210d1a326 [gn build] (manually) merge 24ab9b537e61b3 yet more, to fix [...] adds a0d496d5b06 [NewPassManager] Rename AM to OuterAM in the OuterAnalysisM [...] adds 87fb204e8f0 [SelectionDAG] Simplify SelectionDAGBuilder::visitInlineAsm adds 546c72a78b3 [llvm-ranlib] Update expected error message check for Windows adds bd402fc3f3e [DebugInfo][NFC] Use function_ref consistently in debug lin [...] adds 97864f4f3a1 Fix some corner cases missed by D71955 adds 108daf76118 Check for aarch64 when not using .init_arrays adds a81cb1b8bf5 [mlir][spirv] Allow specifying availability on enum attribu [...] adds ec3d8e61b52 Handle init statements in readability-else-after-return adds 7ab9acd8f41 Fix trivial typos in comments; NFC adds 9d49e5c0876 Make mangled_names.test and update_cc_test_checks.py work w [...] adds 2140a973f27 [mlir][Linalg] Extend generic ops to allow tensors adds 838f53ed4db [ELF][Hexagon][test] Use llvm-readobj to check relocations. NFC adds 98856b22cdc [mlir][spirv] Update SPIR-V enums and ops with availability spec adds aa17d31edb0 [X86] Remove FP0-6 operands from call instructions in FPSta [...] adds abb00753069 build: reduce CMake handling for zlib adds 94d4ca90040 Reland "[gn build] (manually) merge 68a235d07f9e70" adds af340ae19f4 X86: remove unused variable adds 781b78a3610 [PowerPC] Only legalize FNEARBYINT with unsafe fp math adds d45b394b3e6 Polly: Fix a tag type mismatch (struct/class) adds 3d83d8259c1 [mlir] Remove redudant default cases adds 6962eea2c3a [X86] Move STRICT_ ISD nodes into the new section of X86ISe [...] adds 98a88c1beec [mlir] Add parenthesis to avoid -Wparentheses adds f533fa3af5e [mlir] Revert default case that was needed adds 4bb4f5b1d91 [InstCombine] add tests for vector icmp with undef constant [...] adds 8f1caf518f3 [mlir] Only generate default for uncovered cases adds a2ca1c2d566 build: disable zlib by default on Windows adds 203182b7b65 AMDGPU/GlobalISel: Regenerate check lines adds 086ac7e75c1 AMDGPU/GlobalISel: Correct MMO sizes in some tests adds 3ddfb04f41a [lldb/CMake] Use PYTHON_LIBRARIES instead of PYTHON_LIBRARY adds 1fcc9b6ff85 [OPENMP] Restore allowing of braced initializers in the dec [...] adds 982695c0693 [SystemZ] Create brcl 0,0 instead of brcl 0,3 in EmitNop f [...] adds f38234ed8b5 [lldb/CMake] Fix variable naming in FindLibEdit adds f83801fb2a4 [lldb/CMake] Print whether an optional dependency was enabled. adds a58da1a2ff0 [OPENMP50]Codegen for lastprivate conditional list items. adds 0d9f919b73a DAG: Use TargetConstant for FENCE operands adds 25e7da0c249 AMDGPU/GlobalISel: Remove manual G_FENCE selection adds b153fbefa3d Change dbg-*-tag-offset tests to use llvm-dwarfdump. adds 1c45852c828 Add C source to two debug info tests. adds fd01d8626cd [mlir] Rewrite the internal representation of OpResult to b [...] adds 3e5eac03580 Fix llvm-symbolizer tests on Windows, one more time. adds 355983103f0 [lli] Add a filter to avoid importing the process's main symbol. adds 783db788356 [PDB] Print the most redundant type record indices with /summary adds 479e9406c2e [PowerPC][AIX] Enable sret arguments. adds b63bc648a48 [CMake] clang-scan-deps in Fuchsia distribution adds 3620e5f28a4 [lldb/Command] Add --force option for `watchpoint delete` command adds 8580397f2e7 [lldb/Python] Remove unused support file (NFC) adds d265c8bf0d1 [lldb/Python] Remove unused imports (NFC) adds 4117c8c0194 Revert "[lldb/Command] Add --force option for `watchpoint d [...] adds 9dc9e0ea64f [X86] Optimization of inserting vxi1 sub vector into vXi1 vector adds a51c61ea332 Run update_llc_test_checks against SPE tests. adds 2c4620ad57b [PowerPC]: Fix predicate handling with SPE adds 0da15ff3184 [compiler-rt] [netbsd] Switch to syscall for ThreadSelfTlsTcb() adds 5fc02dc0a7b Revert "[Attributor] AAValueConstantRange: Value range anal [...] adds a050327064c [mlir] NFC: Fix broken links in docs adds 60333a53179 [X86] Enable strict FP by default and remove option -disabl [...] adds 2133d3c5586 [DAGCombine] Initialize the default operation action for SI [...] adds bd46e297427 [X86] Re-enable lowerUINT_TO_FP_vXi32 under fast-math by us [...] adds abd707848bc [llvm-size] print a blank line between archieve members whe [...] adds b2eaac3e3e0 [clangd] Replace shortenNamespace with getQualification adds 3186b18b998 [X86] Reorder X86any* PatFrags to put the strict node first [...] adds 8f6a67632a7 [ARM][NFC] Move tail predication checks adds 1711f886fd8 [lldb][NFC] Document TypeSystem and related Compiler* classes adds 2e033244417 [lldb][NFC] Remove forward declaration for non-existent typ [...] adds c0cbe3fbb7d [NFC][DAGCombine][X86][AArch64] Tests for 'A - (A & (B - 1) [...] adds 8dab0a4a7d6 [DAGCombine][X86][AArch64] 'A - (A & (B - 1))' -> 'A & (0 - [...] adds 91cbcbd9e50 [test][llvm-dwarfdump] Add missing checks for table dumping adds f6f0cb4fd1a [test][llvm-dwarfdump] Normalise contents and checks for li [...] adds 7b4badf6f9a [test][llvm-dwarfdump] Use --implicit-check-not to simplify [...] adds 04f627f6b9a [Syntax] Build spanning SimpleDecalration for classes, stru [...] adds e456165f9fe [OpenCL] Add link to C++ for OpenCL documentation adds 418cd8216b4 [DebugInfo] Remove redundant checks for past-the-end of prologue adds cc6be118723 [test][ELF] Use CHECK-NEXT to properly verify error messages adds b3d28677694 [mlir][spirv] Fix shader ABI attribute prefix and add verification adds 07bc851b212 [TargetLowering] Remove comments referring to TLOF adds 8382f871453 Fix typo "psuedo" in comments adds 16405827436 [InstCombine] replace undef elements in vector constant whe [...] adds 369a9195144 Fix for a dangling point bug in DeadStoreElimination pass adds 61aea827df6 Fix typo in compiler extension testing adds b2be259fa98 Fix compiler extension testing adds dfadb74f251 Use llvm_canonicalize_cmake_booleans where intended adds 69cfbb460e8 [ARM][NFC] Update MIR test adds 1711be78f74 [NFC][DAGCombine] Clarify comment for 'A - (A & (B - 1))' fold adds e4de8db67eb [NFC][DAGCombine][X86] Tests for 'A - (A & C)' pattern (PR44448) adds 3d492d7503d [DAGCombine][X86][Thumb2/LowOverheadLoops] `A - (A & C)` -> [...] adds d09ac032ee0 [NFC][DAGCombine][X86] '~(X - 1)' pattern tests adds 86403c0ff89 [DAGCombiner] `~(add X, -1)` -> `neg X` fold adds df4119c1146 [NFC][X86] Add BMI runlines to align-down.ll test adds 473deaf34bc [NFC][X86][AArch64] Add 'A - (A & B)' pattern tests (PR44448) adds 0727e2b90c7 [DAGCombiner][X86][AArch64] Generalize `A-(A&B)`->`A&(~B)` [...] adds 53fc4840673 AMDGPU/GlobalISel: Fix off by one in operand index adds b4b904e19bb [Diagnostic] Fixed add ftabstop to -Wmisleading-indentation adds a4b3588ba2c [Attributor][FIX] Return CHANGED once a pessimistic fixpoin [...] adds 412a0101a99 [Attributor][FIX] Do not derive nonnull and dereferenceable [...] adds c90681b681a [Attributor][FIX] Don't crash on ptr2int/int2ptr instructions adds 6b9ee2d6cd9 [Attributor][NFC] Unify the way we delete dead functions adds d2d2fb19f7e [Attributor][FIX] Allow dead users of rewritten function adds 427ffa2cdbb [OpenMP] diagnose zero-length array section in the depend clause adds ba3484c051b [clang-format/java] format multiple qualified annotations o [...] adds add743b4348 [OPENMP]Fix crash on error message for declare reduction. adds f06f439fadf [clangd] targetDecl() returns only NamedDecls. adds 04dbd449c29 [AArch64][test] Merge arm64-$i.ll Linux tests into $i.ll adds b87a351182c [NFC][InstCombine] '(X & (- Y)) - X' pattern tests (PR44448) adds cc0216bedb8 [NFC][InstCombine] '(X & (- Y)) - X' -> '- (X & (Y - 1))' f [...] adds c75aac42a63 [DWARF] Don't assume optional always has a value. adds a932f033a34 [mlir][Vector] NFC - Add documentation for the VectorOps dialect. adds 14ee51581af [mlir][linalg] Lower linalg to affine loops adds 9b750cc6ba2 [NFC][InstCombine] Autogenerate and2.ll checklines adds 6f922dbbeae [NFC][InstCombine] '(Op1 & С) - Op1' pattern tests (PR44427) adds 7973aa05f6f [NFC][InstCombine] '(Op1 & С) - Op1' -> '-(Op1 & ~C)' fold [...] adds e5a56f2d50c Remove outdated svn/git information from hacking page adds 9c2b72821be Move tail call disabling code to target independent code adds aaaf6c45609 [mlir][Linalg] NFC - Hotfix GenericLoopNestBuilder compilat [...] adds cf48101200e [clang-tidy] implement utility-function to add 'const' to v [...] adds 2875cc6b290 [X86] Improve for v2i32->v2f64 uint_to_fp adds 264637f0b87 [gn build] Port cf48101200e adds 32ccafd0f25 [x86] add test for miscompile in XformToShuffleWithZero(); NFC adds 7cdc60c3db1 [LegalizeVectorOps] Pass the post-UpdateNodeOperands versio [...] adds ca7fdd41bda [DAGCombiner] fix miscompile in translating (X & undef) to shuffle adds 1570084d334 [mlir][spirv] Fix ADDITIONAL_HEADER_DIRS for SPIR-V libraries adds 447dafdfc9b [mlir][Linalg] NFC - Hotfix GenericLoopNestBuilder compilat [...] adds 786f51dca01 [mlir][Linalg] NFC - Post-commit format fix adds 5d5d5838ce0 [mlir] Enhance classof() checks in StructsGen adds 92ff017a857 AMDGPU: Only allow regs for s_movrel_{b32|b64} adds 9861a8538c0 AMDGPU/GlobalISel: Add new utils file adds 089e1ee1723 AMDGPU: Add gfx9 run lines to a testcase adds c0f1eac008e [SystemZ] Don't allow CL option -mpacked-stack with -mbackchain. adds a308cc6b829 [gn build] Port 9861a8538c0 adds c7191d3acdd [NFC][ORC] Fix typos and whitespaces in comments adds 05ebaa62e0d [clang-tidy] fix broken linking for AddConstTest with addin [...] adds fed2a5033af [clang-tidy] quickfix: add -fno-delayed-template-parsing as [...] adds 3566c75ca82 [amdgpu] Skip non-instruction values in CF user tracing. adds 555fc92a859 [bindings/go] Add Subprogram method adds 21309eafdeb GlobalISel: Add type argument to getRegBankFromRegClass adds 0d9ca98c1a4 [mlir] Fix indexed_accessor_range to properly forward the d [...] adds e19188af0a2 [mlir] Compilation fix: use LLVM_ATTRIBUTE_UNUSED following [...] adds 48ee04033cc [clang-tidy] fix linkage with clangSema for FixitHintUtils, [...] adds 6e6b6a57545 [lldb/Docs] Include how to generate the man page adds 1dbc4864577 [globalisel] Fix another mismatch between %d and the RuleID type adds 1d7990228f0 [PowerPC][LoopVectorize] Add tests for fp128 and fp16 adds 320b43c39f0 [lldb/Docs] Include the man page on the website adds d2b19d455de [lldb/Utility] YAML validation should be orthogonal to pack [...] adds 4aa7fb77527 [AMDGPU] Revert scheduling to reduce spilling adds 0458e63d28a [fuchsia] Enable Clang Static Analyzer adds 7d82d20f37f Add missing mlir-headers target and add tablegen'd deps to it. adds 64f1bb5cd2c [gicombiner] Add GIMatchTree and use it for the code generation adds a61a6323dd1 [gn build] Port 64f1bb5cd2c adds c4766cadcb3 [Diagnostic] Add test for previous b4b904e19bb356724b2c6aea [...] adds 77d4b5f5fef [gicombiner] Correct 64f1bb5cd2c to account for MSVC's %p format adds 6c87623615b [UserExpression] Clean up `return` after `else`. adds c8ab40ca0e7 [Remarks] Warn if a remark file is not found when processin [...] adds 05a4cf26365 [X86] Autogenerate complete checks. NFC adds df71f92fbb7 [lldb/Command] Add --force option for `watchpoint delete` command adds 5d304d68dd5 Revert "[gicombiner] Add GIMatchTree and use it for the cod [...] adds 0f1e7993e9b [gn build] Port 5d304d68dd5 adds ed5fe64581f [OpenMP] NFC: Fix trivial typos in comments
No new revisions were added by this update.
Summary of changes: clang-tools-extra/clang-doc/MDGenerator.cpp | 2 +- .../bugprone/NotNullTerminatedResultCheck.cpp | 2 +- .../clang-tidy/cppcoreguidelines/SlicingCheck.cpp | 2 +- .../clang-tidy/modernize/LoopConvertUtils.cpp | 2 +- .../clang-tidy/modernize/LoopConvertUtils.h | 2 +- .../clang-tidy/modernize/ReplaceAutoPtrCheck.cpp | 2 +- .../clang-tidy/performance/ForRangeCopyCheck.cpp | 22 +- .../performance/UnnecessaryCopyInitialization.cpp | 8 +- .../performance/UnnecessaryValueParamCheck.cpp | 9 +- .../readability/ElseAfterReturnCheck.cpp | 238 +- .../clang-tidy/readability/ElseAfterReturnCheck.h | 8 +- .../readability/IdentifierNamingCheck.cpp | 2 +- clang-tools-extra/clang-tidy/utils/CMakeLists.txt | 1 + .../clang-tidy/utils/DeclRefExprUtils.cpp | 2 +- .../clang-tidy/utils/ExceptionAnalyzer.cpp | 2 +- .../clang-tidy/utils/FixItHintUtils.cpp | 196 +- .../clang-tidy/utils/FixItHintUtils.h | 26 + clang-tools-extra/clang-tidy/utils/LexerUtils.cpp | 7 + clang-tools-extra/clang-tidy/utils/LexerUtils.h | 4 +- clang-tools-extra/clangd/AST.cpp | 45 +- clang-tools-extra/clangd/AST.h | 16 +- clang-tools-extra/clangd/ClangdLSPServer.cpp | 24 + clang-tools-extra/clangd/ClangdLSPServer.h | 2 + clang-tools-extra/clangd/ClangdServer.cpp | 11 + clang-tools-extra/clangd/ClangdServer.h | 3 + clang-tools-extra/clangd/CodeComplete.h | 2 +- clang-tools-extra/clangd/FindTarget.cpp | 35 +- clang-tools-extra/clangd/FindTarget.h | 89 +- clang-tools-extra/clangd/Protocol.cpp | 13 + clang-tools-extra/clangd/Protocol.h | 33 + clang-tools-extra/clangd/XRefs.cpp | 66 +- clang-tools-extra/clangd/XRefs.h | 3 + clang-tools-extra/clangd/index/MemIndex.cpp | 2 +- clang-tools-extra/clangd/refactor/Rename.cpp | 9 +- clang-tools-extra/clangd/test/document-link.test | 42 + .../clangd/test/initialize-params.test | 3 + clang-tools-extra/clangd/unittests/ASTTests.cpp | 84 +- .../clangd/unittests/FindTargetTests.cpp | 2 +- clang-tools-extra/clangd/unittests/HoverTests.cpp | 3 + clang-tools-extra/clangd/unittests/TweakTests.cpp | 2 +- clang-tools-extra/clangd/unittests/XRefsTests.cpp | 21 + clang-tools-extra/docs/clang-include-fixer.rst | 6 +- clang-tools-extra/docs/clang-tidy/Contributing.rst | 4 +- clang-tools-extra/docs/clang-tidy/checks/list.rst | 780 ++- clang-tools-extra/docs/doxygen.cfg.in | 2 +- clang-tools-extra/docs/pp-trace.rst | 70 +- .../readability-else-after-return-no-warn.cpp | 31 + .../checkers/readability-else-after-return.cpp | 112 +- .../unittests/clang-tidy/AddConstTest.cpp | 1081 ++++ .../unittests/clang-tidy/CMakeLists.txt | 1 + .../unittests/clang-tidy/ClangTidyTest.h | 1 + clang/cmake/caches/Fuchsia-stage2.cmake | 3 +- clang/cmake/caches/Fuchsia.cmake | 2 +- clang/docs/LanguageExtensions.rst | 279 - clang/docs/LibASTMatchersReference.html | 131 +- clang/docs/UsersManual.rst | 38 +- clang/include/clang/AST/Decl.h | 1 + clang/include/clang/ASTMatchers/ASTMatchers.h | 29 + clang/include/clang/Basic/DiagnosticSemaKinds.td | 2 + clang/include/clang/Driver/Options.td | 1 + clang/lib/AST/Decl.cpp | 6 + clang/lib/ASTMatchers/Dynamic/Registry.cpp | 1 + clang/lib/CodeGen/BackendUtil.cpp | 8 +- clang/lib/CodeGen/CGBuiltin.cpp | 19 +- clang/lib/CodeGen/CGExpr.cpp | 3 + clang/lib/CodeGen/CGExprComplex.cpp | 7 +- clang/lib/CodeGen/CGExprScalar.cpp | 4 + clang/lib/CodeGen/CGOpenMPRuntime.cpp | 272 +- clang/lib/CodeGen/CGOpenMPRuntime.h | 57 + clang/lib/CodeGen/CGStmtOpenMP.cpp | 26 +- clang/lib/CodeGen/CMakeLists.txt | 2 + clang/lib/CodeGen/CodeGenPGO.cpp | 2 +- clang/lib/CodeGen/ItaniumCXXABI.cpp | 2 +- clang/lib/Driver/ToolChains/Clang.cpp | 16 +- clang/lib/Format/FormatToken.h | 2 +- clang/lib/Parse/ParseOpenMP.cpp | 2 +- clang/lib/Parse/ParseStmt.cpp | 3 +- clang/lib/Sema/SemaOpenMP.cpp | 24 +- clang/lib/Sema/SemaStmt.cpp | 13 +- clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp | 2 +- clang/lib/Tooling/ASTDiff/ASTDiff.cpp | 2 +- clang/lib/Tooling/Syntax/BuildTree.cpp | 10 +- clang/test/CMakeLists.txt | 11 +- clang/test/CodeGen/builtins-systemz-vector.c | 4 +- clang/test/CodeGen/builtins-systemz-vector2.c | 16 +- clang/test/CodeGen/builtins-systemz-zvector.c | 4 +- clang/test/CodeGen/builtins-systemz-zvector2.c | 20 +- clang/test/CodeGen/complex-libcalls-2.c | 20 + clang/test/CodeGen/complex-libcalls.c | 12 +- clang/test/Driver/mbackchain.c | 3 + clang/test/OpenMP/declare_reduction_messages.c | 2 + clang/test/OpenMP/declare_reduction_messages.cpp | 4 +- clang/test/OpenMP/for_lastprivate_codegen.cpp | 49 +- clang/test/OpenMP/for_lastprivate_messages.cpp | 4 + .../test/OpenMP/for_simd_lastprivate_messages.cpp | 4 + .../OpenMP/master_taskloop_reduction_codegen.cpp | 4 +- .../master_taskloop_simd_reduction_codegen.cpp | 4 +- .../OpenMP/parallel_for_lastprivate_messages.cpp | 3 + .../parallel_for_simd_lastprivate_messages.cpp | 3 + .../parallel_master_taskloop_reduction_codegen.cpp | 4 +- ...llel_master_taskloop_simd_reduction_codegen.cpp | 4 +- .../parallel_sections_lastprivate_messages.cpp | 4 + .../test/OpenMP/sections_lastprivate_messages.cpp | 5 + clang/test/OpenMP/simd_codegen.cpp | 52 +- clang/test/OpenMP/simd_lastprivate_messages.cpp | 3 + clang/test/OpenMP/target_depend_messages.cpp | 2 +- .../OpenMP/target_enter_data_depend_messages.cpp | 4 +- .../OpenMP/target_exit_data_depend_messages.cpp | 4 +- .../OpenMP/target_parallel_depend_messages.cpp | 2 +- .../OpenMP/target_parallel_for_depend_messages.cpp | 2 +- .../target_parallel_for_lastprivate_messages.cpp | 3 + .../target_parallel_for_simd_depend_messages.cpp | 2 +- ...rget_parallel_for_simd_lastprivate_messages.cpp | 3 + clang/test/OpenMP/target_simd_depend_messages.cpp | 2 +- .../OpenMP/target_simd_lastprivate_messages.cpp | 3 + 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 +- .../test/OpenMP/target_update_depend_messages.cpp | 7 +- clang/test/OpenMP/task_depend_messages.cpp | 2 +- clang/test/OpenMP/taskloop_reduction_codegen.cpp | 23 +- .../OpenMP/taskloop_simd_reduction_codegen.cpp | 4 +- .../Parser/warn-misleading-indentation-fix.cpp | 3 + clang/test/Parser/warn-misleading-indentation.cpp | 1 + clang/test/SemaCXX/warn-range-loop-analysis.cpp | 156 +- clang/test/lit.site.cfg.py.in | 2 +- clang/tools/clang-refactor/TestSupport.cpp | 2 +- clang/tools/driver/CMakeLists.txt | 4 - clang/tools/driver/cc1_main.cpp | 11 - .../ASTMatchers/ASTMatchersNarrowingTest.cpp | 29 + clang/unittests/Format/FormatTestJava.cpp | 8 + clang/unittests/Tooling/Syntax/TreeTest.cpp | 81 +- clang/www/hacking.html | 26 +- compiler-rt/lib/crt/crtbegin.c | 4 +- .../sanitizer_common/sanitizer_linux_libcdep.cpp | 13 +- compiler-rt/test/lit.common.configured.in | 2 +- lld/COFF/InputFiles.cpp | 5 +- lld/COFF/PDB.cpp | 91 +- lld/ELF/Arch/Hexagon.cpp | 15 + lld/ELF/Arch/RISCV.cpp | 31 +- lld/ELF/Driver.cpp | 5 +- lld/ELF/InputSection.cpp | 1 + lld/ELF/SyntheticSections.cpp | 2 +- .../MachO/MachONormalizedFileFromAtoms.cpp | 2 +- lld/test/CMakeLists.txt | 11 +- lld/test/COFF/pdb-type-server-simple.test | 14 +- lld/test/ELF/Inputs/undef-bad-debug.s | 26 +- lld/test/ELF/hexagon-tls-le.s | 61 + lld/test/ELF/riscv-undefined-weak.s | 79 + lld/test/ELF/undef.s | 75 +- lld/test/lit.site.cfg.py.in | 2 +- lld/wasm/Driver.cpp | 5 +- lldb/cmake/modules/FindLibEdit.cmake | 34 +- lldb/cmake/modules/LLDBConfig.cmake | 20 +- lldb/docs/index.rst | 9 +- lldb/docs/resources/build.rst | 1 + lldb/include/lldb/Core/ClangForward.h | 1 - lldb/include/lldb/Symbol/ClangASTContext.h | 16 + lldb/include/lldb/Symbol/CompilerDecl.h | 14 + lldb/include/lldb/Symbol/CompilerDeclContext.h | 18 +- lldb/include/lldb/Symbol/CompilerType.h | 35 +- lldb/include/lldb/Symbol/TypeSystem.h | 20 +- .../packages/Python/lldbsuite/support/funcutils.py | 9 - .../Python/lldbsuite/support/optional_with.py | 58 - .../completion-crash2/TestCompletionCrash2.py | 4 - ...estRegressionAccessFunctionTemplateInRecord.py} | 0 .../main.cpp | 0 .../test/commands/settings/TestSettings.py | 3 + .../watchpoint_commands/TestWatchpointCommands.py | 45 +- .../breakpoint_command/TestBreakpointCommand.py | 1 + .../test/functionalities/dead-strip/Makefile | 9 +- .../functionalities/dead-strip/TestDeadStrip.py | 1 + .../test/source-manager/TestSourceManager.py | 2 + lldb/source/API/CMakeLists.txt | 4 +- lldb/source/Commands/CommandObjectWatchpoint.cpp | 83 +- lldb/source/Commands/Options.td | 5 + lldb/source/Core/CMakeLists.txt | 2 +- lldb/source/Expression/UserExpression.cpp | 7 +- lldb/source/Host/CMakeLists.txt | 6 +- lldb/source/Interpreter/CMakeLists.txt | 2 +- .../ExpressionParser/Clang/ASTStructExtractor.cpp | 6 +- .../ExpressionParser/Clang/ASTStructExtractor.h | 2 - .../ExpressionParser/Clang/ClangASTSource.cpp | 7 +- .../Clang/ClangPersistentVariables.cpp | 2 - lldb/source/Plugins/Language/ObjC/NSArray.cpp | 5 +- .../AppleObjCTypeEncodingParser.cpp | 5 +- .../RenderScriptx86ABIFixups.cpp | 2 +- lldb/source/Plugins/Platform/Android/AdbClient.cpp | 2 +- .../Process/gdb-remote/GDBRemoteCommunication.cpp | 4 +- .../gdb-remote/GDBRemoteCommunicationClient.cpp | 2 +- .../ScriptInterpreter/Python/CMakeLists.txt | 6 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 5 +- .../Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp | 2 +- lldb/source/Symbol/ClangASTContext.cpp | 474 +- lldb/source/Symbol/CompilerType.cpp | 6 - lldb/source/Symbol/Variable.cpp | 6 +- lldb/source/Target/StackFrameRecognizer.cpp | 2 +- lldb/source/Utility/GDBRemote.cpp | 3 - lldb/unittests/Symbol/TestClangASTContext.cpp | 49 + llvm/CMakeLists.txt | 33 +- llvm/bindings/go/llvm/dibuilder.go | 5 + llvm/cmake/config-ix.cmake | 33 +- llvm/cmake/modules/AddLLVM.cmake | 75 +- llvm/docs/WritingAnLLVMPass.rst | 45 + llvm/examples/Bye/Bye.cpp | 69 + llvm/examples/Bye/CMakeLists.txt | 17 + llvm/examples/CMakeLists.txt | 1 + llvm/include/llvm-c/Transforms/Coroutines.h | 8 +- llvm/include/llvm/Analysis/LoopInfo.h | 2 +- llvm/include/llvm/Analysis/LoopInfoImpl.h | 6 +- .../CodeGen/GlobalISel/InstructionSelectorImpl.h | 3 +- .../llvm/CodeGen/GlobalISel/RegisterBankInfo.h | 5 +- llvm/include/llvm/CodeGen/ISDOpcodes.h | 7 +- llvm/include/llvm/CodeGen/MachineScheduler.h | 9 +- llvm/include/llvm/CodeGen/SelectionDAGISel.h | 3 + llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 17 +- llvm/include/llvm/CodeGen/TargetLowering.h | 2 - llvm/include/llvm/Config/config.h.cmake | 6 - llvm/include/llvm/Config/llvm-config.h.cmake | 3 - .../DebugInfo/CodeView/GlobalTypeTableBuilder.h | 2 +- .../llvm/DebugInfo/CodeView/TypeRecordHelpers.h | 37 +- llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h | 2 +- llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h | 17 +- llvm/include/llvm/ExecutionEngine/Orc/Core.h | 2 +- .../llvm/ExecutionEngine/Orc/ExecutionUtils.h | 2 +- .../llvm/ExecutionEngine/Orc/IndirectionUtils.h | 2 +- .../llvm/ExecutionEngine/Orc/OrcABISupport.h | 74 +- llvm/include/llvm/IR/IntrinsicsAArch64.td | 3 +- llvm/include/llvm/IR/PassManager.h | 15 +- llvm/include/llvm/MC/MCTargetOptions.h | 1 - .../llvm/MC/MCTargetOptionsCommandFlags.inc | 3 - llvm/include/llvm/Support/Error.h | 2 + llvm/include/llvm/Support/GenericDomTree.h | 4 +- llvm/include/llvm/Transforms/Coroutines.h | 8 +- llvm/lib/Analysis/DomTreeUpdater.cpp | 4 +- llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | 2 +- llvm/lib/Analysis/ScalarEvolution.cpp | 2 +- llvm/lib/CodeGen/GlobalISel/CallLowering.cpp | 6 +- llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp | 20 +- llvm/lib/CodeGen/InlineSpiller.cpp | 8 +- llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp | 2 +- llvm/lib/CodeGen/MachineScheduler.cpp | 43 +- llvm/lib/CodeGen/RegAllocFast.cpp | 2 +- llvm/lib/CodeGen/RegisterClassInfo.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 35 +- llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 4 + llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp | 2 +- .../lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | 30 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 5 - .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 51 +- .../CodeGen/SelectionDAG/SelectionDAGDumper.cpp | 4 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 34 + llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 8 +- llvm/lib/CodeGen/TargetLoweringBase.cpp | 1 + llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 8 +- llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp | 16 +- llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp | 6 +- llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 2 +- llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp | 33 +- llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp | 2 +- llvm/lib/DebugInfo/Symbolize/Symbolize.cpp | 2 +- llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp | 2 +- llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp | 2 +- llvm/lib/IR/TypeFinder.cpp | 2 +- llvm/lib/Linker/IRMover.cpp | 2 +- llvm/lib/MC/MCTargetOptions.cpp | 4 +- llvm/lib/MC/XCOFFObjectWriter.cpp | 2 +- llvm/lib/MCA/HardwareUnits/ResourceManager.cpp | 2 +- llvm/lib/MCA/Stages/InstructionTables.cpp | 3 +- llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp | 2 +- llvm/lib/Support/CMakeLists.txt | 6 +- llvm/lib/Support/CRC.cpp | 2 +- llvm/lib/Support/CommandLine.cpp | 8 +- llvm/lib/Support/Compression.cpp | 4 +- llvm/lib/Support/StringRef.cpp | 2 +- llvm/lib/Support/TargetParser.cpp | 8 +- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 55 +- llvm/lib/Target/AArch64/AArch64InstrAtomics.td | 6 +- .../lib/Target/AArch64/AArch64RegisterBankInfo.cpp | 5 +- llvm/lib/Target/AArch64/AArch64RegisterBankInfo.h | 4 +- llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.cpp | 45 + llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.h | 29 + .../Target/AMDGPU/AMDGPUInstructionSelector.cpp | 40 +- llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 5 +- llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h | 4 +- llvm/lib/Target/AMDGPU/CMakeLists.txt | 1 + llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp | 13 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 13 +- llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp | 2 +- llvm/lib/Target/AMDGPU/SIInstructions.td | 2 +- llvm/lib/Target/AMDGPU/SOPInstructions.td | 15 +- llvm/lib/Target/ARC/ARCISelLowering.cpp | 2 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 14 +- llvm/lib/Target/ARM/ARMInstrInfo.td | 2 +- llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp | 145 +- llvm/lib/Target/ARM/ARMRegisterBankInfo.cpp | 5 +- llvm/lib/Target/ARM/ARMRegisterBankInfo.h | 4 +- llvm/lib/Target/AVR/AVRInstrFormats.td | 4 +- llvm/lib/Target/AVR/AVRInstrInfo.td | 2 +- llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 15 +- llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp | 7 + llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp | 5 +- llvm/lib/Target/Mips/MipsRegisterBankInfo.h | 4 +- llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 30 +- llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 19 +- llvm/lib/Target/PowerPC/PPCInstrInfo.td | 8 +- llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 4 - llvm/lib/Target/RISCV/RISCVInstrInfo.td | 10 +- llvm/lib/Target/Sparc/SparcInstrInfo.td | 4 +- llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp | 2 +- llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp | 2 + llvm/lib/Target/SystemZ/SystemZISelLowering.h | 36 +- llvm/lib/Target/TargetMachine.cpp | 15 +- llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | 2 +- llvm/lib/Target/X86/X86FlagsCopyLowering.cpp | 73 + llvm/lib/Target/X86/X86FloatingPoint.cpp | 21 +- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 33 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 269 +- llvm/lib/Target/X86/X86ISelLowering.h | 39 +- llvm/lib/Target/X86/X86InstrAVX512.td | 10 +- llvm/lib/Target/X86/X86InstrFragmentsSIMD.td | 14 +- llvm/lib/Target/X86/X86InstrInfo.cpp | 2 +- llvm/lib/Target/X86/X86InstrInfo.td | 4 +- llvm/lib/Target/X86/X86InstrSSE.td | 32 +- llvm/lib/Target/X86/X86InstrTSX.td | 2 +- llvm/lib/Target/X86/X86RegisterBankInfo.cpp | 5 +- llvm/lib/Target/X86/X86RegisterBankInfo.h | 4 +- llvm/lib/Transforms/Coroutines/CoroCleanup.cpp | 12 +- llvm/lib/Transforms/Coroutines/CoroEarly.cpp | 16 +- llvm/lib/Transforms/Coroutines/CoroElide.cpp | 16 +- llvm/lib/Transforms/Coroutines/CoroInternal.h | 11 +- llvm/lib/Transforms/Coroutines/CoroSplit.cpp | 38 +- llvm/lib/Transforms/Coroutines/Coroutines.cpp | 34 +- llvm/lib/Transforms/IPO/Attributor.cpp | 71 +- .../Transforms/InstCombine/InstCombineAddSub.cpp | 19 + .../Transforms/InstCombine/InstCombineCalls.cpp | 58 + .../Transforms/InstCombine/InstCombineCompares.cpp | 17 + .../InstCombine/InstructionCombining.cpp | 19 +- .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 56 +- llvm/test/CMakeLists.txt | 4 +- llvm/test/CodeGen/AArch64/align-down.ll | 149 + llvm/test/CodeGen/AArch64/arm64-basic-pic.ll | 54 - .../CodeGen/AArch64/arm64-code-model-large-abs.ll | 72 - .../CodeGen/AArch64/arm64-complex-copy-noneon.ll | 21 - llvm/test/CodeGen/AArch64/arm64-extern-weak.ll | 53 - llvm/test/CodeGen/AArch64/arm64-fp.ll | 5 +- .../CodeGen/AArch64/arm64-illegal-float-ops.ll | 295 -- .../AArch64/arm64-neon-compare-instructions.ll | 1194 ----- llvm/test/CodeGen/AArch64/basic-pic.ll | 10 +- llvm/test/CodeGen/AArch64/code-model-large-abs.ll | 11 + .../test/CodeGen/AArch64/dbg-declare-tag-offset.ll | 19 +- llvm/test/CodeGen/AArch64/dbg-value-tag-offset.ll | 18 +- llvm/test/CodeGen/AArch64/illegal-float-ops.ll | 48 + llvm/test/CodeGen/AArch64/sub-of-bias.ll | 103 + ...intrinsics-gather-loads-32bit-scaled-offsets.ll | 172 +- ...trinsics-gather-loads-32bit-unscaled-offsets.ll | 236 +- llvm/test/CodeGen/AArch64/tail-call.ll | 10 + .../GlobalISel/legalize-load-constant-32bit.mir | 12 +- .../AMDGPU/GlobalISel/legalize-load-constant.mir | 5532 ++++++++++---------- .../AMDGPU/GlobalISel/legalize-load-flat.mir | 4792 +++++++++-------- .../AMDGPU/GlobalISel/legalize-load-global.mir | 4810 ++++++++--------- .../AMDGPU/GlobalISel/legalize-load-local.mir | 5492 ++++++++++--------- .../AMDGPU/GlobalISel/legalize-load-private.mir | 5520 +++++++++---------- .../CodeGen/AMDGPU/GlobalISel/legalize-store.mir | 24 +- .../llvm.amdgcn.raw.buffer.store.format.f16.ll | 97 +- .../llvm.amdgcn.raw.buffer.store.format.f32.ll | 40 +- .../GlobalISel/llvm.amdgcn.raw.buffer.store.ll | 57 +- .../fneg-fold-legalize-dag-increase-insts.ll | 24 + llvm/test/CodeGen/AMDGPU/movreld-bug.ll | 18 +- llvm/test/CodeGen/AMDGPU/waitcnt-vscnt.mir | 17 + .../ARM/PR32721_ifcvt_triangle_unanalyzable.mir | 2 +- llvm/test/CodeGen/ARM/ifcvt_canFallThroughTo.mir | 2 +- .../CodeGen/ARM/ifcvt_diamond_unanalyzable.mir | 12 +- .../ARM/ifcvt_forked_diamond_unanalyzable.mir | 22 +- .../ARM/ifcvt_simple_bad_zero_prob_succ.mir | 8 +- .../test/CodeGen/ARM/ifcvt_simple_unanalyzable.mir | 12 +- .../test/CodeGen/ARM/ifcvt_triangleSameCvtNext.mir | 14 +- .../CodeGen/ARM/ifcvt_triangleWoCvtToNextEdge.mir | 10 +- llvm/test/CodeGen/ARM/signext-inreg.ll | 14 +- llvm/test/CodeGen/Hexagon/signext-inreg.ll | 272 + llvm/test/CodeGen/PowerPC/aix-sret-param.ll | 97 +- llvm/test/CodeGen/PowerPC/scalar-rounding-ops.ll | 24 +- llvm/test/CodeGen/PowerPC/spe.ll | 1267 ++++- .../PowerPC/vector-constrained-fp-intrinsics.ll | 308 +- llvm/test/CodeGen/RISCV/tail-calls.ll | 10 + llvm/test/CodeGen/SystemZ/mrecord-mcount-01.ll | 2 +- llvm/test/CodeGen/SystemZ/stackmap-nops.ll | 153 +- .../LowOverheadLoops/dont-remove-loop-update.mir | 2 +- .../LowOverheadLoops/dont-remove-loop-update2.mir | 2 +- .../LowOverheadLoops/dont-remove-loop-update3.mir | 2 +- .../Thumb2/LowOverheadLoops/fast-fp-loops.ll | 12 +- .../Thumb2/LowOverheadLoops/mve-float-loops.ll | 36 +- .../Thumb2/LowOverheadLoops/mve-tail-data-types.ll | 8 +- .../test/CodeGen/Thumb2/LowOverheadLoops/while.mir | 63 +- llvm/test/CodeGen/Thumb2/mve-sext.ll | 102 +- llvm/test/CodeGen/X86/align-down-const.ll | 152 + llvm/test/CodeGen/X86/align-down.ll | 272 + llvm/test/CodeGen/X86/avx512-calling-conv.ll | 3345 +++++------- llvm/test/CodeGen/X86/avx512-ext.ll | 1356 +++-- llvm/test/CodeGen/X86/avx512-insert-extract.ll | 91 +- llvm/test/CodeGen/X86/avx512-mask-op.ll | 1489 +++--- llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll | 79 +- llvm/test/CodeGen/X86/combine-and.ll | 12 + .../test/CodeGen/X86/fp-intrinsics-flags-x86_64.ll | 2 +- llvm/test/CodeGen/X86/fp-intrinsics-flags.ll | 16 +- llvm/test/CodeGen/X86/fp-strict-scalar-cmp.ll | 16 +- llvm/test/CodeGen/X86/fp-strict-scalar-fptoint.ll | 14 +- llvm/test/CodeGen/X86/fp-strict-scalar-inttofp.ll | 14 +- llvm/test/CodeGen/X86/fp-strict-scalar-round.ll | 474 ++ llvm/test/CodeGen/X86/fp-strict-scalar.ll | 14 +- llvm/test/CodeGen/X86/fp128-cast-strict.ll | 14 +- llvm/test/CodeGen/X86/fp128-libcalls-strict.ll | 6 +- llvm/test/CodeGen/X86/fp80-strict-scalar-cmp.ll | 4 +- llvm/test/CodeGen/X86/fp80-strict-scalar.ll | 4 +- llvm/test/CodeGen/X86/ftrunc.ll | 2 +- .../CodeGen/X86/global-access-pie-copyrelocs.ll | 151 - llvm/test/CodeGen/X86/known-bits-vector.ll | 8 +- llvm/test/CodeGen/X86/masked_store.ll | 94 +- llvm/test/CodeGen/X86/min-legal-vector-width.ll | 745 ++- llvm/test/CodeGen/X86/not-of-dec.ll | 117 + llvm/test/CodeGen/X86/pr44396.ll | 47 + llvm/test/CodeGen/X86/pr44412.ll | 38 +- llvm/test/CodeGen/X86/sub-of-bias.ll | 229 + llvm/test/CodeGen/X86/vec-strict-128-cmp.ll | 4227 ++++++++++++--- llvm/test/CodeGen/X86/vec-strict-128.ll | 12 +- llvm/test/CodeGen/X86/vec-strict-256-cmp.ll | 1763 ++++++- llvm/test/CodeGen/X86/vec-strict-256.ll | 125 +- llvm/test/CodeGen/X86/vec-strict-512-cmp.ll | 567 +- llvm/test/CodeGen/X86/vec-strict-512.ll | 109 +- llvm/test/CodeGen/X86/vec-strict-fptoint-128.ll | 24 +- llvm/test/CodeGen/X86/vec-strict-fptoint-256.ll | 20 +- llvm/test/CodeGen/X86/vec-strict-fptoint-512.ll | 8 +- llvm/test/CodeGen/X86/vec-strict-inttofp-128.ll | 89 +- llvm/test/CodeGen/X86/vec-strict-inttofp-256.ll | 28 +- llvm/test/CodeGen/X86/vec-strict-inttofp-512.ll | 8 +- llvm/test/CodeGen/X86/vec-strict-round-128.ll | 174 + llvm/test/CodeGen/X86/vec_int_to_fp.ll | 306 +- llvm/test/CodeGen/X86/vec_smulo.ll | 82 +- llvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll | 240 +- llvm/test/CodeGen/X86/vec_uint_to_fp.ll | 34 +- llvm/test/CodeGen/X86/vec_umulo.ll | 89 +- .../X86/vector-constrained-fp-intrinsics-flags.ll | 12 +- .../X86/vector-constrained-fp-intrinsics.ll | 52 +- llvm/test/CodeGen/X86/vselect.ll | 6 +- llvm/test/CodeGen/X86/xray-empty-firstmbb.mir | 2 +- llvm/test/CodeGen/X86/xray-empty-function.mir | 13 - llvm/test/Feature/load_extension.ll | 10 + llvm/test/Other/new-pm-defaults.ll | 24 +- llvm/test/Other/new-pm-thinlto-defaults.ll | 13 +- llvm/test/Other/opt-O0-pipeline.ll | 3 +- llvm/test/Other/opt-O2-pipeline.ll | 4 +- llvm/test/Other/opt-O3-pipeline.ll | 4 +- llvm/test/Other/opt-Os-pipeline.ll | 4 +- .../ArgumentPromotion/live_called_from_dead.ll | 55 + llvm/test/Transforms/Attributor/align.ll | 10 + .../Transforms/Attributor/dereferenceable-1.ll | 2 +- llvm/test/Transforms/Attributor/nocapture-1.ll | 4 +- llvm/test/Transforms/Attributor/nonnull.ll | 19 + llvm/test/Transforms/Attributor/nosync.ll | 2 +- llvm/test/Transforms/Attributor/value-simplify.ll | 49 + .../DeadStoreElimination/DeleteThrowableInst.ll | 41 + .../test/Transforms/InstCombine/X86/x86-bmi-tbm.ll | 132 + llvm/test/Transforms/InstCombine/and2.ll | 38 +- .../InstCombine/builtin-object-size-ptr.ll | 42 + ...onstant-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll | 12 +- ...nstant-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll | 14 +- ...nstant-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll | 12 +- ...nstant-low-bit-mask-and-icmp-ugt-to-icmp-ugt.ll | 14 +- ...nstant-low-bit-mask-and-icmp-ult-to-icmp-ugt.ll | 12 +- llvm/test/Transforms/InstCombine/getelementptr.ll | 834 +-- ...gation-out-of-bias-calculation-with-constant.ll | 98 + .../hoist-negation-out-of-bias-calculation.ll | 158 + .../InstCombine/phi-equal-incoming-pointers.ll | 2 +- llvm/test/Transforms/InstCombine/pr26992.ll | 31 +- llvm/test/Transforms/InstCombine/sub-gep.ll | 101 + .../Transforms/LoopVectorize/PowerPC/reg-usage.ll | 58 + llvm/test/lit.cfg.py | 12 + llvm/test/lit.site.cfg.py.in | 3 +- llvm/test/tools/UpdateTestChecks/lit.local.cfg | 6 +- llvm/test/tools/dsymutil/Inputs/basic1.c | 4 + .../remarks/basic.macho.remarks.archive.x86_64 | Bin 0 -> 9320 bytes llvm/test/tools/dsymutil/Inputs/remarks/libbasic.a | Bin 0 -> 9152 bytes .../dsymutil/X86/remarks-linking-archive.text | 43 + .../X86/Inputs/debug_line_malformed.s | 88 +- .../llvm-dwarfdump/X86/debug_line_invalid.test | 272 +- llvm/test/tools/llvm-ranlib/D-flag.test | 45 + llvm/test/tools/llvm-ranlib/help-message.test | 17 +- llvm/test/tools/llvm-size/archive.test | 7 +- llvm/test/tools/llvm-size/multiple-inputs.test | 1 + llvm/test/tools/llvm-size/radix.test | 3 + llvm/test/tools/llvm-symbolizer/frame-loclist.s | 502 +- .../tools/llvm-symbolizer/frame-specification.s | 259 +- llvm/tools/CMakeLists.txt | 10 +- llvm/tools/bugpoint/CMakeLists.txt | 8 +- llvm/tools/bugpoint/bugpoint.cpp | 20 +- llvm/tools/dsymutil/DwarfLinker.cpp | 36 +- llvm/tools/lli/lli.cpp | 8 +- llvm/tools/llvm-ar/llvm-ar.cpp | 30 +- llvm/tools/llvm-size/llvm-size.cpp | 6 +- llvm/tools/opt/CMakeLists.txt | 6 +- llvm/tools/opt/NewPMDriver.cpp | 14 +- llvm/tools/opt/opt.cpp | 9 - llvm/unittests/ADT/StringRefTest.cpp | 1 + llvm/unittests/Support/CompressionTest.cpp | 2 +- llvm/utils/TableGen/GICombinerEmitter.cpp | 2 +- llvm/utils/UpdateTestChecks/common.py | 2 +- .../unittests/clang-tidy/BUILD.gn | 1 + llvm/utils/gn/secondary/clang/test/BUILD.gn | 4 +- llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn | 4 +- llvm/utils/gn/secondary/lld/test/BUILD.gn | 4 +- .../gn/secondary/llvm/include/llvm/Config/BUILD.gn | 5 - .../secondary/llvm/include/llvm/Support/BUILD.gn | 18 + .../include/llvm/Support/write_extension_def.py | 23 + llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn | 3 + .../gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn | 1 + llvm/utils/gn/secondary/llvm/test/BUILD.gn | 5 +- llvm/utils/update_cc_test_checks.py | 19 +- mlir/CMakeLists.txt | 7 +- mlir/docs/DeclarativeRewrites.md | 2 +- mlir/docs/DefiningAttributesAndTypes.md | 2 +- mlir/docs/Diagnostics.md | 2 +- mlir/docs/Dialects/SPIR-V.md | 24 +- mlir/docs/Dialects/Vector.md | 493 +- mlir/docs/LangRef.md | 4 +- mlir/docs/OpDefinitions.md | 10 +- mlir/docs/Tutorials/Toy/Ch-5.md | 2 +- mlir/include/mlir/Dialect/Linalg/EDSC/Builders.h | 6 +- mlir/include/mlir/Dialect/Linalg/IR/LinalgBase.td | 18 +- mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td | 17 +- .../mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 92 +- mlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h | 93 +- .../Linalg/Transforms/LinalgTransformPatterns.td | 48 +- .../Dialect/Linalg/Transforms/LinalgTransforms.h | 22 +- mlir/include/mlir/Dialect/Linalg/Utils/Utils.h | 15 + mlir/include/mlir/Dialect/SPIRV/CMakeLists.txt | 13 +- mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td | 2278 ++++++-- mlir/include/mlir/Dialect/SPIRV/SPIRVBitOps.td | 77 + mlir/include/mlir/Dialect/SPIRV/SPIRVDialect.h | 17 + mlir/include/mlir/Dialect/SPIRV/SPIRVGroupOps.td | 7 + mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h | 35 +- mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h | 13 + mlir/include/mlir/Dialect/SPIRV/TargetAndABI.h | 48 + .../SPIRV/{SPIRVLowering.td => TargetAndABI.td} | 0 .../mlir/Dialect/VectorOps/VectorTransforms.h | 5 +- mlir/include/mlir/IR/Operation.h | 52 +- mlir/include/mlir/IR/OperationSupport.h | 65 +- mlir/include/mlir/IR/UseDefLists.h | 7 +- mlir/include/mlir/IR/Value.h | 202 +- mlir/include/mlir/Support/STLExtras.h | 28 +- mlir/include/mlir/TableGen/Attribute.h | 5 + mlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp | 7 +- mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp | 4 +- .../Dialect/Linalg/Analysis/DependenceAnalysis.cpp | 3 +- mlir/lib/Dialect/Linalg/EDSC/Builders.cpp | 13 +- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 119 +- .../Dialect/Linalg/Transforms/LinalgToLoops.cpp | 3 +- .../Dialect/Linalg/Transforms/LinalgTransforms.cpp | 85 +- mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp | 2 +- mlir/lib/Dialect/Linalg/Utils/Utils.cpp | 31 + mlir/lib/Dialect/SPIRV/CMakeLists.txt | 8 +- mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp | 60 + mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp | 41 +- mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp | 2 + .../lib/Dialect/SPIRV/Serialization/CMakeLists.txt | 2 +- mlir/lib/Dialect/SPIRV/TargetAndABI.cpp | 47 + mlir/lib/Dialect/SPIRV/Transforms/CMakeLists.txt | 3 + .../SPIRV/Transforms/LowerABIAttributesPass.cpp | 2 + mlir/lib/Dialect/Traits.cpp | 2 +- mlir/lib/Dialect/VectorOps/VectorOps.cpp | 2 +- mlir/lib/Dialect/VectorOps/VectorTransforms.cpp | 6 +- mlir/lib/IR/AsmPrinter.cpp | 4 +- mlir/lib/IR/Operation.cpp | 71 +- mlir/lib/IR/OperationSupport.cpp | 34 +- mlir/lib/IR/TypeUtilities.cpp | 2 +- mlir/lib/IR/Value.cpp | 102 + mlir/lib/Parser/Parser.cpp | 4 +- mlir/lib/TableGen/Attribute.cpp | 6 + mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | 2 +- mlir/test/Conversion/GPUToSPIRV/load-store.mlir | 14 +- mlir/test/Conversion/GPUToSPIRV/simple.mlir | 6 +- mlir/test/Dialect/Linalg/affine.mlir | 55 + mlir/test/Dialect/Linalg/invalid.mlir | 45 + mlir/test/Dialect/Linalg/roundtrip.mlir | 23 + mlir/test/Dialect/SPIRV/TestAvailability.cpp | 9 +- .../Dialect/SPIRV/Transforms/abi-load-store.mlir | 44 +- mlir/test/Dialect/SPIRV/Transforms/abi-simple.mlir | 14 +- mlir/test/Dialect/SPIRV/availability.mlir | 20 + mlir/test/Dialect/SPIRV/target-and-abi.mlir | 101 + .../TestLinalgTransformPatterns.td | 134 +- mlir/test/lib/Transforms/TestInlining.cpp | 2 +- mlir/tools/mlir-tblgen/RewriterGen.cpp | 19 +- mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp | 272 +- mlir/tools/mlir-tblgen/StructsGen.cpp | 11 +- mlir/unittests/CMakeLists.txt | 1 + mlir/unittests/Support/CMakeLists.txt | 6 + mlir/unittests/Support/IndexedAccessorTest.cpp | 49 + mlir/unittests/TableGen/StructsGenTest.cpp | 29 +- mlir/unittests/TableGen/structs.td | 2 +- mlir/utils/spirv/gen_spirv_dialect.py | 170 +- openmp/CMakeLists.txt | 2 +- openmp/runtime/CMakeLists.txt | 2 +- openmp/runtime/src/i18n/en_US.txt | 2 +- openmp/runtime/src/kmp.h | 2 +- openmp/runtime/src/kmp_affinity.cpp | 4 +- openmp/runtime/src/kmp_alloc.cpp | 2 +- openmp/runtime/src/kmp_atomic.cpp | 4 +- openmp/runtime/src/kmp_dispatch_hier.h | 2 +- openmp/runtime/src/kmp_ftn_entry.h | 2 +- openmp/runtime/src/kmp_gsupport.cpp | 2 +- openmp/runtime/src/kmp_itt.inl | 4 +- openmp/runtime/src/kmp_runtime.cpp | 2 +- openmp/runtime/src/kmp_str.cpp | 2 +- openmp/runtime/src/kmp_tasking.cpp | 14 +- openmp/runtime/src/z_Linux_util.cpp | 4 +- openmp/runtime/src/z_Windows_NT_util.cpp | 2 +- openmp/runtime/test/ompt/callback.h | 2 +- .../runtime/test/tasking/omp_taskloop_grainsize.c | 2 +- .../runtime/test/tasking/omp_taskloop_num_tasks.c | 2 +- .../test/worksharing/for/omp_for_bigbounds.c | 2 +- .../worksharing/for/omp_for_schedule_dynamic.c | 2 +- .../worksharing/for/omp_for_schedule_static_3.c | 2 +- openmp/runtime/tools/lib/Platform.pm | 2 +- openmp/runtime/tools/lib/Uname.pm | 2 +- openmp/runtime/tools/lib/tools.pm | 4 +- polly/include/polly/RegisterPasses.h | 7 +- polly/lib/Analysis/ScopDetection.cpp | 3 +- polly/lib/CMakeLists.txt | 15 +- polly/lib/Plugin/Polly.cpp | 20 + polly/lib/Polly.cpp | 29 - polly/lib/Support/RegisterPasses.cpp | 25 +- polly/test/Unit/lit.site.cfg.in | 2 +- polly/test/lit.site.cfg.in | 18 +- polly/test/update_check.py | 4 +- 635 files changed, 39005 insertions(+), 26602 deletions(-) create mode 100644 clang-tools-extra/clangd/test/document-link.test create mode 100644 clang-tools-extra/test/clang-tidy/checkers/readability-else-aft [...] create mode 100644 clang-tools-extra/unittests/clang-tidy/AddConstTest.cpp create mode 100644 clang/test/CodeGen/complex-libcalls-2.c create mode 100644 clang/test/Driver/mbackchain.c create mode 100644 clang/test/Parser/warn-misleading-indentation-fix.cpp create mode 100644 lld/test/ELF/hexagon-tls-le.s create mode 100644 lld/test/ELF/riscv-undefined-weak.s delete mode 100644 lldb/packages/Python/lldbsuite/support/optional_with.py delete mode 100644 lldb/packages/Python/lldbsuite/test/commands/expression/complet [...] copy lldb/packages/Python/lldbsuite/test/commands/expression/{codegen-crash-typede [...] rename lldb/packages/Python/lldbsuite/test/commands/expression/{completion-crash2 [...] create mode 100644 llvm/examples/Bye/Bye.cpp create mode 100644 llvm/examples/Bye/CMakeLists.txt create mode 100644 llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.cpp create mode 100644 llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.h create mode 100644 llvm/test/CodeGen/AArch64/align-down.ll delete mode 100644 llvm/test/CodeGen/AArch64/arm64-basic-pic.ll delete mode 100644 llvm/test/CodeGen/AArch64/arm64-code-model-large-abs.ll delete mode 100644 llvm/test/CodeGen/AArch64/arm64-complex-copy-noneon.ll delete mode 100644 llvm/test/CodeGen/AArch64/arm64-extern-weak.ll delete mode 100644 llvm/test/CodeGen/AArch64/arm64-illegal-float-ops.ll delete mode 100644 llvm/test/CodeGen/AArch64/arm64-neon-compare-instructions.ll create mode 100644 llvm/test/CodeGen/AArch64/sub-of-bias.ll create mode 100644 llvm/test/CodeGen/AMDGPU/fneg-fold-legalize-dag-increase-insts.ll create mode 100644 llvm/test/CodeGen/AMDGPU/waitcnt-vscnt.mir create mode 100644 llvm/test/CodeGen/Hexagon/signext-inreg.ll create mode 100644 llvm/test/CodeGen/X86/align-down-const.ll create mode 100644 llvm/test/CodeGen/X86/align-down.ll create mode 100644 llvm/test/CodeGen/X86/fp-strict-scalar-round.ll delete mode 100644 llvm/test/CodeGen/X86/global-access-pie-copyrelocs.ll create mode 100644 llvm/test/CodeGen/X86/not-of-dec.ll create mode 100644 llvm/test/CodeGen/X86/pr44396.ll create mode 100644 llvm/test/CodeGen/X86/sub-of-bias.ll create mode 100644 llvm/test/CodeGen/X86/vec-strict-round-128.ll delete mode 100644 llvm/test/CodeGen/X86/xray-empty-function.mir create mode 100644 llvm/test/Feature/load_extension.ll create mode 100644 llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_f [...] create mode 100644 llvm/test/Transforms/DeadStoreElimination/DeleteThrowableInst.ll create mode 100644 llvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-cal [...] create mode 100644 llvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-cal [...] create mode 100644 llvm/test/Transforms/InstCombine/sub-gep.ll create mode 100755 llvm/test/tools/dsymutil/Inputs/remarks/basic.macho.remarks.arc [...] create mode 100644 llvm/test/tools/dsymutil/Inputs/remarks/libbasic.a create mode 100644 llvm/test/tools/dsymutil/X86/remarks-linking-archive.text create mode 100644 llvm/test/tools/llvm-ranlib/D-flag.test create mode 100755 llvm/utils/gn/secondary/llvm/include/llvm/Support/write_extensi [...] create mode 100644 mlir/include/mlir/Dialect/SPIRV/TargetAndABI.h rename mlir/include/mlir/Dialect/SPIRV/{SPIRVLowering.td => TargetAndABI.td} (100%) create mode 100644 mlir/lib/Dialect/SPIRV/TargetAndABI.cpp create mode 100644 mlir/test/Dialect/Linalg/affine.mlir create mode 100644 mlir/test/Dialect/SPIRV/target-and-abi.mlir create mode 100644 mlir/unittests/Support/CMakeLists.txt create mode 100644 mlir/unittests/Support/IndexedAccessorTest.cpp create mode 100644 polly/lib/Plugin/Polly.cpp delete mode 100644 polly/lib/Polly.cpp