This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_bmk_tx1/llvm-master-aarch64-spec2k6-Oz_LTO in repository toolchain/ci/llvm-project.
from ada8a17d945 [InstCombine] Fold abs intrinsic eq zero adds 73104b0751a [InstSimplify] Fold min/max based on dominating condition adds 4892d3a1983 [InstCombine] Fold abs with dominating condition adds ac87480bd8b [SCEV] Recognize min/max intrinsics adds 9dcc82f34ea Thread safety analysis: Consider global variables in scope adds b2ce79ef661 Thread safety analysis: ValueDecl in Project is non-null adds 5ad6552a836 [InstCombine] Add tests for known negative abs intrinsic (NFC) adds d3a779fe215 Restore size of TemplateParameterList after D44352 adds da6b3aa4c6b Attempt to fix Sphinx build failure, NFC adds bef38e86b4e [ELF] Handle SHT_RISCV_ATTRIBUTES similarly to SHT_ARM_ATTRIBUTES adds 0c642828612 scan-build-py: fix multiprocessing error adds 1ddb3a369f7 [LangRef] Adjust guarantee for llvm.memcpy to also allow eq [...] adds 621b10ca187 [InstSimplify] Add tests for a peculiar abs of abs form (NFC) adds 1387f96ab33 [Hexagon] Handle widening of vector truncate adds 298c9fae937 [NFC][compiler-rt] Refine .clang-tidy checks adds 51597cc37a2 [NFC][Asan] Rename internal enum value. adds 398c44ba84e [NFC][Asan] Inline enum doc strings adds d5d09d93ee1 [NFC][Asan] Reformat some allocator code adds 8789f2bbde8 [Hexagon] Resize the mem operand when widening loads and stores adds 9518f032e49 [Hexagon] When widening truncate result, also widen operand [...] adds 62f89a89f31 [Hexagon] Add assertions about V6_pred_scalar2 adds aff94ec0f4d [AMDGPU] Remove the dead spill slots while spilling FP/BP t [...] adds 9128f5c8a71 [NFC][Asan] Move free_tid from ChunkHeader adds 289c08e4bc6 [NFC][Asan] Fix clang-tidy warning adds eb87e1dbcfd [Asan] Cleanup atomic usage in allocator adds d0abc757495 [GlobalISel] Disable the indexed loads combine completely u [...] adds b2e27a86c18 Revert "[Asan] Cleanup atomic usage in allocator" adds b11db3606ca [Asan] Cleanup atomic usage in allocator adds ff218cbc84f [InstSimplify] Fold degenerate abs of abs form adds 4d0312c8e05 Add proper move ctor/move assign to APValue. NFCI. adds d866dc37498 [ARM] Regenerate tests. NFC adds 667e800bb3a [ARM] Remove -O3 from mve intrinsic tests. NFC adds ecac5c28089 [X86][AVX] lowerShuffleWithPERMV - adjust binary shuffle ma [...] adds 8c386c94749 [SmallVector] Move error handling out of line adds cc6713a2c35 Thread safety analysis: Test and document release_generic_c [...] adds bbb3baf6205 Thread safety analysis: Improve documentation for scoped ca [...] adds 54d432aa6b8 [mlir] Add Shaped Type, Tensor Type and MemRef Type to pyth [...] adds 16bb71fd4f8 [DSE,MemorySSA] Add a few additional debug messages. adds 8542dab909f [compiler-rt] Implement __clear_cache() on OpenBSD/arm adds b536cbaac5f [ValueTracking] Avoid known bits fallback for non-zero get [...] adds ab68517e6b7 [asan_symbolize] Pass --demangle/--no-demangle instead of - [...] adds efa57f9a7ad [PowerPC] Implement Vector Expand Mask builtins in LLVM/Clang adds caee15a0ed5 [WebAssembly] Fix incorrect assumption of simple value types adds d5c45041f14 [machinesink] add testcase for more sinking - NFC adds 69f2c79f2ad [ELF] Add a new e_machine value EM_CSKY and add some CSKY r [...] adds 9bee13f8908 Move targetHasSVE function to lldbtest.py adds 1fd7dc40748 When dumping results of StackLifetime, it will print the fo [...] adds 76953321666 Move NativeRegisterContextLinux/RegisterContextPOSIX*_arm t [...] adds 7403e3ee324 Extend PyConcreteType to support intermediate base classes. adds 70523ecfaca [Sparc] Select the UltraSPARC instruction set with the exte [...] adds b3205e2ace4 [scan-view] Explicitly use utf-8 in send_string adds 80186e4efc9 [CMake][TableGen] Simplify code by using list(TRANSFORM) adds 098130fa403 [CMake][Polly] Remove dead CMake code adds 21c0e74c9e7 [CMake][OpenMP] Remove old dead CMake code adds f4835b94f2c [CMake][TableGen] Remove dead CMake version checks adds 04ea680a8cc [cmake] Fix build of attribute plugin example on Windows adds 5350e1b5096 [KnownBits] Implement accurate unsigned and signed max and min adds a98b126696e Add BinaryFormat/ELFRelocs/CSKY.def to LLVM modulemap adds 40f4131fce7 [DWARFYAML] Make the debug_addr section optional. adds 0af4147804a [ARM][CostModel] CodeSize costs for i1 arith ops adds 713c2ad60c1 [GlobalISel] Extend not_cmp_fold to work on conditional exp [...] adds 65f78e73ad5 [SimplifyCFG] Consider cost of combining predicates. adds e7bd058c7e2 [clang-format] Allow configuring list of macros that map to [...] adds 8aa3b8da5db [clang-format] Handle typename macros inside cast expressions adds cd01eec14bc [clang-format] Check that */& after typename macros are poi [...] adds 56fa7d1dc6a [clang-format] Fix formatting of _Atomic() qualifier adds 9a22eba1509 [clang-format] Parse __underlying_type(T) as a type adds 05147d33091 [clang-format] Correctly parse function declarations with T [...] adds 7634c64b612 [OpenMP][AMDGPU] Use DS_Max_Warp_Number instead of WARPSIZE adds 8d64df9f139 [mlir][Vector] Revisit VectorToSCF. adds 81aa66f65f5 Extract infrastructure to ignore intermediate expressions i [...] adds 1a7a2cd7474 [Ignore Expressions][NFC] Refactor to better use `IgnoreExp [...] adds 0dbe2504af8 [X86] Use Register instead of unsigned. NFCI. adds 22fa6b20d92 [X86] Use Register instead of unsigned. NFCI. adds ee68b66d94b [NFC][PowerPC] Add tests for `mul` with big constants. adds 9ad261540da [X86] Use Register instead of unsigned. NFCI. adds aa3fcb96711 [X86][AVX] Add extra vperm2f128+vpermilvar combine coverage adds 71dfdbe2c73 [X86] getFauxShuffleMask - handle insert_subvector(zero, sub, C) adds 7ba0f81934c [X86] Unbreak the build after 22fa6b20d92e adds 56d1f3138b5 [gn build] Port 81aa66f65f5 adds 0478720157f [clang] Prevent that Decl::dump on a CXXRecordDecl deserial [...] adds 9764eb9212c [gn build] Port 0478720157f adds 928c4b4b498 [SCEV] Refactor isHighCostExpansionHelper adds 136eb79a884 [MLIR][Standard] Add `dynamic_tensor_from_elements` operation adds 3097427f93d [obj2yaml] Add support for dumping the .debug_str section. adds 9b645ebfff1 [X86][AVX] Use lowerShuffleWithPERMV in shuffle combining t [...] adds 5bb27e735d3 X86AvoidStoreForwardingBlocks.cpp - use unsigned for Opcode [...] adds 3a86eb03d54 [llvm-readobj/elf] - Introduce Relocation<ELFT> helper. adds e57cbcbdc18 LegalizeTypes.h - remove orphan SplitVSETCC declaration. NFCI. adds 15acdd75439 [MLIR][Shape] Merge `shape` to `std`/`scf` lowerings. adds 1c849ec40a5 [MLIR] Fix Win test due to partial order of CHECK directives adds 3ca8b9a560a [InstCombine] give a name to an intermediate value for easi [...] adds 28aa60aae25 [InstCombine] add test with more unreachable insts; NFC adds 79ea83e104e [SelectionDAG] memcpy expansion of const volatile struct ig [...] adds a8a91533dd6 [X86] Replace EmitX86AddSubSatExpr with EmitX86BinaryIntrin [...] adds 6670f5d1e66 MachineStableHash.h - remove MachineInstr.h include. NFC. adds dbb81881955 [llvm-readobj/elf] - Generalize the code for printing dynam [...] adds 973800dc7cb Revert "[MLIR][Shape] Merge `shape` to `std`/`scf` lowerings." adds 23f700c785a Revert "[clang] Prevent that Decl::dump on a CXXRecordDecl [...] adds bb73fcfd070 [gn build] Port 23f700c785a adds 2853ae3c1b8 [X86] Update SSE/AVX ABS intrinsics to emit llvm.abs.* (PR46851) adds f6db681a789 [X86][SSE] Move llvm.x86.ssse3.pabs.*.128 intrinsics to sss [...] adds 6b954f1b796 [KillTheDoctor/CMake] Add missing keyword PRIVATE in target [...] adds 4368739941e [llvm-readobj] - Remove code duplication when printing dyna [...] adds a5046f7acec [NFC][PowerPC] Add tests in constants-i64.ll. adds 1e1a4a48198 [mlir] Take ValueRange instead of ArrayRef<Value> in Struct [...] adds 4b530f75199 [X86][SSE] Use llvm.abs.* vector intrinsics instead of old [...] adds 96e0f34be79 [X86] Auto upgrade SSE/AVX PABS intrinsics to generic Intri [...] adds 288c582fc93 Follow up of rG5f1cad4d296a, slightly reduced test case. NFC. adds a70f2eb3e39 [MLIR][Shape] Merge `shape` to `std`/`scf` lowerings. adds b22910daab9 [InstCombine] erase instructions leading up to unreachable adds 60162626a5c [X86] Replace UpgradeX86AddSubSatIntrinsics with UpgradeX86 [...] adds 7993431dad0 [X86][SSE] Add test cases for PR47448 adds 9de0a3da6a7 [X86][SSE] Don't use LowerVSETCCWithSUBUS for unsigned comp [...] adds c4056f84282 [Sparc] Add reduced funnel shift test case for PR47303 adds 783d7116dc8 AntiDepBreaker.h - remove unnecessary ScheduleDAG.h include. NFCI. adds 2e1827271cb [flang] Fix link to old repo location in doxygen mainpage. NFC. adds d01280587d9 [analyzer][StdLibraryFunctionsChecker] Add POSIX pthread ha [...] adds 7e5dab5fca4 [flang] Spelling and format edits to README.txt. NFC. adds 8248c2af949 [analyzer][StdLibraryFunctionsChecker] Have proper weak dep [...] adds eb482afaf5b Reduce the number of memory allocations when displaying a w [...] adds 2480a31e5d6 [AMDGPU] SILowerControlFlow::optimizeEndCF should remove em [...] adds 11d8eedfa5b [InstCombine] move/add tests for icmp with mul operands; NFC adds 7a6d6f0f704 [InstCombine] improve folds for icmp with multiply operands [...] adds 1c34ac03a2d LeonPasses.h - remove orphan function declarations. NFCI. adds dfc333050b5 LeonPasses.h - remove unnecessary includes. NFCI. adds 95ca3aacf0f BTFDebug.h - reduce MachineInstr.h include to forward decla [...] adds 4e89a0ab021 MipsISelLowering.h - remove CCState/CCValAssign forward dec [...] adds 5ea9e655efd VPlan.h - remove unnecessary forward declarations. NFCI. adds e52e7ad54de [ms] [llvm-ml] Add support for bitwise named operators (AND [...] adds 2feb6e9b841 [ms] [llvm-ml] Fix STRUCT field alignment adds a3ec4a3158f [ms] [llvm-ml] Allow use of locally-defined variables in ex [...] adds 7a06b166b1a [DAGCombiner] allow more store merging for non-i8 truncated ops adds f3a6f6ccfdd [X86] Pre-commit new test case for D87214. NFC adds 01b3e167575 [X86] Use the same sequence for i128 ISD::ABS on 64-bit tar [...] adds 70207816e35 [InstCombine] add ptr difference tests; NFC adds 8b300679192 [InstCombine] improve fold of pointer differences adds da79b1eecc6 [SelectionDAG][X86][ARM] Teach ExpandIntRes_ABS to use sra+ [...] adds 9fb46a452d4 [SCCP] Compute ranges for supported intrinsics adds ddab4cd83ea [KnownBits] Avoid some copies (NFC) adds bb7d3af1139 Reland [SimplifyCFG][LoopRotate] SimplifyCFG: disable commo [...] adds 5f5a0bb0872 [asan][test] Use --image-base for Linux/asan_prelink_test.c [...] adds efb8e156daa [DSE,MemorySSA] Add an early check for read clobbers to traversal. adds 3e782bf8090 [Sema][MSVC] warn at dynamic_cast when /GR- is given adds 0a63679267e Add documentation for getDependentDialects() in the PassMan [...] adds 63d1dc66658 Add a doc/tutorial on traversing the IR adds 8dcd6ea644c Update SVG images to be properly cropped (NFC) adds 35f708a3c9f [builtins] Inline __paritysi2 into __paritydi2 and inline _ [...] adds 4536c6acb38 [flang][OpenMP] Enhance parser support for atomic construct [...] adds 10af5bad443 [llvm-objcopy] Consolidate and unify version tests adds 3c0b3250230 [PowerPC] Implement instruction clustering for stores adds 7907e5516a4 [Sema] fix /gr warning test case adds 247d0239652 [Test] Auto-generated checks for some IndVarSimplify tests adds 79651265b2e [Attributor][FIX] Properly return changed if the IR was modified adds ff70c25d765 [Attributor][NFC] Expand `auto` types (clang-fix-it) adds 8637acac5a3 [Attributor][NFC] Clang tidy: no else after continue adds e6208849c8d [Attributor][NFC] Change variable spelling adds 53e4ef7fc25 [Attributor][NFC] Cleanup internalize test case adds 711bf7dcf95 [Attributor][FIX] Don't crash on internalizing linkonce_odr [...] adds e59d9df774e [ELF] --symbol-ordering-file: optimize a loop adds 78071fb5245 [LSR] Canonicalize a formula before insert it into the list adds 28b9ace85f6 [clang] Remove a stray semicolon, fixing pedantic GCC warni [...] adds ea795304ec0 [PowerPC] Add parentheses to silence gcc warning adds 8ee1419ab68 [AARCH64][RegisterCoalescer] clang miscompiles zero-extensi [...] adds bb39eb9e7f4 [PowerPC] Fix getMemOperandWithOffsetWidth adds 046f2402025 [Test] More tests where IndVars fails to eliminate a range check adds 69230e75f12 [flang] Convert release notes to markdown adds 3cda6987236 [obj2yaml] Stop parsing the debug_str section when it encou [...] adds 9be61784495 [mlir][Vector] Make VectorToSCF deterministic adds 2168dbf4cc7 getClangStripDependencyFileAdjuster(): Do not remove -M arg [...] adds 38778e1087b Provide anchor for compiler extensions adds 67b37f571cc [mlir] Conv ops vectorization pass adds 239eff502bc [mlir][VectorOps] Redo the scalar loop emission in VectoToS [...] adds 8d9c13f37d2 Revert "[PowerPC] Implement instruction clustering for stores" adds 7aabb6ad776 [ARM][LowOverheadLoops] Remove modifications to the correct [...] adds 83d82d1fb1c [mlir] Fix of broken build on windows caused by using uint adds 2325d6b42f0 [SyntaxTree] Ignore implicit non-leaf `CXXConstructExpr` adds 46f4439dc9b [SyntaxTree] Ignore implicit leaf `CXXConstructExpr` adds 134455a07c1 [SyntaxTree] Ignore implicit `CXXFunctionalCastExpr` wrappi [...] adds f5087d5c724 [SyntaxTree] Fix crash on functions with default arguments. adds 307dc7b2369 [mlir][VectorOps] Clean up outdated comments. NFCI. adds 58970eb7d1d [OpenMP] Fix typo in CodeGenFunction::EmitOMPWorksharingLoo [...] adds 847299d3f00 [mlir] remove BufferAssignmentPlacer from BufferAssignmentO [...] adds 25c3fa3f133 [DWARFYAML] Make the debug_ranges section optional. adds 0729ae367af X86DomainReassignment.cpp - improve auto const/pointer/refe [...] adds fcff2c32c0f X86CallLowering.cpp - improve auto const/pointer/reference [...] adds ae85da86ad8 [Codegen][X86] Begin moving X86 specific codegen tests into [...] adds df63eedef64 [mlir][VectorOps] adds 4e9f4d0b9d1 [mlir] Fix bug in copy removal adds 86bd8f82cc7 [CMake] Remove dead FindPythonInterp code adds e6740514183 [analyzer] [NFC] Introduce refactoring of PthreadLockChecker adds 4964d75d707 [InstCombine] add bitwise logic fold tests for D86395; NFC adds 156b127945a Add a new altera check for structure packing and alignment. adds 9c9974c3ccb [clang] Limit the maximum level of fold-expr expansion. adds 51d30c3429f [mlir][VectorOps] Fix more GCC5 weirdness adds 94cfbef0a74 [NFC][ARM] Precommit test adds c7b7c32f4a2 [DSE,MemorySSA] Increase walker limit a bit. adds e09e1d97c11 [gn build] (manually) port 156b127945a8 adds 9933188c906 StructPackAlignCheck: Fix a -Winconsistent-missing-override [...] adds 2d9d270e779 Revert 3e782bf809 "[Sema][MSVC] warn at dynamic_cast when / [...] adds 32ae37b038b [clang-tidy] Fix dynamic build failures after 156b127945a8c [...] adds 6dc3e22b575 [DAGTypeLegalizer] Handle ZERO_EXTEND of promoted type in W [...] adds 6454140ab34 [libc++] Make sure we always print all available features adds c2f6a001288 [libc++] Allow overriding the cached value of LIBCXX_TEST_CONFIG adds c81dd3d159a [clang-format] Handle shifts within conditions adds 487a8053100 [AMDGPU] Support disassembly for AMDGPU kernel descriptors adds 71133e8b5bc [clang-tidy] Fix linking for FrontendOpenMP adds e2394245eb2 Add an option for unrolling loops up to a factor. adds 3c83b967cf2 LiveRegUnits.h - reduce MachineRegisterInfo.h include. NFC. adds d25c17f3175 [WebAssembly] Fix fixEndsAtEndOfFunction for try-catch adds 1242dd330d9 GlobalISel: Combine `op undef, x` to 0 adds 514df1b2bb1 [ARM] Follow AACPS standard for volatile bit-fields access width adds d0ccfcb040c [GVN] Add testcase that uses masked loads and stores, NFC adds 97e77ac0ed8 Add more explicit error message when creating a type or att [...] adds 2d7fd38cf7d [sanitizers] Remove unneeded MaybeCall*DefaultOptions() and [...] adds 0dacf3b5ac3 RISCVMatInt.h - remove unnecessary includes. NFCI. adds cd5c5c48483 CFGUpdate.h - remove unused APInt include. NFCI. adds d6f3f612318 Revert "[ARM] Follow AACPS standard for volatile bit-fields [...] adds 1f870bd9284 Add detailed reference for the SearchableTables backend. adds e6bb4c8e7b3 [X86] SSE4_A should only imply SSE3 not SSSE3 in the frontend. adds 59a467ee4fa [Coroutine] Make dealing with alloca spills more robust adds e97f3b1b432 [InstCombine] Fold abs of known negative operand adds 6eef387ddd8 [InstCombine] Test comparison of abs with int min (NFC) adds f6b87da0c73 [InstCombine] Fold comparison of abs with int min adds d95ef009bd5 Update clang/test/Driver/darwin-infer-simulator-sdkroot.c adds ce49b7d9ca0 [llvm-install-name-tool] Add a test with multiple input files adds 863aa0a37bd [LLD][ELF] Fix performance of MarkLive::scanEhFrameSection adds 17dce2fe43c [UnifyFunctionExitNodes] Remove unused getters, NFC adds 5b2b4f331d7 Retry of D84974 adds 8927c900697 [InstCombine] Add tests for known bits for min/max intrinsi [...] adds 8453fbf0889 [ValueTracking] Compute known bits of min/max intrinsics adds 66310aafa0d fix typos; improve a couple of descriptions; add release note adds f4ac79a364f Sema: extract a check for `isCFError` (NFC) adds 041da0d828e [HIP] Add gfx1031 and gfx1030 adds 5c463d107d3 Revert "Retry of D84974" adds c05095cd686 [Asan] Don't crash if metadata is not initialized adds 27650a5fed1 [NFC][Asan] Remove Debug code adds d183f472617 [Hexagon] Handle widening of truncation's operand with lega [...] adds 8893d0816cc [MLIR] Change Operation::create() methods to use Value/Type [...] adds 76a2c434f2c Insert missing bracket in docs. adds b1e68f885b5 [SelectionDAGBuilder] Pass fast math flags to getNode calls [...] adds 69da27c7496 llvm-symbolizer: Add optional "start file" to match "start line" adds 88bf133c99c [libunwind] Replace chain-of-ifdefs for dl_iterate_phdr adds 844e94a5026 [SelectionDAGBuilder] Remove Unnecessary FastMathFlags temp [...] adds e7b40c5492e [llvm] [unittest] Allow getting a C string from the TempDir [...] adds efc17c4bc66 [NFC] Fixing a gcc compiler warning. adds be561fad1eb Remove unused variable(s) adds 055d2095898 Handle masked loads and stores in MemoryLocation/Dependence adds 4013bab9c4a [NFC][ThinLTO] EmbedBitcodeSection doesn't need the Config adds 4682f654031 [obj2yaml][test] Test generating and dumping a broken debug [...] adds 889cf9bedff [EarlyCSE] Add testcase for masked loads and stores, NFC adds 88b368a1c47 [PowerPC] Set setMaxAtomicSizeInBitsSupported appropriately [...] adds b9d086693b5 [llvm-cov gcov] Compute unmeasured arc counts by Kirchhoff' [...] adds c2b7b9b642b [Hexagon] Fix order of operands in V6_vdealb4w adds 1bb1eac6b17 [libFuzzer] Add a command-line option for tracing mutation [...] adds 795e4ee9d2d [NFC] Move functon from IndVarSimplify to SCEV adds c58dfbdc818 [flang][msvc] Avoid range-based for over initializer_list. NFC.
No new revisions were added by this update.
Summary of changes: clang-tools-extra/clang-tidy/CMakeLists.txt | 2 + .../clang-tidy/ClangTidyForceLinker.h | 5 + .../clang-tidy/altera/AlteraTidyModule.cpp | 39 ++ clang-tools-extra/clang-tidy/altera/CMakeLists.txt | 22 + .../clang-tidy/altera/StructPackAlignCheck.cpp | 144 ++++++ .../clang-tidy/altera/StructPackAlignCheck.h | 41 ++ .../clang-tidy/modernize/UseAutoCheck.cpp | 2 +- .../readability/SimplifyBooleanExprCheck.cpp | 2 +- clang-tools-extra/docs/ReleaseNotes.rst | 21 + .../clang-tidy/checks/altera-struct-pack-align.rst | 54 +++ .../checks/bugprone-redundant-branch-condition.rst | 2 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + clang-tools-extra/docs/clang-tidy/index.rst | 1 + .../checkers/altera-struct-pack-align.cpp | 101 ++++ clang/CMakeLists.txt | 37 +- clang/docs/ClangFormatStyleOptions.rst | 17 + clang/docs/ThreadSafetyAnalysis.rst | 94 +++- clang/examples/Attribute/CMakeLists.txt | 2 +- clang/include/clang/AST/APValue.h | 11 +- clang/include/clang/AST/DeclTemplate.h | 2 +- clang/include/clang/AST/Expr.h | 12 +- clang/include/clang/AST/IgnoreExpr.h | 61 +++ clang/include/clang/Basic/BuiltinsPPC.def | 7 + clang/include/clang/Basic/DiagnosticSemaKinds.td | 3 + clang/include/clang/Format/Format.h | 19 + clang/include/clang/Sema/Sema.h | 1 + .../clang/StaticAnalyzer/Checkers/Checkers.td | 3 +- clang/lib/AST/APValue.cpp | 24 +- clang/lib/AST/CMakeLists.txt | 1 + clang/lib/AST/Expr.cpp | 233 ++------- clang/lib/AST/IgnoreExpr.cpp | 129 +++++ clang/lib/Analysis/ThreadSafety.cpp | 18 +- clang/lib/Analysis/ThreadSafetyCommon.cpp | 2 +- clang/lib/Basic/Cuda.cpp | 2 +- clang/lib/CodeGen/CGBuiltin.cpp | 35 +- clang/lib/CodeGen/CGExprCXX.cpp | 2 +- clang/lib/CodeGen/CGStmtOpenMP.cpp | 2 +- clang/lib/Driver/ToolChains/Arch/Sparc.cpp | 9 +- clang/lib/Format/Format.cpp | 2 + clang/lib/Format/FormatToken.cpp | 1 + clang/lib/Format/FormatToken.h | 7 +- clang/lib/Format/FormatTokenLexer.cpp | 2 + clang/lib/Format/TokenAnnotator.cpp | 90 ++-- clang/lib/Headers/altivec.h | 27 ++ clang/lib/Sema/SemaExpr.cpp | 2 +- clang/lib/Sema/SemaType.cpp | 52 +- clang/lib/Sema/TreeTransform.h | 13 + .../StaticAnalyzer/Checkers/PthreadLockChecker.cpp | 271 +++++------ .../Checkers/StdLibraryFunctionsChecker.cpp | 95 ++++ clang/lib/StaticAnalyzer/Core/CallEvent.cpp | 2 +- clang/lib/Tooling/ArgumentsAdjusters.cpp | 34 +- clang/lib/Tooling/Syntax/BuildTree.cpp | 67 ++- clang/test/Analysis/analyzer-enabled-checkers.c | 2 +- .../test/Analysis/std-c-library-functions-POSIX.c | 42 ++ ...std-c-library-functions-arg-enabled-checkers.c} | 15 +- .../std-c-library-functions-arg-weakdeps.c | 64 +++ clang/test/CodeGen/{ => X86}/x86-64-inline-asm.c | 0 .../{ => X86}/x86-GCC-inline-asm-Y-constraints.c | 0 .../CodeGen/{ => X86}/x86-atomic-long_double.c | 0 clang/test/CodeGen/{ => X86}/x86-bswap.c | 0 .../CodeGen/{ => X86}/x86-builtins-vector-width.c | 0 clang/test/CodeGen/{ => X86}/x86-builtins.c | 0 clang/test/CodeGen/{ => X86}/x86-cf-protection.c | 0 clang/test/CodeGen/{ => X86}/x86-crc-builtins.c | 0 clang/test/CodeGen/{ => X86}/x86-enqcmd-builtins.c | 0 .../{ => X86}/x86-inline-asm-min-vector-width.c | 0 .../{ => X86}/x86-inline-asm-v-constraint.c | 0 clang/test/CodeGen/{ => X86}/x86-long-double.cpp | 0 clang/test/CodeGen/{ => X86}/x86-nontemporal.c | 0 .../test/CodeGen/{ => X86}/x86-serialize-intrin.c | 0 clang/test/CodeGen/{ => X86}/x86-soft-float.c | 0 .../test/CodeGen/{ => X86}/x86-tsxldtrk-builtins.c | 0 clang/test/CodeGen/{ => X86}/x86-vec-i128.c | 0 .../CodeGen/{ => X86}/x86-vec-struct-packing.c | 0 clang/test/CodeGen/{ => X86}/x86-vector-width.c | 0 clang/test/CodeGen/{ => X86}/x86.c | 0 .../CodeGen/{ => X86}/x86_32-arguments-darwin.c | 0 .../CodeGen/{ => X86}/x86_32-arguments-iamcu.c | 0 .../CodeGen/{ => X86}/x86_32-arguments-linux.c | 0 .../CodeGen/{ => X86}/x86_32-arguments-nommx.c | 0 .../CodeGen/{ => X86}/x86_32-arguments-realign.c | 0 .../CodeGen/{ => X86}/x86_32-arguments-win32.c | 0 .../CodeGen/{ => X86}/x86_32-fpcc-struct-return.c | 0 clang/test/CodeGen/{ => X86}/x86_32-inline-asm.c | 0 clang/test/CodeGen/{ => X86}/x86_32-xsave.c | 0 clang/test/CodeGen/{ => X86}/x86_64-PR42672.c | 0 .../CodeGen/{ => X86}/x86_64-arguments-darwin.c | 0 .../test/CodeGen/{ => X86}/x86_64-arguments-nacl.c | 0 .../CodeGen/{ => X86}/x86_64-arguments-win32.c | 0 clang/test/CodeGen/{ => X86}/x86_64-arguments.c | 0 clang/test/CodeGen/{ => X86}/x86_64-atomic-128.c | 0 clang/test/CodeGen/{ => X86}/x86_64-floatvectors.c | 0 .../{ => X86}/x86_64-instrument-functions.c | 0 clang/test/CodeGen/{ => X86}/x86_64-longdouble.c | 0 clang/test/CodeGen/{ => X86}/x86_64-mno-sse.c | 0 clang/test/CodeGen/{ => X86}/x86_64-mno-sse2.c | 0 .../CodeGen/{ => X86}/x86_64-profiling-keep-fp.c | 0 clang/test/CodeGen/{ => X86}/x86_64-xsave.c | 0 .../{ => X86}/x86_inlineasm_curly_bracket_escape.c | 0 clang/test/CodeGen/arm-mve-intrinsics/vmaxaq.c | 28 +- clang/test/CodeGen/arm-mve-intrinsics/vmaxnmaq.c | 24 +- clang/test/CodeGen/arm-mve-intrinsics/vmaxnmq.c | 24 +- clang/test/CodeGen/arm-mve-intrinsics/vmaxq.c | 40 +- clang/test/CodeGen/arm-mve-intrinsics/vminaq.c | 28 +- clang/test/CodeGen/arm-mve-intrinsics/vminnmaq.c | 24 +- clang/test/CodeGen/arm-mve-intrinsics/vminnmq.c | 24 +- clang/test/CodeGen/arm-mve-intrinsics/vminq.c | 40 +- clang/test/CodeGen/avx2-builtins.c | 12 +- clang/test/CodeGen/avx512bw-builtins.c | 32 +- clang/test/CodeGen/avx512f-builtins.c | 32 +- clang/test/CodeGen/avx512vl-builtins.c | 74 +-- clang/test/CodeGen/avx512vlbw-builtins.c | 80 ++-- clang/test/CodeGen/builtins-ppc-p10vector.c | 30 ++ clang/test/CodeGen/ssse3-builtins.c | 12 +- clang/test/Driver/darwin-infer-simulator-sdkroot.c | 43 +- clang/test/Driver/freebsd.c | 2 +- clang/test/Driver/hip-offload-arch.hip | 10 + clang/test/Driver/linux-as.c | 4 +- clang/test/Driver/openbsd.c | 2 +- clang/test/Preprocessor/predefined-arch-macros.c | 2 + clang/test/SemaCXX/fold_expr_expansion_limit.cpp | 9 + clang/test/SemaCXX/thread-safety-annotations.h | 3 +- clang/test/SemaCXX/warn-thread-safety-analysis.cpp | 7 +- clang/test/SemaCXX/warn-thread-safety-negative.cpp | 29 ++ clang/tools/scan-build-py/bin/analyze-build | 7 +- clang/tools/scan-build-py/bin/intercept-build | 7 +- clang/tools/scan-build-py/bin/scan-build | 7 +- clang/tools/scan-view/share/ScanView.py | 2 +- clang/unittests/Format/FormatTest.cpp | 206 +++++++- clang/unittests/Tooling/Syntax/BuildTreeTest.cpp | 532 +++++++++++++++++++-- clang/unittests/Tooling/ToolingTest.cpp | 34 ++ compiler-rt/.clang-tidy | 4 +- compiler-rt/CMakeLists.txt | 33 +- compiler-rt/lib/asan/asan_allocator.cpp | 222 ++++----- compiler-rt/lib/asan/asan_flags.cpp | 10 +- compiler-rt/lib/asan/asan_interface_internal.h | 4 +- compiler-rt/lib/asan/scripts/asan_symbolize.py | 2 +- compiler-rt/lib/builtins/clear_cache.c | 4 +- compiler-rt/lib/builtins/paritydi2.c | 6 +- compiler-rt/lib/builtins/parityti2.c | 8 +- compiler-rt/lib/cfi/cfi.cpp | 2 +- compiler-rt/lib/fuzzer/FuzzerDriver.cpp | 2 + compiler-rt/lib/fuzzer/FuzzerFlags.def | 5 + compiler-rt/lib/fuzzer/FuzzerIO.cpp | 13 + compiler-rt/lib/fuzzer/FuzzerIO.h | 3 + compiler-rt/lib/fuzzer/FuzzerLoop.cpp | 33 ++ compiler-rt/lib/fuzzer/FuzzerMutate.cpp | 9 + compiler-rt/lib/fuzzer/FuzzerMutate.h | 2 + compiler-rt/lib/fuzzer/FuzzerOptions.h | 1 + compiler-rt/lib/hwasan/hwasan.cpp | 2 +- compiler-rt/lib/lsan/lsan.cpp | 2 +- compiler-rt/lib/lsan/lsan_common.cpp | 16 +- compiler-rt/lib/msan/msan.cpp | 14 +- compiler-rt/lib/msan/msan_interface_internal.h | 4 +- compiler-rt/lib/sanitizer_common/.clang-tidy | 16 - .../sanitizer_allocator_combined.h | 7 - .../sanitizer_allocator_primary32.h | 1 - .../sanitizer_allocator_primary64.h | 23 - compiler-rt/lib/tsan/rtl/tsan_flags.cpp | 2 +- compiler-rt/lib/ubsan/ubsan_flags.cpp | 6 +- compiler-rt/lib/ubsan/ubsan_flags.h | 2 - compiler-rt/test/.clang-tidy | 1 + .../asan/TestCases/Linux/asan_prelink_test.cpp | 7 +- compiler-rt/test/asan/TestCases/lsan_crash.cpp | 31 ++ compiler-rt/test/fuzzer/mutation-graph.test | 17 + .../instrprof-gcov-multiple-bbs-single-line.c.gcov | 2 +- flang/README.md | 11 +- flang/docs/OpenMP-4.5-grammar.txt | 2 + flang/docs/ReleaseNotes.md | 87 ++++ flang/docs/ReleaseNotes.rst | 96 ---- flang/docs/doxygen-mainpage.dox | 2 +- flang/include/flang/Common/enum-set.h | 4 +- flang/include/flang/Parser/dump-parse-tree.h | 16 +- flang/include/flang/Parser/parse-tree.h | 57 ++- flang/lib/Parser/openmp-parsers.cpp | 91 ++-- flang/lib/Parser/unparse.cpp | 54 ++- flang/test/Semantics/omp-atomic.f90 | 22 +- libcxx/CMakeLists.txt | 38 +- libcxx/utils/libcxx/test/config.py | 2 + libunwind/src/AddressSpace.hpp | 59 +-- libunwind/src/config.h | 11 + libunwind/test/frameheadercache_test.pass.cpp | 27 +- lld/CMakeLists.txt | 39 +- lld/ELF/InputFiles.cpp | 53 +- lld/ELF/MarkLive.cpp | 6 +- lld/ELF/SyntheticSections.h | 2 +- lld/ELF/Writer.cpp | 8 +- lld/test/ELF/riscv-attributes.s | 33 ++ lldb/packages/Python/lldbsuite/test/lldbtest.py | 23 + .../Plugins/Process/FreeBSD/FreeBSDThread.cpp | 5 +- .../RegisterContextPOSIXProcessMonitor_arm.cpp | 6 +- .../RegisterContextPOSIXProcessMonitor_arm.h | 4 +- .../Linux/NativeRegisterContextLinux_arm.cpp | 94 +--- .../Process/Linux/NativeRegisterContextLinux_arm.h | 34 +- .../Process/Utility/RegisterContextPOSIX_arm.cpp | 131 +---- .../Process/Utility/RegisterContextPOSIX_arm.h | 51 +- .../Process/Utility/RegisterInfoPOSIX_arm.cpp | 104 +++- .../Process/Utility/RegisterInfoPOSIX_arm.h | 15 +- .../elf-core/RegisterContextPOSIXCore_arm.cpp | 4 +- .../elf-core/RegisterContextPOSIXCore_arm.h | 2 +- .../Plugins/Process/elf-core/ThreadElfCore.cpp | 14 +- .../rw_access_static_config/TestSVERegisters.py | 27 +- llvm/CMakeLists.txt | 37 +- llvm/cmake/modules/TableGen.cmake | 20 +- llvm/docs/LangRef.rst | 10 +- llvm/docs/ReleaseNotes.rst | 7 +- llvm/docs/TableGen/BackEnds.rst | 381 ++++++++++++++- llvm/docs/TableGen/ProgRef.rst | 35 +- llvm/docs/TransformMetadata.rst | 2 +- llvm/include/llvm/ADT/SmallVector.h | 36 +- llvm/include/llvm/Analysis/ScalarEvolution.h | 5 + llvm/include/llvm/BinaryFormat/ELF.h | 7 + llvm/include/llvm/BinaryFormat/ELFRelocs/CSKY.def | 74 +++ llvm/include/llvm/CodeGen/AntiDepBreaker.h | 1 - .../llvm/CodeGen/GlobalISel/CombinerHelper.h | 7 +- llvm/include/llvm/CodeGen/LiveRegUnits.h | 2 +- llvm/include/llvm/CodeGen/MachineOutliner.h | 3 +- llvm/include/llvm/CodeGen/MachineStableHash.h | 4 +- llvm/include/llvm/CodeGen/SelectionDAG.h | 6 +- llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 69 +-- llvm/include/llvm/CodeGen/StableHashing.h | 2 +- llvm/include/llvm/DebugInfo/DIContext.h | 18 +- llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h | 1 + llvm/include/llvm/IR/IntrinsicsPowerPC.td | 12 + llvm/include/llvm/Object/ELFObjectFile.h | 4 + llvm/include/llvm/ObjectYAML/DWARFYAML.h | 4 +- llvm/include/llvm/ProfileData/GCOV.h | 10 +- llvm/include/llvm/Support/AMDHSAKernelDescriptor.h | 70 +-- llvm/include/llvm/Support/CFGUpdate.h | 1 - llvm/include/llvm/Support/KnownBits.h | 16 + llvm/include/llvm/Target/GlobalISel/Combine.td | 9 +- llvm/include/llvm/Testing/Support/SupportHelpers.h | 3 + llvm/include/llvm/Transforms/Utils/Local.h | 1 + .../Transforms/Utils/ScalarEvolutionExpander.h | 33 +- .../llvm/Transforms/Utils/SimplifyCFGOptions.h | 2 +- .../llvm/Transforms/Utils/UnifyFunctionExitNodes.h | 16 +- llvm/include/llvm/module.modulemap | 1 + llvm/lib/Analysis/BasicAliasAnalysis.cpp | 22 +- llvm/lib/Analysis/InstructionSimplify.cpp | 19 +- llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | 23 +- llvm/lib/Analysis/MemoryLocation.cpp | 15 + llvm/lib/Analysis/ScalarEvolution.cpp | 44 ++ llvm/lib/Analysis/StackLifetime.cpp | 2 +- llvm/lib/Analysis/ValueTracking.cpp | 93 ++-- .../lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp | 35 +- llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | 106 +++- llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp | 36 +- llvm/lib/CodeGen/LiveRegUnits.cpp | 4 - llvm/lib/CodeGen/MachineOutliner.cpp | 2 - llvm/lib/CodeGen/MachineStableHash.cpp | 1 + llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 24 +- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 12 +- .../CodeGen/SelectionDAG/LegalizeFloatTypes.cpp | 11 +- .../CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 28 +- llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h | 2 - .../CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 23 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 30 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 153 +++--- .../lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 7 - llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 2 +- llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 20 +- llvm/lib/DebugInfo/DWARF/DWARFDie.cpp | 11 + llvm/lib/DebugInfo/Symbolize/DIPrinter.cpp | 6 +- llvm/lib/Extensions/Extensions.cpp | 15 + llvm/lib/Extensions/LLVMBuild.txt | 2 +- llvm/lib/IR/AutoUpgrade.cpp | 38 +- llvm/lib/LTO/LTOBackend.cpp | 4 +- llvm/lib/MC/MCParser/MasmParser.cpp | 88 ++-- llvm/lib/Object/ELF.cpp | 9 + llvm/lib/ObjectYAML/DWARFEmitter.cpp | 4 +- llvm/lib/ObjectYAML/DWARFYAML.cpp | 7 +- llvm/lib/ObjectYAML/ELFYAML.cpp | 4 + llvm/lib/Passes/PassBuilder.cpp | 13 +- llvm/lib/ProfileData/GCOV.cpp | 67 ++- llvm/lib/Support/KnownBits.cpp | 62 +++ llvm/lib/Support/SmallVector.cpp | 51 +- llvm/lib/Support/X86TargetParser.cpp | 2 +- llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp | 16 + llvm/lib/Target/AArch64/AArch64RegisterInfo.h | 6 + llvm/lib/Target/AArch64/AArch64TargetMachine.cpp | 1 + .../AMDGPU/Disassembler/AMDGPUDisassembler.cpp | 345 +++++++++++++ .../AMDGPU/Disassembler/AMDGPUDisassembler.h | 30 +- llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | 14 +- llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | 47 +- llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp | 7 +- llvm/lib/Target/ARM/ARMTargetMachine.cpp | 3 +- llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 17 +- llvm/lib/Target/BPF/BTFDebug.h | 8 +- llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 9 +- llvm/lib/Target/Hexagon/HexagonISelLowering.h | 9 +- llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp | 127 ++++- llvm/lib/Target/Hexagon/HexagonPatternsHVX.td | 11 +- llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp | 1 + llvm/lib/Target/Mips/MipsISelLowering.h | 2 - llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 7 +- llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 2 +- llvm/lib/Target/PowerPC/PPCInstrPrefix.td | 15 +- llvm/lib/Target/RISCV/Utils/RISCVMatInt.cpp | 4 +- llvm/lib/Target/RISCV/Utils/RISCVMatInt.h | 3 +- llvm/lib/Target/Sparc/LeonPasses.cpp | 7 +- llvm/lib/Target/Sparc/LeonPasses.h | 9 +- .../Target/WebAssembly/WebAssemblyCFGStackify.cpp | 72 ++- .../Target/WebAssembly/WebAssemblyISelLowering.cpp | 4 +- llvm/lib/Target/X86/X86AsmPrinter.cpp | 2 +- .../Target/X86/X86AvoidStoreForwardingBlocks.cpp | 4 +- llvm/lib/Target/X86/X86CallLowering.cpp | 17 +- llvm/lib/Target/X86/X86DomainReassignment.cpp | 10 +- llvm/lib/Target/X86/X86FrameLowering.cpp | 8 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 161 +++---- llvm/lib/Target/X86/X86InstrInfo.cpp | 10 +- llvm/lib/Transforms/Coroutines/CoroFrame.cpp | 121 +++-- llvm/lib/Transforms/IPO/Attributor.cpp | 42 +- llvm/lib/Transforms/IPO/AttributorAttributes.cpp | 6 +- llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 3 + .../Transforms/InstCombine/InstCombineAddSub.cpp | 36 +- .../Transforms/InstCombine/InstCombineCalls.cpp | 26 + .../Transforms/InstCombine/InstCombineCompares.cpp | 22 +- .../Transforms/InstCombine/InstCombineInternal.h | 1 + .../InstCombine/InstructionCombining.cpp | 13 + .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 39 +- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 32 +- llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 8 +- llvm/lib/Transforms/Scalar/SCCP.cpp | 19 + llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp | 4 +- .../Transforms/Utils/ScalarEvolutionExpander.cpp | 289 ++++++----- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 28 +- .../Transforms/Utils/UnifyFunctionExitNodes.cpp | 24 +- llvm/lib/Transforms/Vectorize/VPlan.h | 2 - llvm/test/Analysis/BasicAA/assume.ll | 4 +- llvm/test/Analysis/BasicAA/cs-cs.ll | 48 +- llvm/test/Analysis/BasicAA/guards.ll | 4 +- llvm/test/Analysis/CostModel/ARM/arith.ll | 6 +- llvm/test/Analysis/MemorySSA/basicaa-memcpy.ll | 2 +- .../Analysis/ScalarEvolution/minmax-intrinsics.ll | 12 +- .../CodeGen/AArch64/GlobalISel/combine-shl.mir | 29 ++ .../GlobalISel/prelegalizercombiner-invert-cmp.mir | 118 +++++ llvm/test/CodeGen/AArch64/fp-const-fold.ll | 16 - llvm/test/CodeGen/AArch64/merge-trunc-store.ll | 49 +- llvm/test/CodeGen/AArch64/zext-reg-coalesce.mir | 33 ++ llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll | 9 +- llvm/test/CodeGen/AMDGPU/collapse-endcf.mir | 32 +- llvm/test/CodeGen/AMDGPU/nop-data.ll | 4 +- llvm/test/CodeGen/AMDGPU/stack-realign.ll | 8 +- llvm/test/CodeGen/ARM/memcpy-const-vol-struct.ll | 18 + llvm/test/CodeGen/ARM/pr45824.ll | 57 +-- .../CodeGen/Hexagon/autohvx/isel-truncate-legal.ll | 34 ++ llvm/test/CodeGen/Hexagon/autohvx/isel-truncate.ll | 4 +- .../CodeGen/Hexagon/autohvx/isel-widen-memop.ll | 36 ++ .../{short-store-widen.ll => isel-widen-store.ll} | 0 .../Hexagon/autohvx/isel-widen-truncate-op.ll | 37 ++ .../CodeGen/Hexagon/autohvx/isel-widen-truncate.ll | 24 + llvm/test/CodeGen/PowerPC/atomics-indexed.ll | 140 ++++-- llvm/test/CodeGen/PowerPC/atomics.ll | 437 +++++++++++++++-- llvm/test/CodeGen/PowerPC/constants-i64.ll | 45 +- llvm/test/CodeGen/PowerPC/fmf-propagation.ll | 4 +- llvm/test/CodeGen/PowerPC/mulli.ll | 70 +++ llvm/test/CodeGen/PowerPC/p10-vector-mask-ops.ll | 56 +++ .../CodeGen/PowerPC/sink-down-more-instructions.ll | 97 ++++ llvm/test/CodeGen/SPARC/fshl.ll | 48 ++ llvm/test/CodeGen/SystemZ/fp-mul-14.ll | 3 - llvm/test/CodeGen/SystemZ/vec-zext.ll | 16 + .../Thumb2/LowOverheadLoops/mov-after-dlstp.mir | 5 +- .../CodeGen/Thumb2/LowOverheadLoops/mov-operand.ll | 1 - .../CodeGen/Thumb2/LowOverheadLoops/remat-vctp.ll | 108 +++++ llvm/test/CodeGen/Thumb2/mve-abs.ll | 35 +- .../CodeGen/Thumb2/mve-gather-scatter-tailpred.ll | 13 +- llvm/test/CodeGen/Thumb2/mve-pred-vctpvpsel.ll | 11 +- llvm/test/CodeGen/Thumb2/mve-vecreduce-fadd.ll | 76 +-- llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll | 48 ++ llvm/test/CodeGen/WebAssembly/pr47375.ll | 36 ++ llvm/test/CodeGen/X86/abs.ll | 51 +- llvm/test/CodeGen/X86/avx2-intrinsics-fast-isel.ll | 24 +- llvm/test/CodeGen/X86/combine-abs.ll | 160 +++++-- llvm/test/CodeGen/X86/fp-undef.ll | 25 - llvm/test/CodeGen/X86/iabs.ll | 47 ++ llvm/test/CodeGen/X86/insertelement-ones.ll | 10 +- .../CodeGen/X86/shuffle-strided-with-offset-256.ll | 52 +- .../CodeGen/X86/shuffle-strided-with-offset-512.ll | 43 +- llvm/test/CodeGen/X86/shuffle-vs-trunc-512.ll | 18 +- .../test/CodeGen/X86/ssse3-intrinsics-fast-isel.ll | 24 +- .../CodeGen/X86/ssse3-intrinsics-x86-upgrade.ll | 69 +++ llvm/test/CodeGen/X86/ssse3-intrinsics-x86.ll | 63 --- llvm/test/CodeGen/X86/stores-merging.ll | 22 +- llvm/test/CodeGen/X86/vector-shuffle-512-v16.ll | 9 +- llvm/test/CodeGen/X86/vector-shuffle-avx512.ll | 35 +- .../CodeGen/X86/vector-shuffle-combining-avx.ll | 35 +- .../CodeGen/X86/vector-shuffle-combining-avx2.ll | 29 +- llvm/test/CodeGen/X86/vector-unsigned-cmp.ll | 95 +++- llvm/test/CodeGen/X86/vector-zext.ll | 19 +- llvm/test/ObjectYAML/MachO/DWARF-debug_ranges.yaml | 69 +++ llvm/test/ObjectYAML/MachO/DWARF-debug_str.yaml | 58 +++ llvm/test/Transforms/Attributor/internalize.ll | 82 ++-- llvm/test/Transforms/Coroutines/coro-param-copy.ll | 57 ++- .../DeadStoreElimination/MSSA/memset-and-memcpy.ll | 12 +- .../MSSA/read-clobber-after-overwrite.ll | 58 +++ .../Transforms/DeadStoreElimination/MSSA/simple.ll | 12 +- llvm/test/Transforms/EarlyCSE/masked-intrinsics.ll | 45 ++ llvm/test/Transforms/GVN/masked-load-store.ll | 41 ++ .../Transforms/IndVarSimplify/canonicalize-cmp.ll | 69 ++- .../Transforms/IndVarSimplify/lftr-multi-exit.ll | 36 +- .../Transforms/IndVarSimplify/monotonic_checks.ll | 82 +++- llvm/test/Transforms/IndVarSimplify/pr18223.ll | 20 +- llvm/test/Transforms/InstCombine/abs-intrinsic.ll | 132 ++++- llvm/test/Transforms/InstCombine/assume.ll | 45 +- llvm/test/Transforms/InstCombine/icmp-mul.ll | 303 ++++++++++++ llvm/test/Transforms/InstCombine/icmp.ll | 52 -- .../Transforms/InstCombine/minmax-intrinsics.ll | 47 ++ .../InstCombine/pr33689_same_bitwidth.ll | 2 - llvm/test/Transforms/InstCombine/sub-gep.ll | 58 ++- llvm/test/Transforms/InstCombine/sub.ll | 35 +- llvm/test/Transforms/InstCombine/xor.ll | 74 +++ llvm/test/Transforms/InstSimplify/abs_intrinsic.ll | 67 ++- .../Transforms/InstSimplify/maxmin_intrinsics.ll | 42 +- .../LoopStrengthReduce/AArch64/pr47329.ll | 299 ++++++++++++ llvm/test/Transforms/PGOProfile/chr.ll | 7 + .../loop-rotation-vs-common-code-hoisting.ll | 29 +- llvm/test/Transforms/SCCP/intrinsics.ll | 18 +- .../SimplifyCFG/ARM/branch-fold-threshold.ll | 162 +++++-- .../Transforms/SimplifyCFG/common-code-hoisting.ll | 2 +- llvm/test/tools/llvm-cov/gcov-4.7.c | 22 +- llvm/test/tools/llvm-cov/gcov-8.c | 32 +- llvm/test/tools/llvm-cov/gcov-9.c | 18 +- llvm/test/tools/llvm-dwarfdump/X86/lookup.s | 6 +- .../tools/llvm-ml/named_bitwise_operators.test | 20 + llvm/test/tools/llvm-ml/struct.test | 32 +- llvm/test/tools/llvm-ml/variable.test | 13 + .../tools/llvm-objcopy/ELF/objcopy-version.test | 4 - .../test/tools/llvm-objcopy/ELF/strip-version.test | 5 - .../MachO/install-name-tool-version.test | 2 - .../test/tools/llvm-objcopy/tool-help-message.test | 2 + llvm/test/tools/llvm-objcopy/tool-version.test | 15 + .../tools/llvm-objdump/ELF/AMDGPU/kd-failure.s | 37 ++ llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-sgpr.s | 49 ++ llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-vgpr.s | 36 ++ .../llvm-objdump/ELF/AMDGPU/kd-zeroed-gfx10.s | 58 +++ .../tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-gfx9.s | 53 ++ .../tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-raw.s | 41 ++ llvm/test/tools/llvm-symbolizer/sym-verbose.test | 12 + llvm/test/tools/obj2yaml/ELF/DWARF/debug-str.yaml | 125 +++++ llvm/test/tools/yaml2obj/ELF/DWARF/debug-addr.yaml | 15 + .../tools/yaml2obj/ELF/DWARF/debug-ranges.yaml | 14 + llvm/tools/llvm-objdump/llvm-objdump.cpp | 17 - llvm/tools/llvm-readobj/ELFDumper.cpp | 296 +++++------- llvm/tools/obj2yaml/dwarf2yaml.cpp | 25 +- llvm/tools/obj2yaml/elf2yaml.cpp | 33 +- llvm/tools/obj2yaml/macho2yaml.cpp | 6 +- llvm/tools/obj2yaml/obj2yaml.h | 3 +- .../unittests/CodeGen/GlobalISel/KnownBitsTest.cpp | 4 +- llvm/unittests/Object/ELFObjectFileTest.cpp | 15 + llvm/unittests/Support/KnownBitsTest.cpp | 44 +- llvm/unittests/Support/LockFileManagerTest.cpp | 2 +- llvm/utils/KillTheDoctor/CMakeLists.txt | 1 + .../clang-tools-extra/clang-tidy/BUILD.gn | 1 + .../clang-tools-extra/clang-tidy/altera/BUILD.gn | 18 + llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn | 1 + mlir/docs/PassManagement.md | 11 + mlir/docs/Tutorials/UnderstandingTheIRStructure.md | 287 +++++++++++ mlir/docs/includes/img/DefUseChains.svg | 1 + mlir/docs/includes/img/Use-list.svg | 1 + mlir/include/mlir-c/StandardTypes.h | 28 ++ mlir/include/mlir/Conversion/Passes.h | 1 - mlir/include/mlir/Conversion/Passes.td | 12 +- .../mlir/Conversion/ShapeToSCF/ShapeToSCF.h | 27 -- mlir/include/mlir/Dialect/Affine/Passes.h | 3 +- mlir/include/mlir/Dialect/Affine/Passes.td | 2 + .../mlir/Dialect/Linalg/Transforms/Transforms.h | 51 ++ mlir/include/mlir/Dialect/SCF/SCFOps.td | 8 +- .../mlir/Dialect/StandardOps/EDSC/Builders.h | 18 +- mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 49 ++ mlir/include/mlir/Dialect/Vector/EDSC/Intrinsics.h | 17 +- mlir/include/mlir/Dialect/Vector/VectorOps.td | 29 +- mlir/include/mlir/EDSC/Builders.h | 4 +- mlir/include/mlir/IR/AttributeSupport.h | 17 + mlir/include/mlir/IR/BlockSupport.h | 41 ++ mlir/include/mlir/IR/Operation.h | 14 +- mlir/include/mlir/IR/OperationSupport.h | 8 +- mlir/include/mlir/IR/TypeSupport.h | 15 + mlir/include/mlir/Support/StorageUniquer.h | 10 + mlir/include/mlir/Transforms/BufferPlacement.h | 52 +- .../Dialect/Vector/CPU/test-transfer-to-loops.mlir | 105 ++++ mlir/lib/Bindings/Python/IRModules.cpp | 296 ++++++++++-- mlir/lib/CAPI/IR/StandardTypes.cpp | 36 ++ mlir/lib/Conversion/CMakeLists.txt | 1 - mlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp | 3 +- .../lib/Conversion/SCFToStandard/SCFToStandard.cpp | 4 +- mlir/lib/Conversion/ShapeToSCF/CMakeLists.txt | 19 - mlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp | 337 ------------- .../Conversion/ShapeToStandard/ShapeToStandard.cpp | 391 ++++++++++++--- .../Conversion/StandardToLLVM/StandardToLLVM.cpp | 14 +- .../VectorToLLVM/ConvertVectorToLLVM.cpp | 2 +- mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp | 252 +++++----- mlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp | 14 +- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 7 +- mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp | 2 +- mlir/lib/Dialect/Linalg/Transforms/Loops.cpp | 2 +- .../Dialect/Linalg/Transforms/TensorsToBuffers.cpp | 31 +- .../Dialect/Linalg/Transforms/Vectorization.cpp | 111 ++++- mlir/lib/Dialect/SCF/SCF.cpp | 8 +- mlir/lib/Dialect/Shape/IR/Shape.cpp | 2 +- .../Shape/Transforms/ShapeToShapeLowering.cpp | 2 +- mlir/lib/Dialect/StandardOps/IR/Ops.cpp | 62 ++- mlir/lib/Dialect/Vector/VectorOps.cpp | 24 + mlir/lib/IR/Block.cpp | 28 +- mlir/lib/IR/Operation.cpp | 29 +- mlir/lib/IR/OperationSupport.cpp | 2 +- mlir/lib/Support/StorageUniquer.cpp | 16 + mlir/lib/Transforms/BufferPlacement.cpp | 17 - mlir/lib/Transforms/CopyRemoval.cpp | 37 +- mlir/lib/Transforms/Utils/LoopUtils.cpp | 1 - mlir/test/Bindings/Python/ir_types.py | 183 ++++++- .../LinalgToVector/linalg-to-vector.mlir | 167 +++++++ mlir/test/Conversion/ShapeToSCF/shape-to-scf.mlir | 132 ----- .../ShapeToStandard/shape-to-standard.mlir | 211 ++++++-- .../StandardToLLVM/convert-static-memref-ops.mlir | 6 +- .../Conversion/VectorToSCF/vector-to-loops.mlir | 110 ++--- mlir/test/Dialect/SCF/loop-unroll.mlir | 22 + mlir/test/Dialect/Standard/invalid.mlir | 66 +++ mlir/test/Dialect/Standard/ops.mlir | 14 +- mlir/test/EDSC/builder-api-test.cpp | 2 +- mlir/test/IR/print-ir-defuse.mlir | 31 ++ mlir/test/IR/print-ir-nesting.mlir | 57 +++ mlir/test/Transforms/copy-removal.mlir | 64 +++ mlir/test/lib/IR/CMakeLists.txt | 2 + mlir/test/lib/IR/TestPrintDefUse.cpp | 71 +++ mlir/test/lib/IR/TestPrintNesting.cpp | 96 ++++ mlir/test/lib/Transforms/CMakeLists.txt | 1 + mlir/test/lib/Transforms/TestBufferPlacement.cpp | 31 +- mlir/test/lib/Transforms/TestConvVectorization.cpp | 51 ++ mlir/test/lib/Transforms/TestLoopUnrolling.cpp | 3 + mlir/tools/mlir-opt/mlir-opt.cpp | 6 + openmp/cmake/OpenMPTesting.cmake | 9 +- openmp/libomptarget/deviceRTLs/common/omptarget.h | 2 +- .../deviceRTLs/common/src/data_sharing.cu | 2 +- openmp/runtime/cmake/LibompCheckFortranFlag.cmake | 47 +- polly/cmake/polly_macros.cmake | 15 - polly/lib/External/CMakeLists.txt | 3 +- 536 files changed, 13332 insertions(+), 5208 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/altera/AlteraTidyModule.cpp create mode 100644 clang-tools-extra/clang-tidy/altera/CMakeLists.txt create mode 100644 clang-tools-extra/clang-tidy/altera/StructPackAlignCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/altera/StructPackAlignCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/altera-struct-pack-align.rst create mode 100644 clang-tools-extra/test/clang-tidy/checkers/altera-struct-pack-a [...] create mode 100644 clang/include/clang/AST/IgnoreExpr.h create mode 100644 clang/lib/AST/IgnoreExpr.cpp copy clang/test/Analysis/{analyzer-enabled-checkers.c => std-c-library-functions-a [...] create mode 100644 clang/test/Analysis/std-c-library-functions-arg-weakdeps.c rename clang/test/CodeGen/{ => X86}/x86-64-inline-asm.c (100%) rename clang/test/CodeGen/{ => X86}/x86-GCC-inline-asm-Y-constraints.c (100%) rename clang/test/CodeGen/{ => X86}/x86-atomic-long_double.c (100%) rename clang/test/CodeGen/{ => X86}/x86-bswap.c (100%) rename clang/test/CodeGen/{ => X86}/x86-builtins-vector-width.c (100%) rename clang/test/CodeGen/{ => X86}/x86-builtins.c (100%) rename clang/test/CodeGen/{ => X86}/x86-cf-protection.c (100%) rename clang/test/CodeGen/{ => X86}/x86-crc-builtins.c (100%) rename clang/test/CodeGen/{ => X86}/x86-enqcmd-builtins.c (100%) rename clang/test/CodeGen/{ => X86}/x86-inline-asm-min-vector-width.c (100%) rename clang/test/CodeGen/{ => X86}/x86-inline-asm-v-constraint.c (100%) rename clang/test/CodeGen/{ => X86}/x86-long-double.cpp (100%) rename clang/test/CodeGen/{ => X86}/x86-nontemporal.c (100%) rename clang/test/CodeGen/{ => X86}/x86-serialize-intrin.c (100%) rename clang/test/CodeGen/{ => X86}/x86-soft-float.c (100%) rename clang/test/CodeGen/{ => X86}/x86-tsxldtrk-builtins.c (100%) rename clang/test/CodeGen/{ => X86}/x86-vec-i128.c (100%) rename clang/test/CodeGen/{ => X86}/x86-vec-struct-packing.c (100%) rename clang/test/CodeGen/{ => X86}/x86-vector-width.c (100%) rename clang/test/CodeGen/{ => X86}/x86.c (100%) rename clang/test/CodeGen/{ => X86}/x86_32-arguments-darwin.c (100%) rename clang/test/CodeGen/{ => X86}/x86_32-arguments-iamcu.c (100%) rename clang/test/CodeGen/{ => X86}/x86_32-arguments-linux.c (100%) rename clang/test/CodeGen/{ => X86}/x86_32-arguments-nommx.c (100%) rename clang/test/CodeGen/{ => X86}/x86_32-arguments-realign.c (100%) rename clang/test/CodeGen/{ => X86}/x86_32-arguments-win32.c (100%) rename clang/test/CodeGen/{ => X86}/x86_32-fpcc-struct-return.c (100%) rename clang/test/CodeGen/{ => X86}/x86_32-inline-asm.c (100%) rename clang/test/CodeGen/{ => X86}/x86_32-xsave.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-PR42672.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-arguments-darwin.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-arguments-nacl.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-arguments-win32.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-arguments.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-atomic-128.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-floatvectors.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-instrument-functions.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-longdouble.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-mno-sse.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-mno-sse2.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-profiling-keep-fp.c (100%) rename clang/test/CodeGen/{ => X86}/x86_64-xsave.c (100%) rename clang/test/CodeGen/{ => X86}/x86_inlineasm_curly_bracket_escape.c (100%) create mode 100644 clang/test/Driver/hip-offload-arch.hip create mode 100644 clang/test/SemaCXX/fold_expr_expansion_limit.cpp delete mode 100644 compiler-rt/lib/sanitizer_common/.clang-tidy create mode 100644 compiler-rt/test/.clang-tidy create mode 100644 compiler-rt/test/asan/TestCases/lsan_crash.cpp create mode 100644 compiler-rt/test/fuzzer/mutation-graph.test create mode 100644 flang/docs/ReleaseNotes.md delete mode 100644 flang/docs/ReleaseNotes.rst create mode 100644 lld/test/ELF/riscv-attributes.s create mode 100644 llvm/include/llvm/BinaryFormat/ELFRelocs/CSKY.def create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/combine-shl.mir create mode 100644 llvm/test/CodeGen/AArch64/zext-reg-coalesce.mir create mode 100644 llvm/test/CodeGen/ARM/memcpy-const-vol-struct.ll create mode 100644 llvm/test/CodeGen/Hexagon/autohvx/isel-truncate-legal.ll create mode 100644 llvm/test/CodeGen/Hexagon/autohvx/isel-widen-memop.ll rename llvm/test/CodeGen/Hexagon/autohvx/{short-store-widen.ll => isel-widen-store [...] create mode 100644 llvm/test/CodeGen/Hexagon/autohvx/isel-widen-truncate-op.ll create mode 100644 llvm/test/CodeGen/Hexagon/autohvx/isel-widen-truncate.ll create mode 100644 llvm/test/CodeGen/PowerPC/mulli.ll create mode 100644 llvm/test/CodeGen/PowerPC/sink-down-more-instructions.ll create mode 100644 llvm/test/CodeGen/SPARC/fshl.ll create mode 100644 llvm/test/CodeGen/Thumb2/LowOverheadLoops/remat-vctp.ll create mode 100644 llvm/test/CodeGen/WebAssembly/pr47375.ll create mode 100644 llvm/test/CodeGen/X86/ssse3-intrinsics-x86-upgrade.ll create mode 100644 llvm/test/Transforms/DeadStoreElimination/MSSA/read-clobber-aft [...] create mode 100644 llvm/test/Transforms/EarlyCSE/masked-intrinsics.ll create mode 100644 llvm/test/Transforms/GVN/masked-load-store.ll create mode 100644 llvm/test/Transforms/InstCombine/minmax-intrinsics.ll create mode 100644 llvm/test/Transforms/LoopStrengthReduce/AArch64/pr47329.ll create mode 100644 llvm/test/tools/llvm-ml/named_bitwise_operators.test create mode 100644 llvm/test/tools/llvm-ml/variable.test delete mode 100644 llvm/test/tools/llvm-objcopy/ELF/objcopy-version.test delete mode 100644 llvm/test/tools/llvm-objcopy/ELF/strip-version.test delete mode 100644 llvm/test/tools/llvm-objcopy/MachO/install-name-tool-version.test create mode 100644 llvm/test/tools/llvm-objcopy/tool-version.test create mode 100644 llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-failure.s create mode 100644 llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-sgpr.s create mode 100644 llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-vgpr.s create mode 100644 llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-gfx10.s create mode 100644 llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-gfx9.s create mode 100644 llvm/test/tools/llvm-objdump/ELF/AMDGPU/kd-zeroed-raw.s create mode 100644 llvm/test/tools/obj2yaml/ELF/DWARF/debug-str.yaml create mode 100644 llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/altera/BUILD.gn create mode 100644 mlir/docs/Tutorials/UnderstandingTheIRStructure.md create mode 100644 mlir/docs/includes/img/DefUseChains.svg create mode 100644 mlir/docs/includes/img/Use-list.svg delete mode 100644 mlir/include/mlir/Conversion/ShapeToSCF/ShapeToSCF.h create mode 100644 mlir/integration_test/Dialect/Vector/CPU/test-transfer-to-loops.mlir delete mode 100644 mlir/lib/Conversion/ShapeToSCF/CMakeLists.txt delete mode 100644 mlir/lib/Conversion/ShapeToSCF/ShapeToSCF.cpp create mode 100644 mlir/test/Conversion/LinalgToVector/linalg-to-vector.mlir delete mode 100644 mlir/test/Conversion/ShapeToSCF/shape-to-scf.mlir create mode 100644 mlir/test/IR/print-ir-defuse.mlir create mode 100644 mlir/test/IR/print-ir-nesting.mlir create mode 100644 mlir/test/lib/IR/TestPrintDefUse.cpp create mode 100644 mlir/test/lib/IR/TestPrintNesting.cpp create mode 100644 mlir/test/lib/Transforms/TestConvVectorization.cpp