This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-arm-mainline-allnoconfig in repository toolchain/ci/llvm-project.
from 075bc48a7f4 [AMDGPU] separate accounting for agprs adds 3a657afb3a7 AMDGPU/GlobalISel: Fix RegBankSelect for 1024-bit values adds 05aa8a733ee AMDGPU/GlobalISel: Legalize 1024-bit G_BUILD_VECTOR adds bfce0c2664d AMDGPU/GlobalISel: Private loads always use VGPRs adds cdfe5efe9b3 AMDGPU/GlobalISel: Assume VGPR for G_FRAME_INDEX adds c60a8242056 Remove TypeNodes.def from the modulemap. adds 86f864dacee AMDGPU/GlobalISel: Use getIntrinsicID helper adds 5e18f4db08d Fix crash on constant-evaluation of pseudo-destruction of a [...] adds 9e763e1b361 gn build: (manually) merge r373407 adds bfc68885d97 DebugInfo: Update support for detecting C++ language varian [...] adds e3887253165 Revert r368237 - Update fix-it hints for std::move warnings. adds c3aab6eaaa0 Fix GCC -Wreturn-type warnings. NFC. adds 8d6a863b02f [X86] Add broadcast load folding patterns to the NoVLX comp [...] adds 64a362e7216 [llvm-lib] Correctly handle .lib input files adds 36b12a861c4 Rename TypeNodes.def to TypeNodes.inc for consistency acros [...] adds 60e9df33625 [llvm-lib] Detect duplicate input files adds 2ef18fb41ae Reland "[utils] Implement the llvm-locstats tool" adds 1c57143742b [clang-tidy] Fix for commits rL372706 and rL372711 adds 167b0529be7 [Local] Simplify function removeUnreachableBlocks() to avoi [...] adds 70f70035484 [GlobalOpt] Pass DTU to removeUnreachableBlocks instead of [...] adds cbefc36fcc2 Switch lowering: omit range check for bit tests when defaul [...] adds 47dbcbd8ec6 Revert [GlobalOpt] Pass DTU to removeUnreachableBlocks inst [...] adds dafda610210 [AMDGPU] Make printf lowering faster when there are no printfs adds c38188c5fe4 Remove an unnecessary cast. NFC. adds e95e5165960 [clangd] Always send file URIs to editors adds 442be727773 [clang-tidy] Fix typo in r373428 adds 76365b3b24d [IntrinsicEmitter] Add overloaded type VecOfBitcastsToInt f [...] adds b54302e37db gn build: (manually) merge r373425 adds e5032567903 [ClangFormat] Future-proof Standard option, allow floating [...] adds fbd134f9698 [clang-rename] Better renaming the typedef decl. adds 08bfd9e42e1 [ClangFormat] relnotes for r373439 adds 20c5fbb1af0 [clangd] SelectionTree should mark a node as fully-selected [...] adds d44fc23abdb [clangd] Bail out early if we are sure that the symbol is u [...] adds 353ac42ce2f [Support, ARM64] Define getHostCPUFeatures for Windows on A [...] adds c9b5ab8b1c7 [ARM] Identity shuffles are legal adds eed4b122eff ASTContext - silence static analyzer getAs<> null dereferen [...] adds 2bb217b5fec MetadataLoader upgradeCUVariables() - silence static analyz [...] adds c9129cea271 WinException::emitExceptHandlerTable - silence static analy [...] adds d2a3e898777 Fix uninitialized variable warning. NFCI. adds d06ee791f34 Log2_32 returns an unsigned. NFCI. adds 619bcebc05c Fix libc++ pretty printer test for Python 3 after D67238 adds da4cbae6961 LICM - remove unused variable and reduce scope of another v [...] adds 372aece7770 Revert r373431 "Switch lowering: omit range check for bit t [...] adds be21ceb5659 [InstSimplify] fold fma/fmuladd with a NaN or undef operand adds b1fe6c90e66 NFC: directly return when CommonExitBlock != Succ adds 2eb963abff8 [lldb][NFC] Create the ASTContext in ClangASTContext exactly once. adds f2ffa7a1c0e [InstCombine] Precommit tests for D68265 adds 067ed96e8e5 [InstCombine] Simplify fma multiplication to nan for undef [...] adds ecbfb851a07 [lldb][NFC] Remove ClangASTContext::Clear adds 671fb343586 [llvm-objcopy] Add --set-section-alignment adds 9026518e739 [ModuloSchedule] Peel out prologs and epilogs, generate act [...] adds 5591722b5bb gn build: Merge r373462 adds 369d16a1c62 AsmPrinter - emitGlobalConstantFP - silence static analyzer [...] adds e2ded3d131b LoopAccessAnalysis isConsecutiveAccess() - silence static a [...] adds 65e11509882 MemorySSA tryOptimizePhi - assert that we've found a DefCha [...] adds b635964abc7 MemorySSAUpdater::applyInsertUpdates - silence static analy [...] adds 822b2989589 [AArch64][SVE] Implement int_aarch64_sve_cnt intrinsic adds 45297645aab [llvm-dwarfdump] Fix dumping of wrong locstats map adds 5c375ed6694 [lldb] Fix evaluation of nested classes with parent from other CU adds f1758079540 [Clangd] Ensure children are always RootStmt in ExtractFunc [...] adds a24762e773d [Clangd] ExtractFunction: Don't extract body of enclosing f [...] adds 6fa696fb08d [yaml2obj] - Alow Size tag for describing SHT_HASH sections. adds 920ff02ece5 SemaInit - silence static analyzer getAs<> null dereference [...] adds ed3b68e0dc3 SemaOverload - silence static analyzer getAs<> null derefer [...] adds 4496f07497a [llvm-readelf] - Report a warning when .hash section contai [...] adds 9330005a547 Reapply r373431 "Switch lowering: omit range check for bit [...] adds e0712019f27 Silence static analyzer getAs<VectorType> null dereference [...] adds c4a7b912c26 [CodeExtractor] NFC: Refactor sanity checks into isEligible adds 96ab296ea40 Type - silence static analyzer getAs<> null dereference war [...] adds 91b4085b034 LowerExpectIntrinsic handlePhiDef - silence static analyzer [...] adds c2c419ca788 [llvm] [cmake] Add install targets for missing distribution [...] adds 3f4726b8180 [SLP] add test for vectorization of different widths (PR284 [...] adds 49c23908777 [CodeGen] Remove unused MachineMemOperand::print wrappers ( [...] adds 077cc3fcb01 [ThinLTO/WPD] Ensure devirtualized targets use promoted sym [...] adds ef315b5361e [libc++] Use PRIVATE instead of PUBLIC when linking against [...] adds eb6700b57e9 [Local] Remove unused LazyValueInfo pointer from removeUnre [...] adds b879fd05bd7 Add the misc-init-local-variables check. adds 265e94e6579 [AMDGPU] Extend buffer intrinsics with swizzling adds 9ba60b38ccd gn build: Merge r373489 adds 5b74c39d722 [WebAssembly] Error when using wasm64 for ISel adds 0cacf136fcb Fix: Actually erase remove the elements from AssumeHandles adds 74c7d6be284 [X86] Rewrite to the vXi1 subvector insertion code to not r [...] adds 9beb45671ba [JSON] Use LLVM's library for encoding JSON in GDBRemoteCom [...] adds 2a5a906753d [JSON] Use LLVM's library for encoding JSON in GDBRemoteCom [...] adds 7cb720dda04 [JSON] Use LLVM's library for encoding JSON in GDBRemoteCom [...] adds 4f8151e62ef [JSON] Use LLVM's library for encoding JSON in GDBRemoteCom [...] adds 2a0c8b11432 [JSON] Remove Utility/JSON.{h|cpp} adds a15a1413ac6 [OPENMP50]Add parsing/sema analysis for declare variant score. adds 12e915b3fcc [ARM] Make helpers static. NFC. adds 340406a7400 [Stencil] Hide implementaion detai. NFC. adds 24ae5ce54b9 [MemorySSA] Update Phi creation when inserting a Def. adds 9cc90ec3499 [libc++] Revert to using PUBLIC instead of PRIVATE when lin [...] adds 6fdeb0324f2 [ObjectFileMachO] Catch up with FileDesc changes. adds ef46be6c2ac [ObjectFileMachO] FileSpec::SetFile() now takes the style as arg. adds 293ec1e16a3 [RegisterContextDarwin_arm64] Include the headers for getsy [...] adds 3c1084373d3 [ARM64] XPC services are unsupported on device. adds c78c0e08be2 [libc++] Use a function to set warning flags per target adds a80b6c15425 [Local] Handle terminators with users in removeUnreachableBlocks. adds e139a73c5fc [TableGen] Improve error reporting of overlapping definitio [...] adds 464df87288f Handle llvm.launder.invariant.group in msan. adds 9ac0cda40a4 Fix inconsistent indentation in TableGen.cpp adds 925d9d2e144 [libc++] Use functions instead of global variables to set l [...] adds e55c442b1b6 [sanitizer_common] Rename OnPrint to __sanitizer_on_print. adds c7be0679743 [PowerPC] Fix SH field overflow issue adds 5a8b229c97d CGObjCMac - silence static analyzer dyn_cast<>/getAs<> null [...] adds a03d7b0f24b Recommit "[GlobalOpt] Pass DTU to removeUnreachableBlocks i [...] adds 5ac9d18e7d9 [Clang][Driver][NFC] Corrected DeviceActionBuilder methods' [...] adds c5d2746fbea [NFC][libc++abi] Convert stray tabs to spaces adds f2805470e61 ItaniumCXXABI - silence static analyzer getAs<RecordType> n [...] adds 426078a7818 Fix uninitialized variable warning in CodeGenPGO constructo [...] adds 505d7f31058 [gicombiner] Add the boring boilerplate for the declarative [...] adds 59bf75caabe NFC: add namespace {} adds d39e7e2cf15 [compiler-rt] Use GetNextInstructionPc in signal handlers adds 62f190ce9a8 [sanitizer_common] Add __sanitizer_on_print to interface list. adds 38ac6bdb83a [sanitizer_common] Disable onprint.cpp on Android. adds 4d39410b1e0 [sanitizer_common] Declare __sanitizer_on_print in Windows [...] adds b677cb8dc74 DebugInfo: Simplify RangeSpan to be a plain struct adds 641ecbd014f gn build: (manually) merge r373527 new 2772b970e30 [LegalizeTypes] Check for already split condition before ca [...] new f5bda7fe24e [X86] Add test cases for suboptimal vselect+setcc splitting. new 6b45029676e [InstCombine] Transform bcopy to memmove new 406de17b9b9 [clang][ifs] Clang Interface Stubs ToolChain plumbing. new 629cad1266b Move SanitizerInitializeUnwinder outside anonymous namespace. new 11e0bcf8a27 DebugInfo: Rename DebugLocStream::Entry::Begin/EndSym to ju [...] new 29339149c34 [NFC][InstCombine] Add tests for 'variable sext of variable [...] new ae3315af075 [InstCombine] Bypass high bit extract before variable sign- [...] new 2a964eabaa8 [gicombiner] Fix a nullptr dereference when -combiners is g [...] new 1384c3a5b89 [AMDGPU] Fix illegal agpr use by VALU new 603e98948e1 [gicombiner] Fix windows issue where single quotes in the c [...]
The 11 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .../clang-tidy/bugprone/InfiniteLoopCheck.cpp | 17 +- .../clang-tidy/cppcoreguidelines/CMakeLists.txt | 1 + .../CppCoreGuidelinesTidyModule.cpp | 3 + .../cppcoreguidelines/InitVariablesCheck.cpp | 105 + .../cppcoreguidelines/InitVariablesCheck.h | 42 + clang-tools-extra/clangd/ClangdLSPServer.cpp | 2 +- clang-tools-extra/clangd/Selection.cpp | 40 +- clang-tools-extra/clangd/refactor/Rename.cpp | 6 +- .../clangd/refactor/tweaks/ExtractFunction.cpp | 56 +- clang-tools-extra/clangd/unittests/RenameTests.cpp | 44 +- .../clangd/unittests/SelectionTests.cpp | 2 + clang-tools-extra/clangd/unittests/TweakTests.cpp | 16 +- clang-tools-extra/docs/ReleaseNotes.rst | 15 +- .../clang-tidy/checks/bugprone-infinite-loop.rst | 2 +- .../checks/cppcoreguidelines-init-variables.rst | 51 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + .../test/clang-tidy/bugprone-infinite-loop.cpp | 22 + .../cppcoreguidelines-init-variables.cpp | 80 + clang/docs/ClangFormatStyleOptions.rst | 28 +- clang/docs/ReleaseNotes.rst | 10 +- clang/include/clang/AST/ASTFwd.h | 2 +- clang/include/clang/AST/ASTTypeTraits.h | 4 +- clang/include/clang/AST/CMakeLists.txt | 2 +- clang/include/clang/AST/RecursiveASTVisitor.h | 10 +- clang/include/clang/AST/Type.h | 6 +- clang/include/clang/AST/TypeLoc.h | 2 +- clang/include/clang/AST/TypeLocNodes.def | 2 +- clang/include/clang/AST/TypeVisitor.h | 4 +- clang/include/clang/Basic/Attr.td | 15 + clang/include/clang/Driver/Action.h | 12 + clang/include/clang/Driver/Options.td | 3 + clang/include/clang/Driver/Phases.h | 3 +- clang/include/clang/Driver/ToolChain.h | 2 + clang/include/clang/Driver/Types.def | 3 +- clang/include/clang/Format/Format.h | 29 +- clang/include/clang/Sema/Sema.h | 7 +- .../Tooling/Refactoring/RecursiveSymbolVisitor.h | 12 +- clang/include/clang/module.modulemap | 1 - clang/lib/AST/APValue.cpp | 2 +- clang/lib/AST/ASTContext.cpp | 53 +- clang/lib/AST/ASTDiagnostic.cpp | 2 +- clang/lib/AST/ASTTypeTraits.cpp | 4 +- clang/lib/AST/ExprConstant.cpp | 6 +- clang/lib/AST/ItaniumMangle.cpp | 4 +- clang/lib/AST/MicrosoftMangle.cpp | 4 +- clang/lib/AST/Type.cpp | 34 +- clang/lib/AST/TypePrinter.cpp | 6 +- clang/lib/CodeGen/CGAtomic.cpp | 2 +- clang/lib/CodeGen/CGDebugInfo.cpp | 2 +- clang/lib/CodeGen/CGExprScalar.cpp | 6 +- clang/lib/CodeGen/CGObjCGNU.cpp | 3 +- clang/lib/CodeGen/CGObjCMac.cpp | 10 +- clang/lib/CodeGen/CodeGenFunction.cpp | 4 +- clang/lib/CodeGen/CodeGenPGO.h | 4 +- clang/lib/CodeGen/CodeGenTypes.cpp | 2 +- clang/lib/CodeGen/ItaniumCXXABI.cpp | 26 +- clang/lib/Driver/Action.cpp | 6 + clang/lib/Driver/CMakeLists.txt | 1 + clang/lib/Driver/Driver.cpp | 42 +- clang/lib/Driver/Phases.cpp | 1 + clang/lib/Driver/ToolChain.cpp | 10 + clang/lib/Driver/ToolChains/Clang.cpp | 25 +- clang/lib/Driver/ToolChains/InterfaceStubs.cpp | 37 + clang/lib/Driver/ToolChains/InterfaceStubs.h | 36 + clang/lib/Driver/Types.cpp | 18 +- clang/lib/Format/Format.cpp | 37 +- clang/lib/Frontend/CompilerInvocation.cpp | 23 +- clang/lib/Parse/ParseOpenMP.cpp | 26 + clang/lib/Sema/SemaChecking.cpp | 10 +- clang/lib/Sema/SemaExpr.cpp | 2 +- clang/lib/Sema/SemaInit.cpp | 83 +- clang/lib/Sema/SemaLookup.cpp | 2 +- clang/lib/Sema/SemaOpenMP.cpp | 17 +- clang/lib/Sema/SemaOverload.cpp | 50 +- clang/lib/Sema/SemaTemplate.cpp | 2 +- clang/lib/Sema/SemaTemplateDeduction.cpp | 4 +- clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 9 +- clang/lib/Serialization/ASTWriter.cpp | 4 +- clang/lib/Tooling/Refactoring/Stencil.cpp | 2 +- clang/test/InterfaceStubs/bad-format.cpp | 21 +- .../class-template-specialization.cpp | 4 +- clang/test/InterfaceStubs/conflict-type.ifs | 16 + clang/test/InterfaceStubs/driver-test.c | 12 + clang/test/InterfaceStubs/externstatic.c | 26 +- clang/test/InterfaceStubs/func.ifs | 40 + .../function-template-specialization.cpp | 8 +- clang/test/InterfaceStubs/inline.c | 33 +- clang/test/InterfaceStubs/merge-conflict-test.c | 3 + clang/test/InterfaceStubs/object-double.c | 5 + clang/test/InterfaceStubs/object-float.c | 3 + clang/test/InterfaceStubs/object.c | 7 + clang/test/InterfaceStubs/object.ifs | 28 + .../InterfaceStubs/template-namespace-function.cpp | 2 +- clang/test/InterfaceStubs/weak.cpp | 2 +- clang/test/OpenMP/declare_variant_ast_print.c | 2 + clang/test/OpenMP/declare_variant_ast_print.cpp | 21 +- clang/test/OpenMP/declare_variant_messages.c | 5 + clang/test/OpenMP/declare_variant_messages.cpp | 14 +- clang/test/SemaCXX/constant-expression-cxx2a.cpp | 9 + clang/test/SemaCXX/warn-pessmizing-move.cpp | 80 +- clang/test/SemaCXX/warn-redundant-move.cpp | 14 - clang/test/clang-rename/Typedef.cpp | 8 + clang/test/lit.cfg.py | 4 +- clang/unittests/Format/FormatTest.cpp | 24 +- compiler-rt/lib/asan/asan_errors.cpp | 3 +- compiler-rt/lib/lsan/lsan.cpp | 2 +- compiler-rt/lib/msan/msan.cpp | 2 +- .../sanitizer_common_interface.inc | 1 + .../lib/sanitizer_common/sanitizer_printf.cpp | 8 +- .../sanitizer_unwind_linux_libcdep.cpp | 68 +- .../sanitizer_win_weak_interception.cpp | 1 + compiler-rt/lib/tsan/rtl/tsan_rtl.cpp | 2 +- compiler-rt/lib/ubsan/ubsan_signals_standalone.cpp | 5 +- .../TestCases/Linux/signal_line.cpp | 36 + .../test/sanitizer_common/TestCases/onprint.cpp | 33 + libcxx/CMakeLists.txt | 176 +- libcxx/src/CMakeLists.txt | 35 +- .../pretty_printers/gdb_pretty_printer_test.py | 2 +- libcxxabi/src/cxa_default_handlers.cpp | 2 +- libcxxabi/src/cxa_exception.cpp | 18 +- lldb/include/lldb/Symbol/ClangASTContext.h | 12 +- lldb/include/lldb/Utility/JSON.h | 283 -- .../nested-class-other-compilation-unit}/Makefile | 0 .../TestNestedClassWithParentInAnotherCU.py | 29 + .../nested-class-other-compilation-unit/main.cpp | 22 + .../nested-class-other-compilation-unit/other.cpp | 10 + .../nested-class-other-compilation-unit/shared.h | 17 + lldb/source/Host/macosx/objcxx/Host.mm | 4 +- .../Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 8 +- .../Utility/RegisterContextDarwin_arm64.cpp | 5 + .../gdb-remote/GDBRemoteCommunicationClient.cpp | 20 +- .../GDBRemoteCommunicationServerCommon.cpp | 37 +- .../GDBRemoteCommunicationServerLLGS.cpp | 99 +- .../GDBRemoteCommunicationServerPlatform.cpp | 21 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 2 + lldb/source/Symbol/ClangASTContext.cpp | 127 +- lldb/source/Utility/CMakeLists.txt | 1 - lldb/source/Utility/JSON.cpp | 550 ---- .../SymbolFile/DWARF/DWARFASTParserClangTests.cpp | 17 +- lldb/unittests/Utility/CMakeLists.txt | 1 - lldb/unittests/Utility/JSONTest.cpp | 26 - llvm/CMakeLists.txt | 4 + llvm/cmake/modules/AddSphinxTarget.cmake | 11 + llvm/cmake/modules/TableGen.cmake | 6 + llvm/docs/CommandGuide/index.rst | 1 + llvm/docs/CommandGuide/llvm-locstats.rst | 79 + llvm/docs/CommandGuide/llvm-objcopy.rst | 5 + llvm/include/llvm/BinaryFormat/Dwarf.h | 53 + llvm/include/llvm/CodeGen/MachineLoopUtils.h | 41 + llvm/include/llvm/CodeGen/MachineMemOperand.h | 7 - llvm/include/llvm/CodeGen/ModuloSchedule.h | 62 +- llvm/include/llvm/CodeGen/SwitchLoweringUtils.h | 3 +- llvm/include/llvm/IR/Intrinsics.h | 7 +- llvm/include/llvm/IR/Intrinsics.td | 4 + llvm/include/llvm/IR/IntrinsicsAArch64.td | 13 + llvm/include/llvm/IR/IntrinsicsAMDGPU.td | 40 +- llvm/include/llvm/ObjectYAML/ELFYAML.h | 1 + llvm/include/llvm/Target/GlobalISel/Combine.td | 17 + .../llvm/Transforms/IPO/WholeProgramDevirt.h | 2 +- llvm/include/llvm/Transforms/Utils/CodeExtractor.h | 5 +- llvm/include/llvm/Transforms/Utils/Local.h | 3 +- .../llvm/Transforms/Utils/SimplifyLibCalls.h | 1 + llvm/lib/Analysis/AssumptionCache.cpp | 5 +- llvm/lib/Analysis/InstructionSimplify.cpp | 15 +- llvm/lib/Analysis/LegacyDivergenceAnalysis.cpp | 5 +- llvm/lib/Analysis/LoopAccessAnalysis.cpp | 4 +- llvm/lib/Analysis/MemorySSA.cpp | 1 + llvm/lib/Analysis/MemorySSAUpdater.cpp | 79 +- llvm/lib/Bitcode/Reader/MetadataLoader.cpp | 2 +- llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 7 +- llvm/lib/CodeGen/AsmPrinter/DebugLocStream.h | 10 +- llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 12 +- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 39 +- llvm/lib/CodeGen/AsmPrinter/DwarfFile.h | 12 +- llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 2 +- llvm/lib/CodeGen/AsmPrinter/WinException.cpp | 3 +- llvm/lib/CodeGen/CMakeLists.txt | 1 + llvm/lib/CodeGen/MachineLoopUtils.cpp | 132 + llvm/lib/CodeGen/MachineOperand.cpp | 11 - llvm/lib/CodeGen/MachinePipeliner.cpp | 5 +- llvm/lib/CodeGen/ModuloSchedule.cpp | 262 ++ .../CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp | 8 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 43 +- llvm/lib/Demangle/MicrosoftDemangle.cpp | 2 +- llvm/lib/IR/Function.cpp | 24 +- llvm/lib/LTO/LTO.cpp | 11 +- llvm/lib/ObjectYAML/ELFEmitter.cpp | 4 +- llvm/lib/ObjectYAML/ELFYAML.cpp | 17 +- llvm/lib/Support/Host.cpp | 11 + llvm/lib/Target/AArch64/AArch64.td | 1 + llvm/lib/Target/AArch64/AArch64Combine.td | 15 + .../Target/AArch64/AArch64PreLegalizerCombiner.cpp | 17 + llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 10 +- llvm/lib/Target/AArch64/CMakeLists.txt | 2 + llvm/lib/Target/AArch64/SVEInstrFormats.td | 12 +- .../Target/AMDGPU/AMDGPUGenRegisterBankInfo.def | 64 +- llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp | 32 +- .../Target/AMDGPU/AMDGPUInstructionSelector.cpp | 27 +- llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 12 +- .../Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp | 30 +- llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 28 +- .../Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | 4 + llvm/lib/Target/AMDGPU/BUFInstructions.td | 296 +- .../AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp | 4 + .../Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h | 2 + llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | 4 + llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 16 +- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 13 +- llvm/lib/Target/AMDGPU/SIInstrInfo.td | 9 +- llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp | 8 + llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | 2 + llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | 41 + llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h | 18 + llvm/lib/Target/ARM/ARMISelLowering.cpp | 9 +- llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 12 +- .../Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp | 6 + llvm/lib/Target/X86/X86ISelLowering.cpp | 40 +- llvm/lib/Target/X86/X86InstrAVX512.td | 154 +- llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | 236 +- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 10 +- llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp | 6 +- .../Transforms/InstCombine/InstCombineInternal.h | 2 + .../Transforms/InstCombine/InstCombineShifts.cpp | 72 + .../Transforms/Instrumentation/MemorySanitizer.cpp | 9 + llvm/lib/Transforms/Scalar/LICM.cpp | 6 +- .../lib/Transforms/Scalar/LowerExpectIntrinsic.cpp | 2 +- .../Transforms/Scalar/RewriteStatepointsForGC.cpp | 2 +- llvm/lib/Transforms/Utils/CodeExtractor.cpp | 61 +- llvm/lib/Transforms/Utils/Local.cpp | 46 +- llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 8 + llvm/test/Analysis/MemorySSA/pr43427.ll | 42 + .../AArch64/sve-intrinsics-counting-bits.ll | 83 + .../AMDGPU/GlobalISel/inst-select-load-private.mir | 92 +- .../GlobalISel/inst-select-store-private.mir | 36 +- .../AMDGPU/GlobalISel/legalize-build-vector.mir | 119 + .../CodeGen/AMDGPU/GlobalISel/legalize-phi.mir | 76 +- .../llvm.amdgcn.raw.buffer.store.format.f16.ll | 44 +- .../llvm.amdgcn.raw.buffer.store.format.f32.ll | 24 +- .../GlobalISel/llvm.amdgcn.raw.buffer.store.ll | 66 +- .../AMDGPU/GlobalISel/regbankselect-extract.mir | 28 + .../GlobalISel/regbankselect-frame-index.mir | 2 +- .../AMDGPU/GlobalISel/regbankselect-load.mir | 17 + .../CodeGen/AMDGPU/break-vmem-soft-clauses.mir | 42 +- .../CodeGen/AMDGPU/clamp-omod-special-case.mir | 24 +- .../AMDGPU/coalescer-extend-pruned-subrange.mir | 4 +- ...coalescer-subranges-another-copymi-not-live.mir | 2 +- .../coalescer-subranges-another-prune-error.mir | 2 +- .../AMDGPU/coalescer-subregjoin-fullcopy.mir | 6 +- .../coalescer-with-subregs-bad-identical.mir | 2 +- llvm/test/CodeGen/AMDGPU/collapse-endcf.mir | 64 +- llvm/test/CodeGen/AMDGPU/collapse-endcf2.mir | 8 +- .../CodeGen/AMDGPU/constant-fold-imm-immreg.mir | 8 +- .../CodeGen/AMDGPU/couldnt-join-subrange-3.mir | 2 +- .../CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll | 4 +- llvm/test/CodeGen/AMDGPU/fold-fi-mubuf.mir | 24 +- llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir | 2 +- llvm/test/CodeGen/AMDGPU/fold-imm-f16-f32.mir | 78 +- .../CodeGen/AMDGPU/fold-immediate-output-mods.mir | 24 +- llvm/test/CodeGen/AMDGPU/fold-multiple.mir | 2 +- .../CodeGen/AMDGPU/fold_acc_copy_into_valu.mir | 15 + .../AMDGPU/hazard-buffer-store-v-interp.mir | 2 +- llvm/test/CodeGen/AMDGPU/hazard-hidden-bundle.mir | 4 +- .../CodeGen/AMDGPU/illegal-sgpr-to-vgpr-copy.ll | 9 +- .../CodeGen/AMDGPU/indirect-addressing-term.ll | 2 +- .../test/CodeGen/AMDGPU/insert-skips-flat-vmem.mir | 4 +- llvm/test/CodeGen/AMDGPU/insert-waitcnts-exp.mir | 8 +- llvm/test/CodeGen/AMDGPU/inserted-wait-states.mir | 16 +- llvm/test/CodeGen/AMDGPU/invert-br-undef-vcc.mir | 6 +- .../test/CodeGen/AMDGPU/lds-branch-vmem-hazard.mir | 32 +- .../CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.load.ll | 40 + .../CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.store.ll | 31 + .../AMDGPU/memory-legalizer-atomic-insert-end.mir | 2 +- ...ory-legalizer-multiple-mem-operands-atomics.mir | 6 +- ...galizer-multiple-mem-operands-nontemporal-1.mir | 6 +- ...galizer-multiple-mem-operands-nontemporal-2.mir | 6 +- llvm/test/CodeGen/AMDGPU/memory_clause.mir | 4 +- llvm/test/CodeGen/AMDGPU/merge-load-store.mir | 24 +- .../CodeGen/AMDGPU/mubuf-legalize-operands.mir | 30 +- llvm/test/CodeGen/AMDGPU/nsa-vmem-hazard.mir | 10 +- llvm/test/CodeGen/AMDGPU/opt-sgpr-to-vgpr-copy.mir | 6 +- .../CodeGen/AMDGPU/optimize-if-exec-masking.mir | 48 +- .../CodeGen/AMDGPU/pei-reg-scavenger-position.mir | 4 +- .../test/CodeGen/AMDGPU/phi-elimination-end-cf.mir | 2 +- .../CodeGen/AMDGPU/power-sched-no-instr-sunit.mir | 2 +- .../CodeGen/AMDGPU/regcoal-subrange-join-seg.mir | 2 +- llvm/test/CodeGen/AMDGPU/regcoalesce-dbg.mir | 2 +- .../rename-independent-subregs-mac-operands.mir | 8 +- ...hed-assert-dead-def-subreg-use-other-subreg.mir | 4 +- llvm/test/CodeGen/AMDGPU/sched-crash-dbg-value.mir | 8 +- llvm/test/CodeGen/AMDGPU/schedule-barrier.mir | 4 +- llvm/test/CodeGen/AMDGPU/shrink-vop3-carry-out.mir | 36 +- .../CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir | 12 +- llvm/test/CodeGen/AMDGPU/vmem-to-salu-hazard.mir | 24 +- llvm/test/CodeGen/AMDGPU/vmem-vcc-hazard.mir | 20 +- .../CodeGen/AMDGPU/waitcnt-loop-irreducible.mir | 4 +- .../CodeGen/Hexagon/pipeliner/swp-phi-start.mir | 2 +- llvm/test/CodeGen/Hexagon/swp-art-deps-rec.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-bad-sched.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-carried-1.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-carried-dep1.mir | 2 +- llvm/test/CodeGen/Hexagon/swp-carried-dep2.mir | 2 +- llvm/test/CodeGen/Hexagon/swp-chain-refs.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-change-dep1.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-change-deps.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-check-offset.ll | 6 +- llvm/test/CodeGen/Hexagon/swp-const-tc1.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-const-tc2.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-const-tc3.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-conv3x3-nested.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-copytophi-dag.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-dep-neg-offset.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-disable-Os.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-epilog-numphis.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-epilog-phi2.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-epilog-phi4.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-epilog-phi5.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-epilog-phi8.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-kernel-phi1.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-large-rec.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-listen-loop3.ll | 2 +- .../CodeGen/Hexagon/swp-loop-carried-unknown.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-lots-deps.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-max.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-maxstart.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-memrefs-epilog.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-multi-loops.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-new-phi.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-order-copies.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-order-deps7.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-order.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-phi-ch-offset.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-phi-chains.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-phi-dep.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-phi-ref.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-pragma-disable.ii | 2 +- .../Hexagon/swp-pragma-initiation-interval.ii | 2 +- llvm/test/CodeGen/Hexagon/swp-prolog-phi.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-rename.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-resmii-1.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-resmii.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-reuse-phi-6.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-sigma.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-stages4.ll | 4 +- llvm/test/CodeGen/Hexagon/swp-stages5.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-subreg.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-swap.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-tfri.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-vect-dotprod.ll | 6 +- llvm/test/CodeGen/Hexagon/swp-vmult.ll | 2 +- llvm/test/CodeGen/Hexagon/swp-vsum.ll | 4 +- .../MIR/AMDGPU/expected-target-index-name.mir | 2 +- .../MIR/AMDGPU/invalid-target-index-operand.mir | 2 +- .../test/CodeGen/MIR/AMDGPU/load-store-opt-dlc.mir | 28 +- llvm/test/CodeGen/MIR/AMDGPU/mir-canon-multi.mir | 4 +- .../MIR/AMDGPU/parse-order-reserved-regs.mir | 4 +- .../CodeGen/MIR/AMDGPU/target-index-operands.mir | 4 +- llvm/test/CodeGen/PowerPC/sh-overflow.mir | 58 + llvm/test/CodeGen/Thumb2/mve-shuffleext.ll | 56 +- llvm/test/CodeGen/WebAssembly/cpus.ll | 9 +- llvm/test/CodeGen/X86/avx512-calling-conv.ll | 2995 ++++++++++++-------- llvm/test/CodeGen/X86/avx512-ext.ll | 1514 +++++----- llvm/test/CodeGen/X86/avx512-insert-extract.ll | 90 +- llvm/test/CodeGen/X86/avx512-mask-op.ll | 1693 ++++++----- llvm/test/CodeGen/X86/avx512-vec-cmp.ll | 26 +- llvm/test/CodeGen/X86/avx512-vselect.ll | 171 ++ llvm/test/CodeGen/X86/avx512vl-vec-cmp.ll | 24 +- llvm/test/CodeGen/X86/avx512vl-vec-masked-cmp.ll | 480 ++-- llvm/test/CodeGen/X86/combine-bitselect.ll | 6 +- llvm/test/CodeGen/X86/masked_store.ll | 100 +- llvm/test/CodeGen/X86/min-legal-vector-width.ll | 92 + llvm/test/CodeGen/X86/switch-bt.ll | 5 +- llvm/test/CodeGen/X86/vec_smulo.ll | 155 +- llvm/test/CodeGen/X86/vec_umulo.ll | 123 +- llvm/test/CodeGen/X86/vector-trunc-usat.ll | 6 +- llvm/test/DebugInfo/X86/gnu-public-names.ll | 2 +- .../MemorySanitizer/msan_llvm_launder_invariant.ll | 38 + .../MemorySanitizer/msan_llvm_strip_invariant.ll | 21 + llvm/test/ThinLTO/X86/Inputs/devirt_promote.ll | 39 + llvm/test/ThinLTO/X86/devirt_promote.ll | 72 + llvm/test/Transforms/InstCombine/bcopy.ll | 25 + llvm/test/Transforms/InstCombine/fma.ll | 206 +- ...able-signext-of-variable-high-bit-extraction.ll | 575 ++++ llvm/test/Transforms/InstSimplify/call.ll | 36 +- .../SLPVectorizer/X86/different-vec-widths.ll | 105 + llvm/test/lit.cfg.py | 5 + llvm/test/tools/llvm-dwarfdump/X86/locstats.ll | 6 +- llvm/test/tools/llvm-lib/duplicate.test | 14 + llvm/test/tools/llvm-lib/invalid.test | 2 +- llvm/test/tools/llvm-lib/nest.test | 15 + llvm/test/tools/llvm-locstats/lit.local.cfg | 2 + llvm/test/tools/llvm-locstats/locstats.ll | 175 ++ llvm/test/tools/llvm-objcopy/ELF/binary-input.test | 8 + .../llvm-objcopy/ELF/set-section-alignment.test | 54 + llvm/test/tools/llvm-readobj/elf-hash-symbols.test | 40 + llvm/test/tools/yaml2obj/elf-hash-section.yaml | 105 +- llvm/tools/llvm-dwarfdump/Statistics.cpp | 2 +- llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp | 9 +- llvm/tools/llvm-objcopy/CopyConfig.cpp | 26 + llvm/tools/llvm-objcopy/CopyConfig.h | 1 + llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp | 8 + llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp | 15 +- llvm/tools/llvm-objcopy/ObjcopyOpts.td | 4 + llvm/tools/llvm-readobj/ELFDumper.cpp | 11 + llvm/tools/opt-viewer/CMakeLists.txt | 7 + llvm/unittests/Transforms/Utils/LocalTest.cpp | 40 +- llvm/utils/TableGen/CMakeLists.txt | 1 + llvm/utils/TableGen/CodeGenSchedule.cpp | 20 +- llvm/utils/TableGen/GICombinerEmitter.cpp | 100 + llvm/utils/TableGen/IntrinsicEmitter.cpp | 5 +- llvm/utils/TableGen/TableGen.cpp | 138 +- llvm/utils/TableGen/TableGenBackends.h | 1 + .../clang-tidy/cppcoreguidelines/BUILD.gn | 1 + .../gn/secondary/clang/include/clang/AST/BUILD.gn | 5 + llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn | 1 + .../gn/secondary/clang/utils/TableGen/BUILD.gn | 1 + llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn | 1 + .../gn/secondary/llvm/lib/Target/AArch64/BUILD.gn | 10 + .../gn/secondary/llvm/utils/TableGen/BUILD.gn | 1 + llvm/utils/llvm-locstats/CMakeLists.txt | 7 + llvm/utils/llvm-locstats/llvm-locstats.py | 208 ++ 420 files changed, 11050 insertions(+), 6056 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-init [...] create mode 100644 clang-tools-extra/test/clang-tidy/cppcoreguidelines-init-variables.cpp create mode 100644 clang/lib/Driver/ToolChains/InterfaceStubs.cpp create mode 100644 clang/lib/Driver/ToolChains/InterfaceStubs.h create mode 100644 clang/test/InterfaceStubs/conflict-type.ifs create mode 100644 clang/test/InterfaceStubs/driver-test.c create mode 100644 clang/test/InterfaceStubs/func.ifs create mode 100644 clang/test/InterfaceStubs/merge-conflict-test.c create mode 100644 clang/test/InterfaceStubs/object-double.c create mode 100644 clang/test/InterfaceStubs/object-float.c create mode 100644 clang/test/InterfaceStubs/object.c create mode 100644 clang/test/InterfaceStubs/object.ifs create mode 100644 clang/test/clang-rename/Typedef.cpp create mode 100644 compiler-rt/test/sanitizer_common/TestCases/Linux/signal_line.cpp create mode 100644 compiler-rt/test/sanitizer_common/TestCases/onprint.cpp delete mode 100644 lldb/include/lldb/Utility/JSON.h copy lldb/packages/Python/lldbsuite/test/{commands/expression/completion => lang/c [...] create mode 100644 lldb/packages/Python/lldbsuite/test/lang/cpp/nested-class-other [...] create mode 100644 lldb/packages/Python/lldbsuite/test/lang/cpp/nested-class-other [...] create mode 100644 lldb/packages/Python/lldbsuite/test/lang/cpp/nested-class-other [...] create mode 100644 lldb/packages/Python/lldbsuite/test/lang/cpp/nested-class-other [...] delete mode 100644 lldb/source/Utility/JSON.cpp delete mode 100644 lldb/unittests/Utility/JSONTest.cpp create mode 100644 llvm/docs/CommandGuide/llvm-locstats.rst create mode 100644 llvm/include/llvm/CodeGen/MachineLoopUtils.h create mode 100644 llvm/include/llvm/Target/GlobalISel/Combine.td create mode 100644 llvm/lib/CodeGen/MachineLoopUtils.cpp create mode 100644 llvm/lib/Target/AArch64/AArch64Combine.td create mode 100644 llvm/test/Analysis/MemorySSA/pr43427.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-intrinsics-counting-bits.ll create mode 100644 llvm/test/CodeGen/AMDGPU/fold_acc_copy_into_valu.mir create mode 100644 llvm/test/CodeGen/PowerPC/sh-overflow.mir create mode 100644 llvm/test/Instrumentation/MemorySanitizer/msan_llvm_launder_inv [...] create mode 100644 llvm/test/Instrumentation/MemorySanitizer/msan_llvm_strip_invariant.ll create mode 100644 llvm/test/ThinLTO/X86/Inputs/devirt_promote.ll create mode 100644 llvm/test/ThinLTO/X86/devirt_promote.ll create mode 100644 llvm/test/Transforms/InstCombine/bcopy.ll create mode 100644 llvm/test/Transforms/InstCombine/variable-signext-of-variable-h [...] create mode 100644 llvm/test/Transforms/SLPVectorizer/X86/different-vec-widths.ll create mode 100644 llvm/test/tools/llvm-lib/duplicate.test create mode 100644 llvm/test/tools/llvm-lib/nest.test create mode 100644 llvm/test/tools/llvm-locstats/lit.local.cfg create mode 100644 llvm/test/tools/llvm-locstats/locstats.ll create mode 100644 llvm/test/tools/llvm-objcopy/ELF/set-section-alignment.test create mode 100644 llvm/utils/TableGen/GICombinerEmitter.cpp create mode 100644 llvm/utils/llvm-locstats/CMakeLists.txt create mode 100755 llvm/utils/llvm-locstats/llvm-locstats.py