This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-arm-stable-allnoconfig in repository toolchain/ci/llvm-project.
from 47e1ce4abea [IR] Add getExtendedType() to IntegerType and Type (dispatc [...] adds 566b3164c51 [Sema] Fix the atomic expr rebuilding order. adds 72a4621cdf0 [TableGen] Emit OperandType enums for RegisterOperands/Regi [...] adds 869ef0a6279 [ABISysV] Fix regression for Simulator and MacABI adds a7d186c7964 [Host] File::GetWaitableHandle() should call fileno() adds e3c2163ffe1 [X86] Use TargetConstant for condition code on X86ISD::SETC [...] adds 174d43d123f [ASTImporter] 2nd attempt to fix Windows buildbot test errors adds 48db0272d62 [InstCombine] Annotate strndup calls with dereferenceable_or_null adds 05a95b208ee [WebAssembly] Remove unused memory instructions and patterns adds fa9a4aa1975 [mips] Reformat test case to simplify addition new tests. NFC adds 25a7dd85531 [mips] Add tests to check MIPS FreeBSD emulations. NFC adds 4750d79ac68 [mips] Support elf32btsmipn32_fbsd / elf32ltsmipn32_fbsd em [...] adds 948786c9295 File::SetDescriptor() should require options adds 595cfda0599 [InstCombine] foldAndOfICmps(): Acquire SimplifyQuery with [...] adds 23aac95a32c [InstCombine] foldOrOfICmps(): Acquire SimplifyQuery with set CxtI adds 99d3dd287ad [WebAssembly] vNxM.load_splat instructions adds c98bb8658e0 [LLDB] Rework a MinGW build fix from D65691 adds 638f072f87d [LLDB] [PECOFF] Recognize arm64 executables adds e64849b11e6 [LLDB] [Windows] Map COFF ARM machine ids to the right trip [...] adds f6f4b98f03f [lld][WebAssembly] Preserve symbol flags in --relocatable output adds 8a6916e6db8 [X86] Reduce the number of unique check prefixes in memset- [...] adds 144276bfe43 Fix uninitialized variable warning. NFCI. adds bf9c8ffb549 Support for DWARF-5 C++ language tags. adds 28b38c277a2 [Diagnostics] Warn for enum constants in bool context (-Win [...] adds 22fd88530b1 [SampleFDO] Treat names in profile as not cold only when pr [...] adds 2eef85e2472 [llvm-lipo] Add support for archives adds 082f895b1a9 HotColdSplitting: invalidate the AssumptionCache on split adds 86c3af90296 [NFCI] Return PathSensitiveBugReport where appropriate adds 1cefad10cfd [Make] Add support for building NeXT-style frameworks adds 5b5f1c8efd6 [NFC][InstCombine] Add tests for shifty implementation of c [...] adds 5c49c267147 Revert "Support for DWARF-5 C++ language tags." adds 2c5e6646ef1 [MemorySSA] Update Phi insertion. adds 837273711e0 [llvm-cov] NFC: Specify a specific C++ standard in the test. adds adec1209e62 [GlobalISel][IRTranslator] Fix switch table lowering to use [...] adds 89521997159 [InstCombine] Fold a shifty implementation of clamp-to-zero. adds c41dba99295 Adapt test to upstream clang compiler changes. adds a4dd98f2e90 [InstCombine] Fold a shifty implementation of clamp-to-allones. adds fbd13570b0d [static analyzer] Define __clang_analyzer__ macro in driver adds 72b9049b43c [static analyzer] Remove --analyze-auto adds 350de4f05d8 Support for DWARF-5 C++ language tags. adds 4185460f758 [lit] Add -D__clang_analyzer__ to clang_analyze_cc1 adds c7541903d72 [static analyzer][test] Test directly that driver sets D__c [...] adds 1605eb1c1cf Fix int to bool errors exposed due to r372612. adds 5199aa88fe6 Revert "[static analyzer][test] Test directly that driver s [...] adds 5e61895aed1 Revert "[lit] Add -D__clang_analyzer__ to clang_analyze_cc1" adds b26e9e2a8f1 Revert "[static analyzer] Define __clang_analyzer__ macro i [...] adds 3135a01da82 [ASTImporter] 3rd attempt to fix Windows buildbot test errors adds bce849e3509 [clang-format] NFC clang-format the clang-format unit tests adds bd2a910a63f Ignore generated @import statements in the expression evaluator adds 6ba63d8851a [lldb] Add completion support for log enable/disable/list adds ef06dd4328b [lldb] Remove redundant argument lists in CompletionRequest adds 54b78f3bb67 [clang-tidy] New bugprone-infinite-loop check for detecting [...] adds 0fcb3afb401 [LV] Forced vectorization with runtime checks and OptForSize adds 8126340b3f7 [lldb] Fix log output and UtilityTests/LogChannelTest.List adds 88a5bba7b59 sanitizer_common: fix freebsd build error adds 02dddfd2aef [LLDB] [Windows] Add missing ifdefs to fix building for non [...] adds 3abbd43a595 [LLDB] Avoid warnings about redefining posix mode defines on MinGW adds 75c57b587d4 [lldb][NFC] Relax completion tests for log command to make [...] adds 49f3c2b6048 [Debuginfo] dbg.value points to undef value after Induction [...] adds cb3d969453c Revert rL372693 : [clang-tidy] New bugprone-infinite-loop c [...] adds 9223d438db3 [ASTImporter] 4th attempt to fix Windows buildbot test errors adds 3352bdfaabf [clang-tidy] Add missing InfiniteLoopCheck.h, InfiniteLoopC [...] adds 52c55d7fb5d gn build: Merge r372706 adds 849fd28cf0f [Diagnostics] Do not diagnose unsigned shifts in boolean co [...] adds 2c99246624b [NFC] Update test after r372708 adds aaff1a631ab MCRegisterInfo: Merge getLLVMRegNum and getLLVMRegNumFromEH adds 168b3fb38ba [clang-tidy] Add bugprone-infinite-loop.rst from D64736 to [...] adds c83eefcfda7 [llvm-objcopy] Refactor ELF-specific config out to ELFCopy [...] adds 2d810475d4d gn build: Merge r372712 adds e07376a320d [modularize] Fix compilation warning after r372681 adds a0d79d846ff [clang-tidy][test] Add -fexceptions to bugprone-infinite-loop.test adds 9379d19ff86 [lldb] Decouple importing the std C++ module from the way t [...] adds 49d851f403a [ARM] Split large truncating MVE stores adds 2462d421ee2 [ARM] MVE sext and widen/narrow tests from larger types. NFC adds c81f8e4ce10 lowerObjCCall - silence static analyzer dyn_cast<CallInst> [...] adds 2fb41fc70c1 [ARM] Split large widening MVE loads adds 9942c07745f [ModuloSchedule] KernelRewriter::rewrite - silence static a [...] adds 6bac09afe89 [lldb][NFC] Use llvm::StringRef in formatters::NSStringSumm [...] adds 7e3c74bc63f [clangd] Collect macros in the preamble region of the main file adds bc58230e29d SimplifyCFG - silence static analyzer dyn_cast<Instruction> [...] adds 9e8076b2197 SimplifyCFG - silence static analyzer dyn_cast<LandingPadIn [...] adds b6d11def374 [SimplifyCFG] FoldTwoEntryPHINode - silence static analyzer [...] adds 08f90e3d571 [lldb] Use convert_to_slash in CppModuleConfiguration adds 886a4ff977c [TSAN] Add read/write range interface functions with PC adds b2077fdc372 [tblgen] Disable Leak detection for ASan/GCC and LSan/LLVM adds 934f18144de LoopVectorize - silence static analyzer dyn_cast<CmpInst> n [...] adds 06cdcb5f68b [IR] IntrinsicInst - silence static analyzer dyn_cast<> nul [...] adds e47bbd28f8e [ELF] Make MergeInputSection merging aware of output sections adds e447d5afd37 [ELF] Delete SectionBase::assigned adds fa4a2a9152f [lldb][NFC] Use default member initializers in ReadStringAn [...] adds 1a2805b887d [lldb] Also force posix paths in CppModuleConfigurationTest adds e37b882421d [LLDB] Fix typo in RegisterContextDarwin_arm64 adds 79b76f0ce1e [LLDB] [test] Add a few missing cases of REQUIRES: python adds 5bb15253925 [LLDB] [test] Allow differing order of some matches adds 544c8f48c86 [LLDB] Add tests for PECOFF arm architecture identification adds cc972981d42 Fix cppcheck "reduce variable scope" warning. NFCI. adds 182d4874fd4 ConstantFold - silence static analyzer dyn_cast<> null dere [...] adds 13a4e8f3ef2 Enhance SymbolFileDWARF::ParseDeclsForContext performance adds d19fb46d40e [llvm-objcopy] Fix a warningon unused variable. NFC. adds 7efa6e31266 [Orc] Silence static analyzer dyn_cast<ConstantInt> null de [...] adds 355764e3888 [LLD][ELF][MIPS] - Inline the short helper function. NFC. adds 275e4df1154 [Diagnostics] Handle tautological left shifts in boolean context adds eefbc358eb8 [docs][llvm-size] Fix typo adds 3a415c20ad7 [clangd] Save an unnecessary copy, NFC. adds 55925da4c98 [clangd] Add semantic selection to ClangdLSPServer. adds 1b103864eea [docs][llvm-strip][llvm-objcopy] Improve wording and fix hi [...] adds a292a4943b6 [lldb] [Process/NetBSD] Fix handling LLDB_INVALID_SIGNAL_NUMBER adds 60e5e0b6674 Revert r372333: [DAG][X86] Convert isNegatibleForFree/GetNe [...] adds e94242f3997 [COFF] Silence static analyzer null dereference warning. NFCI. adds 734d3f49ad3 SafepointIRVerifier - silence static analyzer dyn_cast<Inst [...] adds be9beef5da7 AggressiveAntiDepBreaker - silence static analyzer null der [...] adds 82aaf174121 [clang-format] [PR36858] Add missing .hh and .cs extensions [...] adds c526fcaed19 [Compiler] Fix LLVM_NODISCARD for GCC adds 1a219aa8df9 [yaml2obj/obj2yaml] - Add support for .stack_sizes sections. adds 5a4355324e1 [NFC] Fix typo in the "kind" description for the software s [...] adds 5f738940b55 Regex: Make "match" and "sub" const member functions adds ca635d7d44f [TextAPI] Remove redundant checking causing warnings. NFC. adds 682d41a506d [X86] Add tests showing failure to stack fold MMX MOVD/MOVQ stores adds 5b881f356cf [InstCombine] (a+b) <= a && (a+b) != 0 -> (0-b) < a (PR43259) adds 45fd1e9d503 [InstCombine] (a+b) < a && (a+b) != 0 -> (0-b) < a iff a/b [...] adds a7f27f357df [X86] Add MMX MOVD/MOVQ stores to folding tables to support [...] adds d9629b88ff7 [GCRelocate] Add a peephole to canonicalize base pointer re [...] new b3a9320c08e Extends the expansion of the LWZtoc pseduo op for AIX.
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .../clang-tidy/bugprone/BugproneTidyModule.cpp | 3 + .../clang-tidy/bugprone/CMakeLists.txt | 1 + .../clang-tidy/bugprone/InfiniteLoopCheck.cpp | 189 ++++++ .../clang-tidy/bugprone/InfiniteLoopCheck.h | 35 + clang-tools-extra/clangd/ClangdLSPServer.cpp | 45 ++ clang-tools-extra/clangd/ClangdLSPServer.h | 2 + clang-tools-extra/clangd/CodeComplete.cpp | 4 +- clang-tools-extra/clangd/CollectMacros.h | 74 +++ clang-tools-extra/clangd/FileDistance.cpp | 2 +- clang-tools-extra/clangd/ParsedAST.cpp | 52 +- clang-tools-extra/clangd/ParsedAST.h | 20 +- clang-tools-extra/clangd/Preamble.cpp | 57 +- clang-tools-extra/clangd/Preamble.h | 6 +- clang-tools-extra/clangd/Protocol.cpp | 13 + clang-tools-extra/clangd/Protocol.h | 23 + clang-tools-extra/clangd/SemanticHighlighting.cpp | 5 +- .../clangd/test/initialize-params.test | 1 + clang-tools-extra/clangd/test/selection-range.test | 39 ++ .../clangd/unittests/ParsedASTTests.cpp | 13 +- .../clangd/unittests/SemanticHighlightingTests.cpp | 8 +- clang-tools-extra/docs/ReleaseNotes.rst | 6 + .../clang-tidy/checks/bugprone-infinite-loop.rst | 32 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + clang-tools-extra/modularize/Modularize.cpp | 2 + .../test/clang-tidy/bugprone-infinite-loop.cpp | 298 +++++++++ clang/docs/ClangCommandLineReference.rst | 2 - clang/include/clang/AST/DeclCXX.h | 7 +- clang/include/clang/Basic/DiagnosticSemaKinds.td | 13 +- clang/include/clang/Driver/Options.td | 1 - clang/include/clang/Sema/Sema.h | 9 +- clang/lib/AST/DeclPrinter.cpp | 15 +- clang/lib/AST/JSONNodeDumper.cpp | 6 + clang/lib/AST/TextNodeDumper.cpp | 6 + clang/lib/CodeGen/CGDebugInfo.cpp | 6 + clang/lib/CodeGen/CodeGenModule.cpp | 4 +- clang/lib/Driver/Driver.cpp | 5 +- clang/lib/Driver/Types.cpp | 2 +- clang/lib/Sema/SemaChecking.cpp | 148 +++-- clang/lib/Sema/SemaDeclCXX.cpp | 4 + clang/lib/Sema/SemaExpr.cpp | 14 +- clang/lib/Sema/SemaModule.cpp | 2 + clang/lib/Sema/TreeTransform.h | 6 +- .../Checkers/MacOSKeychainAPIChecker.cpp | 8 +- .../Checkers/NonNullParamChecker.cpp | 9 +- clang/test/AST/atomic-expr.cpp | 43 +- clang/test/Modules/ModuleDebugInfo.cpp | 3 +- clang/test/Sema/warn-int-in-bool-context.c | 51 +- clang/test/SemaCXX/cxx2a-explicit-bool.cpp | 2 +- clang/tools/clang-format/clang-format-diff.py | 4 +- clang/tools/clang-format/git-clang-format | 3 +- .../unittests/AST/ASTImporterODRStrategiesTest.cpp | 10 +- clang/unittests/Format/FormatTest.cpp | 674 ++++++++++---------- compiler-rt/lib/builtins/fp_add_impl.inc | 4 +- compiler-rt/lib/builtins/fp_lib.h | 2 +- compiler-rt/lib/builtins/fp_trunc_impl.inc | 2 +- .../sanitizer_common/sanitizer_posix_libcdep.cpp | 1 - compiler-rt/lib/tsan/rtl/tsan_interface.h | 5 + compiler-rt/lib/tsan/rtl/tsan_interface_inl.h | 8 + compiler-rt/test/profile/instrprof-merging.cpp | 9 +- compiler-rt/test/tsan/race_range_pc.cc | 40 ++ lld/ELF/Arch/MipsArchTree.cpp | 18 +- lld/ELF/Driver.cpp | 17 +- lld/ELF/InputSection.h | 21 +- lld/ELF/LinkerScript.cpp | 101 ++- lld/ELF/LinkerScript.h | 12 +- lld/ELF/OutputSections.cpp | 98 ++- lld/ELF/OutputSections.h | 4 +- lld/ELF/Relocations.cpp | 14 +- lld/ELF/SyntheticSections.cpp | 64 +- lld/ELF/SyntheticSections.h | 3 +- lld/ELF/Writer.cpp | 2 +- lld/test/ELF/emulation-mips.s | 117 +++- lld/test/ELF/linkerscript/merge-output-sections.s | 35 + lld/test/ELF/linkerscript/merge-sections.s | 4 +- lld/test/ELF/merge-entsize2.s | 14 +- lld/test/wasm/relocatable.ll | 5 +- lld/wasm/Driver.cpp | 9 +- lld/wasm/InputFiles.cpp | 3 +- lld/wasm/SymbolTable.cpp | 3 + lld/wasm/SyntheticSections.cpp | 22 +- lldb/include/lldb/DataFormatters/StringPrinter.h | 26 +- lldb/include/lldb/Host/File.h | 8 +- lldb/include/lldb/Host/windows/PosixApi.h | 12 +- lldb/include/lldb/Symbol/CompileUnit.h | 8 + lldb/include/lldb/Symbol/SymbolFile.h | 3 + lldb/include/lldb/Target/Platform.h | 13 - lldb/include/lldb/Utility/CompletionRequest.h | 5 - lldb/include/lldb/Utility/Log.h | 13 + lldb/lit/Commands/command-script-import.test | 1 + lldb/lit/Modules/PECOFF/basic-info-arm.yaml | 86 +++ lldb/lit/Modules/PECOFF/basic-info-arm64.yaml | 86 +++ lldb/lit/Reproducer/TestDump.test | 4 +- lldb/lit/Reproducer/TestSynchronous.test | 1 + .../expression/import-std-module/basic/Makefile | 1 - .../import-std-module/basic/TestImportStdModule.py | 8 - .../import-std-module/conflicts/Makefile | 1 - .../conflicts/TestStdModuleWithConflicts.py | 4 - .../import-std-module/deque-basic/Makefile | 1 - .../deque-basic/TestBasicDeque.py | 4 - .../deque-dbg-info-content/Makefile | 1 - .../TestDbgInfoContentDeque.py | 4 - .../import-std-module/forward_list-basic/Makefile | 1 - .../forward_list-basic/TestBasicForwardList.py | 4 - .../forward_list-dbg-info-content/Makefile | 1 - .../TestDbgInfoContentForwardList.py | 4 - .../import-std-module/list-basic/Makefile | 1 - .../import-std-module/list-basic/TestBasicList.py | 4 - .../list-dbg-info-content/Makefile | 1 - .../TestDbgInfoContentList.py | 4 - .../import-std-module/no-std-module/Makefile | 1 - .../no-std-module/TestMissingStdModule.py | 4 - .../expression/import-std-module/queue/Makefile | 1 - .../import-std-module/queue/TestQueue.py | 4 - .../shared_ptr-dbg-info-content/Makefile | 1 - .../TestSharedPtrDbgInfoContent.py | 4 - .../import-std-module/shared_ptr/Makefile | 1 - .../import-std-module/shared_ptr/TestSharedPtr.py | 4 - .../expression/import-std-module/stack/Makefile | 1 - .../import-std-module/stack/TestStack.py | 4 - .../expression/import-std-module/sysroot/Makefile | 1 - .../sysroot/TestStdModuleSysroot.py | 4 - .../unique_ptr-dbg-info-content/Makefile | 1 - .../TestUniquePtrDbgInfoContent.py | 4 - .../import-std-module/unique_ptr/Makefile | 1 - .../import-std-module/unique_ptr/TestUniquePtr.py | 4 - .../import-std-module/vector-basic/Makefile | 1 - .../vector-basic/TestBasicVector.py | 4 - .../import-std-module/vector-bool/Makefile | 1 - .../vector-bool/TestBoolVector.py | 4 - .../vector-dbg-info-content/Makefile | 1 - .../TestDbgInfoContentVector.py | 4 - .../import-std-module/vector-of-vectors/Makefile | 1 - .../vector-of-vectors/TestVectorOfVectors.py | 4 - .../weak_ptr-dbg-info-content/Makefile | 1 - .../TestDbgInfoContentWeakPtr.py | 4 - .../expression/import-std-module/weak_ptr/Makefile | 1 - .../import-std-module/weak_ptr/TestWeakPtr.py | 4 - .../commands/frame/language/TestGuessLanguage.py | 5 +- .../functionalities/completion/TestCompletion.py | 21 + .../Python/lldbsuite/test/make/Makefile.rules | 51 +- lldb/source/Commands/CommandObjectLog.cpp | 34 + lldb/source/Core/StreamFile.cpp | 2 +- lldb/source/Host/common/File.cpp | 5 +- lldb/source/Host/common/FileSystem.cpp | 5 +- .../Host/posix/ConnectionFileDescriptorPosix.cpp | 14 +- lldb/source/Host/windows/Host.cpp | 4 + lldb/source/Interpreter/CommandInterpreter.cpp | 2 +- .../Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp | 30 +- .../Plugins/ExpressionParser/Clang/CMakeLists.txt | 1 + .../Clang/ClangExpressionParser.cpp | 49 +- .../Clang/ClangExpressionSourceCode.cpp | 7 +- .../Clang/ClangExpressionSourceCode.h | 3 + .../ExpressionParser/Clang/ClangUserExpression.cpp | 81 ++- .../ExpressionParser/Clang/ClangUserExpression.h | 1 - .../Clang/CppModuleConfiguration.cpp | 82 +++ .../Clang/CppModuleConfiguration.h | 84 +++ lldb/source/Plugins/Language/ObjC/NSString.cpp | 22 +- .../Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 7 +- .../Plugins/Platform/Linux/PlatformLinux.cpp | 19 - lldb/source/Plugins/Platform/Linux/PlatformLinux.h | 3 - .../PlatformiOSSimulatorCoreSimulatorSupport.mm | 11 +- .../Plugins/Process/FreeBSD/ProcessFreeBSD.cpp | 2 +- .../Plugins/Process/NetBSD/NativeProcessNetBSD.cpp | 6 +- .../Utility/RegisterContextDarwin_arm64.cpp | 2 +- .../Windows/Common/RegisterContextWindows.cpp | 15 +- .../GDBRemoteCommunicationServerCommon.cpp | 6 +- .../ScriptInterpreter/Python/PythonDataObjects.cpp | 4 +- .../Plugins/SymbolFile/DWARF/DWARFASTParser.h | 4 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 11 +- .../Plugins/SymbolFile/DWARF/DWARFASTParserClang.h | 4 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 25 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.h | 4 + .../SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp | 8 + .../SymbolFile/DWARF/SymbolFileDWARFDebugMap.h | 4 + lldb/source/Symbol/CompileUnit.cpp | 5 + lldb/source/Target/Process.cpp | 5 +- lldb/source/Utility/ArchSpec.cpp | 4 +- lldb/source/Utility/CompletionRequest.cpp | 10 +- lldb/source/Utility/Log.cpp | 39 +- lldb/tools/lldb-vscode/VSCode.cpp | 4 +- lldb/unittests/Expression/CMakeLists.txt | 1 + .../Expression/CppModuleConfigurationTest.cpp | 168 +++++ lldb/unittests/Host/CMakeLists.txt | 1 + lldb/unittests/Host/FileTest.cpp | 57 ++ .../SymbolFile/DWARF/DWARFASTParserClangTests.cpp | 38 +- lldb/unittests/Utility/CompletionRequestTest.cpp | 16 +- llvm/docs/CommandGuide/llvm-objcopy.rst | 4 +- llvm/docs/CommandGuide/llvm-size.rst | 2 +- llvm/docs/CommandGuide/llvm-strip.rst | 10 +- llvm/include/llvm/CodeGen/TargetLowering.h | 12 - llvm/include/llvm/MC/MCRegisterInfo.h | 10 +- llvm/include/llvm/Object/COFF.h | 5 +- llvm/include/llvm/Object/ELF.h | 9 +- llvm/include/llvm/ObjectYAML/ELFYAML.h | 26 + llvm/include/llvm/Support/Compiler.h | 8 + llvm/include/llvm/Support/Regex.h | 14 +- llvm/lib/Analysis/MemorySSAUpdater.cpp | 82 ++- llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp | 2 +- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 8 +- llvm/lib/CodeGen/MachineOperand.cpp | 8 +- llvm/lib/CodeGen/ModuloSchedule.cpp | 1 + llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 308 ++++++++- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 240 ------- llvm/lib/CodeGen/StackMaps.cpp | 2 +- llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp | 5 +- llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp | 2 +- llvm/lib/IR/AutoUpgrade.cpp | 6 +- llvm/lib/IR/ConstantFold.cpp | 1 + llvm/lib/IR/IntrinsicInst.cpp | 7 +- llvm/lib/IR/SafepointIRVerifier.cpp | 4 +- llvm/lib/MC/MCAsmStreamer.cpp | 5 +- llvm/lib/MC/MCRegisterInfo.cpp | 28 +- llvm/lib/ObjectYAML/ELFEmitter.cpp | 26 + llvm/lib/ObjectYAML/ELFYAML.cpp | 49 +- llvm/lib/Passes/PassBuilder.cpp | 2 +- llvm/lib/Support/FileCheck.cpp | 2 +- llvm/lib/Support/Regex.cpp | 39 +- .../AArch64/MCTargetDesc/AArch64AsmBackend.cpp | 10 +- llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp | 2 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 305 ++++++--- llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | 10 +- llvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp | 2 +- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 53 +- .../MCTargetDesc/WebAssemblyMCTargetDesc.h | 8 + llvm/lib/Target/WebAssembly/WebAssemblyISD.def | 1 + .../Target/WebAssembly/WebAssemblyISelLowering.cpp | 11 +- .../Target/WebAssembly/WebAssemblyInstrAtomics.td | 77 --- .../Target/WebAssembly/WebAssemblyInstrMemory.td | 51 -- .../lib/Target/WebAssembly/WebAssemblyInstrSIMD.td | 50 +- llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | 4 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 250 +++----- llvm/lib/Target/X86/X86ISelLowering.h | 11 - llvm/lib/Target/X86/X86InstrCMovSetCC.td | 33 +- llvm/lib/Target/X86/X86InstrCompiler.td | 127 ++-- llvm/lib/Target/X86/X86InstrControl.td | 2 +- llvm/lib/Target/X86/X86InstrFoldTables.cpp | 2 + llvm/lib/TextAPI/MachO/TextStubCommon.cpp | 8 +- llvm/lib/Transforms/IPO/HotColdSplitting.cpp | 5 + llvm/lib/Transforms/IPO/SampleProfile.cpp | 45 +- .../Transforms/InstCombine/InstCombineAndOrXor.cpp | 91 ++- .../Transforms/InstCombine/InstCombineCalls.cpp | 40 +- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 17 +- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 6 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 17 +- llvm/test/Analysis/MemorySSA/pr43317.ll | 32 + .../GlobalISel/arm64-irtranslator-switch.ll | 42 ++ .../CodeGen/PowerPC/lower-globaladdr32-aix-asm.ll | 21 + llvm/test/CodeGen/Thumb2/float-ops.ll | 2 +- llvm/test/CodeGen/Thumb2/mve-masked-store.ll | 34 +- llvm/test/CodeGen/Thumb2/mve-sext.ll | 364 ++++++++++- llvm/test/CodeGen/Thumb2/mve-widen-narrow.ll | 242 +++++++ llvm/test/CodeGen/WebAssembly/simd-offset.ll | 706 +++++++++++++++++++++ llvm/test/CodeGen/X86/memset-nonzero.ll | 73 +-- llvm/test/CodeGen/X86/recip-fastmath.ll | 16 +- llvm/test/CodeGen/X86/recip-fastmath2.ll | 112 ++-- llvm/test/CodeGen/X86/stack-folding-mmx.ll | 62 +- .../X86/dwarfdump-debug-loc-error-cases.s | 16 + llvm/test/MC/WebAssembly/simd-encodings.s | 12 + llvm/test/TableGen/get-operand-type.td | 14 +- .../HotColdSplit/assumption-cache-invalidation.ll | 38 ++ .../IndVarSimplify/indvar-debug-value.ll | 92 +++ .../IndVarSimplify/indvar-debug-value2.ll | 90 +++ llvm/test/Transforms/InstCombine/gc.relocate.ll | 11 + llvm/test/Transforms/InstCombine/objsize.ll | 2 +- ...add-of-negative-is-non-zero-and-no-underflow.ll | 61 +- ...egative-or-zero-is-non-zero-and-no-underflow.ll | 47 +- llvm/test/Transforms/InstCombine/strndup.ll | 2 +- .../InstCombine/sub-ashr-and-to-icmp-select.ll | 213 +++++++ .../InstCombine/sub-ashr-or-to-icmp-select.ll | 239 +++++++ .../test/Transforms/LoopVectorize/runtime-check.ll | 32 +- .../SampleProfile/profile-sample-accurate.ll | 28 +- .../test/tools/llvm-lipo/create-archive-input.test | 26 + llvm/test/tools/llvm-readobj/stack-sizes.test | 7 +- llvm/test/tools/obj2yaml/elf-stack-sizes.yaml | 88 +++ llvm/test/tools/yaml2obj/elf-stack-sizes.yaml | 229 +++++++ llvm/tools/llvm-lipo/llvm-lipo.cpp | 344 ++++++---- llvm/tools/llvm-objcopy/CMakeLists.txt | 1 + llvm/tools/llvm-objcopy/CopyConfig.cpp | 108 +--- llvm/tools/llvm-objcopy/CopyConfig.h | 29 +- llvm/tools/llvm-objcopy/ELF/ELFConfig.cpp | 133 ++++ llvm/tools/llvm-objcopy/ELF/ELFConfig.h | 44 ++ llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp | 4 +- llvm/tools/llvm-objcopy/llvm-objcopy.cpp | 29 +- llvm/tools/obj2yaml/elf2yaml.cpp | 61 ++ llvm/utils/TableGen/InstrInfoEmitter.cpp | 25 +- llvm/utils/TableGen/TableGen.cpp | 13 +- .../clang-tools-extra/clang-tidy/bugprone/BUILD.gn | 1 + .../gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn | 1 + 289 files changed, 7254 insertions(+), 2650 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.h create mode 100644 clang-tools-extra/clangd/CollectMacros.h create mode 100644 clang-tools-extra/clangd/test/selection-range.test create mode 100644 clang-tools-extra/docs/clang-tidy/checks/bugprone-infinite-loop.rst create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-infinite-loop.cpp create mode 100644 compiler-rt/test/tsan/race_range_pc.cc create mode 100644 lld/test/ELF/linkerscript/merge-output-sections.s create mode 100644 lldb/lit/Modules/PECOFF/basic-info-arm.yaml create mode 100644 lldb/lit/Modules/PECOFF/basic-info-arm64.yaml create mode 100644 lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp create mode 100644 lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h create mode 100644 lldb/unittests/Expression/CppModuleConfigurationTest.cpp create mode 100644 lldb/unittests/Host/FileTest.cpp create mode 100644 llvm/test/Analysis/MemorySSA/pr43317.ll create mode 100644 llvm/test/CodeGen/PowerPC/lower-globaladdr32-aix-asm.ll create mode 100644 llvm/test/Transforms/HotColdSplit/assumption-cache-invalidation.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/indvar-debug-value.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/indvar-debug-value2.ll create mode 100644 llvm/test/Transforms/InstCombine/sub-ashr-and-to-icmp-select.ll create mode 100644 llvm/test/Transforms/InstCombine/sub-ashr-or-to-icmp-select.ll create mode 100644 llvm/test/tools/llvm-lipo/create-archive-input.test create mode 100644 llvm/test/tools/obj2yaml/elf-stack-sizes.yaml create mode 100644 llvm/test/tools/yaml2obj/elf-stack-sizes.yaml create mode 100644 llvm/tools/llvm-objcopy/ELF/ELFConfig.cpp create mode 100644 llvm/tools/llvm-objcopy/ELF/ELFConfig.h