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-defconfig in repository toolchain/ci/llvm-project.
from 2fce1137c7c Convert FileSystem::Open() to return Expected<FileUP> adds e440d23195f Only pass -coverage-notes-file when emitting coverage adds 214f68e7a15 Revert "[analyzer] A speculative attempt to avoid gcc-7 cra [...] adds f1a5a93157b [NFC] Precommit tests for D68089 adds 15d5f5dd350 [clang-scan-deps] Allow continuation line backslashes follo [...] adds 4061a9b63a4 [NFC][emacs] remove out-of-date comment from tablegen-mode.el adds 3b808fb330d [AIX]Emit function descriptor csect in assembly adds 1202614d16e [OPENMP50]Emit warnings if the functions was defined/used b [...] adds 9c5fbcf9206 [LOOPGUARD] Disable loop with multiple loop exiting blocks. [...] adds d1ef2e48fbb [InstCombine][NFC] Regenerate load-cmp.ll test adds 86b40b0bbf9 [InstCombine][NFC] Add tests for shift-by-signext adds 3a5ca1c8b52 [DAGCombine][X86][AArch64][NFC] Add tests for shift-by-signext adds 486cd9a90de [AMDGPU] copy OtherPredicates from pseudo to VOP3_Real adds 7dfb095b882 [lldb-vscode] correctly handle multiple sourceMap entries adds 1128fa09249 [Unroll] Do NOT unroll a loop with small runtime upperbound adds 50bc6104608 [LoopFusion] Add ability to fuse guarded loops adds f98d2c099a4 Revert [SLP] Fix for PR31847: Assertion failed: (isLoopInva [...] adds c8987249745 [X86] Add CodeGenOnly instructions for (f32 (X86selects $ma [...] adds bf322b7cdd6 Always rebuild a DeclRefExpr if its FoundDecl would change. adds 945249b5a99 [OpenMP 5.0] Fix user-defined mapper lookup in sema adds f5524f04512 Remove the AliasAnalysis argument in function areMemAccesse [...] adds d3f82b8b97a [X86] Add VMOVSSZrrk/VMOVSDZrrk/VMOVSSZrrkz/VMOVSDZrrkz to [...] adds 0ab4290e863 [X86] Remove unused arguments from a tablegen multiclass. NFC adds aa7d6544c14 [clang-tidy] New check to warn when storing dispatch_once_t [...] adds c2cc6817fa7 gn build: (manually) merge r373028 adds 3912ecb649c [X86] Remove CodeGenOnly instructions added in r373021, but [...] adds 847f4d3f6d7 Revert "[clang-tidy] New check to warn when storing dispatc [...] adds da963abd530 Revert "gn build: (manually) merge r373028" adds d5d62a99a91 [Consumed][NFC] Refactor handleCall to take function argume [...] adds c336557f023 hwasan: Compatibility fixes for short granules. adds da1b4347e41 For P0784R7: Add support for dynamic allocation with new / [...] adds 62a95568efa For P0784R7: add support for new (std::nothrow). adds 9e3baad80fb Speculative fix for gcc build. adds 695a8bd6a03 Revert r373034 adds 81125f7362f [WebAssembly] SIMD Load and extend operations adds 3fcdd25ad55 [WebAssembly] v128.andnot adds 49494733533 Fix use-after-free found in Clang's testsuite. adds e6d423fe03e [test] Use %clang_cc1 instead of %clang -cc1 adds 9c8efeda5c8 Revert "[LoopInfo] Limit the iterations to check whether a [...] adds 40d4b53329d [LoopInfo] Remove duplicates in ExitBlocks to reduce the co [...] adds a1937cc3545 travis: Switch to Ubuntu 16.04 (xenial) adds e0fad09f6c2 travis: Add LLVM 9 build adds 8ef97e1aad7 [llvm-exegesis] Refactor how forbidden registers are computed. adds 362345769a3 Fix the 'directory' field in DumpCompilationDatabase and add test adds c4488a6e9db [lldb][NFC] Test CommandObjectMultiword functionality adds a8d04651ce7 [lldb][NFC] Actually test which method we call in TestCallO [...] adds c006b6f4cb8 [MC][ARM] vscclrm disassembles as vldmia adds 2096518d587 [lldb] Print an error message for an empty subcommand adds d886f391af8 [Alignment][NFC] MaybeAlign in GVNExpression adds 0956480459f [NFC][InstCombine] Revisit shift-by-signext tests adds c5343e721ba [clang-format] Reference qualifiers in member templates cau [...] adds 2774457b2a5 [clangd] Support OverloadExpr in findExplicitReferences adds b8cf059facc [sancov][NFC] Make filename Regexes "const" adds 4627bdedd90 Revert r373056: [clang-format] Reference qualifiers in memb [...] adds 3740ae3b8ae Revert r372893 "[CodeGen] Replace -max-jump-table-size with [...] adds 32a4b27aa3c [lldb] [testsuite] Remove redundant MAKE_DSYM := NO adds 34cccf01c5d [UpdateTestChecks] Fix wildcard support on DOS prompts adds 756f5cfc2a9 [SLPVectorizer][X86] Regenerate arith-fp tests adds 110607b284a [NFC][ARM] Add some tail-predication tests adds 405c3a6be17 [clang-tidy] New check to warn when storing dispatch_once_t [...] adds 69f9f20fc52 Moved -fblocks from an individual test to check_clang_tidy.py adds c383509ce69 [clangd] Handle type template parameters in findExplicitReferences adds 6328f948adf Fixed indentation in a ClangTidy test adds 4a90ee1a615 Fix some swig warnings adds 0eb4d9dd7a7 Reland "gn build: (manually) merge r373028" adds 59876948c3f Disable the empty string check in TestDataFormatterStdString adds a8b284eeec5 Unwind: Add a stack scanning mechanism to support win32 unwinding adds 7b8f5465225 [lldb/cmake] add lldbCore -> clangDriver dependency adds 06bc9d579ca [lldb] Disable testing entry values as memory location adds bf6f4e99329 [LLD] [COFF] Use the unified llvm demangle frontend function. NFC. adds dd71b2d4c31 [LLD] Convert demangleItanium to use the higher level llvm: [...] adds 5ebab1f8f94 [LLD] Simplify the demangleItanium function. NFC. adds 71decf841c7 [clang] [AST] Treat "inline gnu_inline" the same way as "ex [...] adds 7e317cab732 [clangd] Remove an unrelated comment, NFC. adds 18f805a7ea5 [Alignment][NFC] Remove unneeded llvm:: scoping on Align types adds d69fa737fff clang-tidy: Don't repeat list of all checks in three places. adds 9431b72ce9e [llvm-exegesis] Add loop mode for repeating the snippet. adds 39b81f1cbc3 [CodeGenPrepare] Mend "avoid crashing from replacing a phi [...] adds 940d0e2b8a6 gn build: Merge r373083 adds 171c12bb1db gn build: (manually) merge r373082 adds 24078fe157d [llvm-exegesis] Fix r373083: Module -> Mod. adds 2319eb65473 [OpenCL] Pass LangOptions as const ref adds eb4c98ca3d2 [DebugInfo] Exclude memory location values as parameter ent [...] adds 7ca15ba73f6 remove File::SetStream(), make new files instead. adds 59e26308e60 [libc++] Take 2: Implement LWG 3158 adds db24ef509ec [libTooling] Transformer: refine `SourceLocation` specified [...] adds 436d5b335ae [AMDGPU][MC] Corrected parsing of registers adds 623b0e6963e SCCP - silence static analyzer dyn_cast<StructType> null de [...] adds aae97bfd0c3 [RISCV] Rename FPRs and use Register arithmetic adds f71f23d14d4 FunctionImportGlobalProcessing::processGlobalForThinLTO - s [...] adds d8e38b9b888 Change -march=systemz to triple and fix test adds 2e0de868088 ModuleUtils - silence static analyzer dyn_cast<> null deref [...] adds 1a55431a033 Fix MSVC "not all control paths return a value" warning. NFCI. new 72c57ec3e6b [Dominators][CodeGen] Clean up MachineDominators new cdec597905c [Reproducer] Always use absolute paths for capture & replay. new a524e630a79 XFAIL a codegen test AArch64/tailmerging_in_mbp.ll new 4ae23814300 [clangd] Fix template type aliases in findExplicitReference new e3fed89046b [CMake] Make Core depend on ClangDriverOptions (NFC)
The 5 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: clang-tools-extra/clang-tidy/CMakeLists.txt | 36 +- .../clang-tidy/ClangTidyForceLinker.h | 8 +- clang-tools-extra/clang-tidy/darwin/CMakeLists.txt | 15 + .../clang-tidy/darwin/DarwinTidyModule.cpp | 37 + .../darwin/DispatchOnceNonstaticCheck.cpp | 62 + .../clang-tidy/darwin/DispatchOnceNonstaticCheck.h | 35 + clang-tools-extra/clang-tidy/plugin/CMakeLists.txt | 26 +- clang-tools-extra/clang-tidy/tool/CMakeLists.txt | 25 +- clang-tools-extra/clangd/CMakeLists.txt | 20 +- clang-tools-extra/clangd/FindTarget.cpp | 35 +- clang-tools-extra/clangd/ParsedAST.cpp | 33 +- clang-tools-extra/clangd/SemanticHighlighting.cpp | 1 - .../clangd/unittests/FindTargetTests.cpp | 81 +- clang-tools-extra/docs/ReleaseNotes.rst | 6 + .../checks/darwin-dispatch-once-nonstatic.rst | 22 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + .../test/clang-tidy/check_clang_tidy.py | 3 +- .../clang-tidy/darwin-dispatch-once-nonstatic.mm | 48 + .../google-objc-global-variable-declaration.mm | 2 +- clang/docs/ReleaseNotes.rst | 5 +- clang/include/clang/AST/APValue.h | 46 +- clang/include/clang/AST/Type.h | 1 + clang/include/clang/Basic/DiagnosticASTKinds.td | 44 + clang/include/clang/Basic/DiagnosticSemaKinds.td | 11 +- clang/include/clang/Basic/OpenCLOptions.h | 6 +- .../clang/Tooling/Refactoring/Transformer.h | 6 + clang/lib/AST/APValue.cpp | 34 +- clang/lib/AST/Decl.cpp | 11 +- clang/lib/AST/ExprCXX.cpp | 6 + clang/lib/AST/ExprConstant.cpp | 518 +++++- clang/lib/AST/Type.cpp | 9 + clang/lib/Driver/ToolChains/Clang.cpp | 84 +- .../Lex/DependencyDirectivesSourceMinimizer.cpp | 33 +- clang/lib/Sema/SemaDeclAttr.cpp | 3 + clang/lib/Sema/SemaDeclCXX.cpp | 6 + clang/lib/Sema/SemaOpenMP.cpp | 26 +- clang/lib/Sema/TreeTransform.h | 1 + clang/lib/StaticAnalyzer/Core/Store.cpp | 7 +- clang/lib/Tooling/Refactoring/Transformer.cpp | 33 +- clang/test/CXX/expr/expr.const/p2-0x.cpp | 33 +- clang/test/CodeGen/align-global-large.c | 2 +- clang/test/CodeGen/inline.c | 3 +- clang/test/CodeGenCXX/const-init-cxx2a.cpp | 5 + clang/test/CodeGenObjC/protocol-comdat.m | 2 +- clang/test/Driver/compilation_database.c | 4 +- clang/test/Driver/coverage_no_integrated_as.c | 6 + clang/test/Frontend/cc1-return-codes.c | 4 +- clang/test/Frontend/nostdlib-for-asmpp.s | 2 +- clang/test/Misc/diag-macro-backtrace2.c | 2 +- clang/test/Misc/driver-verify.c | 2 +- clang/test/Modules/builtin-import.mm | 2 +- .../Modules/umbrella-header-include-builtin.mm | 2 +- clang/test/OpenMP/declare_mapper_messages.c | 17 +- clang/test/OpenMP/declare_mapper_messages.cpp | 11 +- clang/test/OpenMP/declare_variant_ast_print.cpp | 4 +- clang/test/OpenMP/declare_variant_messages.c | 5 +- clang/test/OpenMP/declare_variant_messages.cpp | 7 +- clang/test/Preprocessor/pragma_module.c | 6 +- clang/test/SemaCUDA/gnu-inline.cu | 2 +- clang/test/SemaCXX/builtin-object-size-cxx14.cpp | 7 + clang/test/SemaCXX/constant-expression-cxx2a.cpp | 322 +++- clang/test/SemaCXX/gnu_inline.cpp | 9 + clang/test/SemaCXX/undefined-inline.cpp | 6 +- clang/test/SemaTemplate/using-decl.cpp | 16 + .../DependencyDirectivesSourceMinimizerTest.cpp | 19 +- clang/unittests/Tooling/TransformerTest.cpp | 51 + .../lib/hwasan/hwasan_tag_mismatch_aarch64.S | 50 +- compiler-rt/test/hwasan/TestCases/stack-oob.c | 8 +- compiler-rt/test/hwasan/lit.cfg.py | 5 +- libclc/.travis.yml | 101 +- libcxx/include/tuple | 42 +- .../tuple/tuple.tuple/tuple.cnstr/alloc.fail.cpp | 33 + .../tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp | 2 +- libcxx/www/cxx2a_status.html | 2 +- libcxx/www/upcoming_meeting.html | 3 +- lld/COFF/CMakeLists.txt | 1 + lld/COFF/Symbols.cpp | 30 +- lld/Common/Strings.cpp | 32 +- lld/ELF/SymbolTable.cpp | 5 +- lld/ELF/Symbols.cpp | 3 +- lld/include/lld/Common/Strings.h | 5 +- lld/test/COFF/undefined-symbol-itanium-i386.s | 5 + lld/test/COFF/undefined-symbol.s | 5 + lld/test/ELF/undef.s | 5 + lld/wasm/Symbols.cpp | 3 +- lldb/include/lldb/Core/Debugger.h | 26 +- lldb/include/lldb/Core/IOHandler.h | 15 +- lldb/include/lldb/Host/File.h | 4 - lldb/include/lldb/Symbol/SymbolFile.h | 9 +- lldb/include/lldb/Symbol/UnwindPlan.h | 21 +- lldb/include/lldb/Utility/Reproducer.h | 4 +- lldb/lit/Reproducer/TestRelativePath.test | 8 + .../Breakpad/Inputs/unwind-via-raSearch.syms | 15 + .../Breakpad/Inputs/unwind-via-stack-win.yaml | 2 + .../SymbolFile/Breakpad/unwind-via-raSearch.test | 43 + .../lldbsuite/test/api/multiple-debuggers/Makefile | 2 - .../lldbsuite/test/api/multiple-targets/Makefile | 2 - .../TestCallOverriddenMethod.py | 7 +- .../expression/call-overridden-method/main.cpp | 5 +- .../test/commands/frame/recognizer/Makefile | 1 - .../test/functionalities/archives/Makefile | 1 - .../libstdcpp/string/TestDataFormatterStdString.py | 3 +- .../test/functionalities/dead-strip/Makefile | 2 - .../multiword-commands/TestMultiWordCommands.py | 33 + .../basic_entry_values_x86_64/main.cpp | 3 + .../plugins/command_plugin/Makefile | 1 - .../lldbsuite/test/macosx/function-starts/Makefile | 1 - .../test/macosx/lc-note/kern-ver-str/Makefile | 2 - .../lc-note/kern-ver-str/create-empty-corefile.mk | 2 - .../Python/lldbsuite/test/macosx/order/Makefile | 1 - .../test/python_api/lldbutil/frame/Makefile | 1 - .../test/python_api/lldbutil/iter/Makefile | 1 - .../test/python_api/lldbutil/process/Makefile | 1 - .../test/python_api/module_section/Makefile | 1 - .../lldbsuite/test/tools/lldb-server/Makefile | 1 - .../test/tools/lldb-server/inferior-crash/Makefile | 1 - .../test/tools/lldb-server/libraries-svr4/Makefile | 1 - lldb/scripts/interface/SBBreakpoint.i | 6 - lldb/scripts/interface/SBBreakpointName.i | 2 - lldb/scripts/interface/SBModule.i | 6 - lldb/scripts/interface/SBStructuredData.i | 2 - lldb/scripts/interface/SBThreadPlan.i | 8 +- lldb/source/API/SBDebugger.cpp | 15 +- .../Commands/CommandObjectBreakpointCommand.cpp | 2 +- lldb/source/Commands/CommandObjectCommands.cpp | 6 +- lldb/source/Commands/CommandObjectExpression.cpp | 6 +- lldb/source/Commands/CommandObjectGUI.cpp | 5 +- lldb/source/Commands/CommandObjectMultiword.cpp | 4 +- lldb/source/Commands/CommandObjectTarget.cpp | 6 +- lldb/source/Commands/CommandObjectType.cpp | 8 +- .../Commands/CommandObjectWatchpointCommand.cpp | 2 +- lldb/source/Core/CMakeLists.txt | 4 + lldb/source/Core/Debugger.cpp | 94 +- lldb/source/Core/IOHandler.cpp | 30 +- lldb/source/Expression/REPL.cpp | 16 +- lldb/source/Host/common/File.cpp | 15 - lldb/source/Interpreter/CommandInterpreter.cpp | 27 +- .../Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | 114 +- .../Clang/ClangExpressionParser.cpp | 6 +- .../InstrumentationRuntime/ASan/ASanRuntime.cpp | 2 +- .../InstrumentationRuntime/TSan/TSanRuntime.cpp | 12 +- .../InstrumentationRuntime/UBSan/UBSanRuntime.cpp | 2 +- .../AppleObjCTrampolineHandler.cpp | 2 +- .../Process/Utility/RegisterContextLLDB.cpp | 55 + .../Plugins/Process/Utility/RegisterContextLLDB.h | 2 + .../None/ScriptInterpreterNone.cpp | 4 +- .../Python/ScriptInterpreterPython.cpp | 25 +- .../SymbolFile/Breakpad/SymbolFileBreakpad.cpp | 31 +- .../SymbolFile/Breakpad/SymbolFileBreakpad.h | 2 + lldb/source/Symbol/UnwindPlan.cpp | 8 +- lldb/source/Target/Platform.cpp | 7 +- lldb/source/Target/Process.cpp | 6 +- lldb/source/Target/Target.cpp | 6 +- lldb/source/Target/ThreadPlanTracer.cpp | 2 +- lldb/source/Utility/Reproducer.cpp | 13 +- lldb/tools/lldb-vscode/lldb-vscode.cpp | 4 +- llvm/include/llvm/Analysis/LoopInfo.h | 3 - llvm/include/llvm/Analysis/LoopInfoImpl.h | 18 +- llvm/include/llvm/Analysis/TargetTransformInfo.h | 12 +- .../llvm/Analysis/TargetTransformInfoImpl.h | 4 +- llvm/include/llvm/CodeGen/AsmPrinter.h | 16 +- llvm/include/llvm/CodeGen/BasicTTIImpl.h | 2 +- llvm/include/llvm/CodeGen/CallingConvLower.h | 12 +- llvm/include/llvm/CodeGen/MachineBasicBlock.h | 6 +- llvm/include/llvm/CodeGen/MachineDominators.h | 63 +- llvm/include/llvm/CodeGen/MachineFrameInfo.h | 21 +- llvm/include/llvm/CodeGen/MachineFunction.h | 8 +- llvm/include/llvm/CodeGen/SwitchLoweringUtils.h | 8 + llvm/include/llvm/CodeGen/TargetCallingConv.h | 4 +- llvm/include/llvm/CodeGen/TargetInstrInfo.h | 3 +- llvm/include/llvm/CodeGen/TargetLowering.h | 58 +- llvm/include/llvm/IR/DataLayout.h | 47 +- llvm/include/llvm/IR/Instructions.h | 12 +- llvm/include/llvm/IR/Intrinsics.td | 2 + llvm/include/llvm/MC/MCAsmInfo.h | 10 + llvm/include/llvm/MC/MCAsmInfoXCOFF.h | 5 + llvm/include/llvm/MC/MCDirectives.h | 1 + llvm/include/llvm/MC/MCSection.h | 4 +- llvm/include/llvm/MC/MCSymbolXCOFF.h | 6 +- llvm/include/llvm/Support/Alignment.h | 10 +- llvm/include/llvm/Support/OnDiskHashTable.h | 3 +- .../include/llvm/Transforms/Scalar/GVNExpression.h | 9 +- llvm/include/llvm/Transforms/Utils/UnrollLoop.h | 4 +- .../llvm/Transforms/Vectorize/SLPVectorizer.h | 9 +- llvm/lib/Analysis/LoopInfo.cpp | 21 +- llvm/lib/Analysis/MemoryBuiltins.cpp | 6 +- llvm/lib/Analysis/TargetTransformInfo.cpp | 5 +- llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 105 +- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 4 +- llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp | 7 +- llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp | 6 +- llvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp | 2 +- llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp | 4 +- llvm/lib/CodeGen/BranchRelaxation.cpp | 12 +- llvm/lib/CodeGen/CallingConvLower.cpp | 17 +- llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 +- llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | 30 +- llvm/lib/CodeGen/MIRParser/MIParser.cpp | 2 +- llvm/lib/CodeGen/MIRParser/MIRParser.cpp | 2 +- llvm/lib/CodeGen/MIRPrinter.cpp | 2 +- llvm/lib/CodeGen/MachineBasicBlock.cpp | 2 +- llvm/lib/CodeGen/MachineBlockPlacement.cpp | 6 +- llvm/lib/CodeGen/MachineDominators.cpp | 16 +- llvm/lib/CodeGen/MachineFrameInfo.cpp | 39 +- llvm/lib/CodeGen/MachineFunction.cpp | 2 +- llvm/lib/CodeGen/MachineInstr.cpp | 2 +- llvm/lib/CodeGen/MachinePipeliner.cpp | 2 +- llvm/lib/CodeGen/PatchableFunction.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 29 +- llvm/lib/CodeGen/SwitchLoweringUtils.cpp | 94 +- llvm/lib/CodeGen/TargetInstrInfo.cpp | 12 - llvm/lib/CodeGen/TargetLoweringBase.cpp | 18 +- .../ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 6 +- llvm/lib/IR/DataLayout.cpp | 83 +- llvm/lib/IR/Instructions.cpp | 6 +- llvm/lib/IR/Value.cpp | 2 +- llvm/lib/MC/ELFObjectWriter.cpp | 12 +- llvm/lib/MC/MCAsmInfoXCOFF.cpp | 11 + llvm/lib/MC/MCAsmStreamer.cpp | 1 + llvm/lib/MC/MCAssembler.cpp | 2 +- llvm/lib/MC/MCELFStreamer.cpp | 7 +- llvm/lib/MC/MCMachOStreamer.cpp | 1 + llvm/lib/MC/MCObjectStreamer.cpp | 2 +- llvm/lib/MC/MCSectionXCOFF.cpp | 36 +- llvm/lib/MC/MCWinCOFFStreamer.cpp | 4 +- llvm/lib/MC/MachObjectWriter.cpp | 12 +- llvm/lib/MC/XCOFFObjectWriter.cpp | 3 + llvm/lib/Object/ArchiveWriter.cpp | 10 +- llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp | 170 +- .../Target/AArch64/AArch64CallingConvention.cpp | 6 +- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 14 +- llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 2 +- llvm/lib/Target/AArch64/AArch64InstrInfo.h | 3 +- llvm/lib/Target/AArch64/AArch64InstrInfo.td | 4 + llvm/lib/Target/AArch64/AArch64Subtarget.cpp | 4 +- llvm/lib/Target/AArch64/AArch64Subtarget.h | 4 +- llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | 4 +- .../Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | 352 ++-- llvm/lib/Target/AMDGPU/R600AsmPrinter.cpp | 2 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 6 +- llvm/lib/Target/AMDGPU/SIISelLowering.h | 2 +- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 3 +- llvm/lib/Target/AMDGPU/SIInstrInfo.h | 3 +- llvm/lib/Target/AMDGPU/VOPInstructions.td | 1 + llvm/lib/Target/ARC/ARCMachineFunctionInfo.h | 2 +- llvm/lib/Target/ARM/ARMAsmPrinter.cpp | 14 +- llvm/lib/Target/ARM/ARMBasicBlockInfo.cpp | 8 +- llvm/lib/Target/ARM/ARMBasicBlockInfo.h | 18 +- llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | 36 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 8 +- llvm/lib/Target/ARM/ARMInstrVFP.td | 3 +- llvm/lib/Target/AVR/AVRISelLowering.cpp | 2 +- llvm/lib/Target/BPF/BPFISelLowering.cpp | 4 +- .../lib/Target/Hexagon/HexagonBranchRelaxation.cpp | 2 +- llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp | 2 +- llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp | 2 +- llvm/lib/Target/Hexagon/HexagonISelLowering.cpp | 6 +- llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp | 3 +- llvm/lib/Target/Hexagon/HexagonInstrInfo.h | 3 +- .../Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp | 4 +- llvm/lib/Target/Lanai/LanaiISelLowering.cpp | 4 +- llvm/lib/Target/Lanai/LanaiInstrInfo.cpp | 3 +- llvm/lib/Target/Lanai/LanaiInstrInfo.h | 3 +- llvm/lib/Target/MSP430/MSP430ISelLowering.cpp | 4 +- llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 20 +- llvm/lib/Target/Mips/MCTargetDesc/MipsMCNaCl.h | 2 +- .../Target/Mips/MCTargetDesc/MipsOptionRecord.cpp | 4 +- .../Mips/MCTargetDesc/MipsTargetStreamer.cpp | 13 +- llvm/lib/Target/Mips/MipsConstantIslandPass.cpp | 22 +- llvm/lib/Target/Mips/MipsISelLowering.cpp | 9 +- llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp | 4 +- llvm/lib/Target/Mips/MipsSERegisterInfo.cpp | 2 +- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 59 +- llvm/lib/Target/PowerPC/PPCBranchSelector.cpp | 14 +- llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 16 +- llvm/lib/Target/PowerPC/PPCISelLowering.h | 2 +- llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 3 +- llvm/lib/Target/PowerPC/PPCInstrInfo.h | 3 +- llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp | 64 +- .../RISCV/Disassembler/RISCVDisassembler.cpp | 66 +- llvm/lib/Target/RISCV/RISCVCallingConv.td | 28 +- llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 76 +- llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp | 9 + llvm/lib/Target/RISCV/RISCVRegisterInfo.td | 94 +- llvm/lib/Target/Sparc/SparcISelLowering.cpp | 2 +- llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 4 +- llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp | 3 +- llvm/lib/Target/SystemZ/SystemZInstrInfo.h | 3 +- llvm/lib/Target/SystemZ/SystemZLongBranch.cpp | 2 +- .../MCTargetDesc/WebAssemblyMCTargetDesc.h | 12 + .../Target/WebAssembly/WebAssemblyISelLowering.cpp | 20 +- .../Target/WebAssembly/WebAssemblyISelLowering.h | 2 +- .../lib/Target/WebAssembly/WebAssemblyInstrSIMD.td | 44 + llvm/lib/Target/X86/X86AsmPrinter.cpp | 4 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 4 +- llvm/lib/Target/X86/X86InstrAVX512.td | 18 +- llvm/lib/Target/X86/X86InstrInfo.cpp | 21 +- llvm/lib/Target/X86/X86InstrSSE.td | 26 +- llvm/lib/Target/X86/X86RetpolineThunks.cpp | 2 +- llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 4 +- llvm/lib/Target/X86/X86TargetTransformInfo.h | 4 +- llvm/lib/Target/XCore/XCoreAsmPrinter.cpp | 4 +- llvm/lib/Target/XCore/XCoreISelLowering.cpp | 4 +- .../Instrumentation/HWAddressSanitizer.cpp | 23 +- llvm/lib/Transforms/Scalar/LoopFuse.cpp | 434 ++++- .../lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp | 2 +- llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp | 59 +- llvm/lib/Transforms/Scalar/NewGVN.cpp | 2 +- llvm/lib/Transforms/Scalar/SCCP.cpp | 2 +- llvm/lib/Transforms/Utils/FunctionImportUtils.cpp | 2 +- llvm/lib/Transforms/Utils/Local.cpp | 24 +- llvm/lib/Transforms/Utils/ModuleUtils.cpp | 2 +- .../Vectorize/LoopVectorizationLegality.cpp | 4 +- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 141 +- .../test/CodeGen/AArch64/hwasan-check-memaccess.ll | 50 +- llvm/test/CodeGen/AArch64/max-jump-table.ll | 46 +- llvm/test/CodeGen/AArch64/shift-by-signext.ll | 122 ++ llvm/test/CodeGen/AArch64/tailmerging_in_mbp.ll | 1 + llvm/test/CodeGen/PowerPC/aix-xcoff-common.ll | 2 + llvm/test/CodeGen/PowerPC/test_func_desc.ll | 74 + llvm/test/CodeGen/SystemZ/mature-mc-support.ll | 8 +- .../CodeGen/SystemZ/tail-call-mem-intrinsics.ll | 2 +- .../Thumb2/LowOverheadLoops/mve-tail-data-types.ll | 1757 ++++++++++++++++++++ llvm/test/CodeGen/WebAssembly/simd-arith.ll | 63 + .../WebAssembly/simd-ext-load-trunc-store.ll | 57 - llvm/test/CodeGen/WebAssembly/simd-offset.ll | 958 +++++++++++ llvm/test/CodeGen/X86/avx512-cmp.ll | 3 +- llvm/test/CodeGen/X86/avx512-insert-extract.ll | 4 +- llvm/test/CodeGen/X86/avx512-select.ll | 4 +- .../CodeGen/X86/codegen-prepare-replacephi2.mir | 68 + .../CodeGen/X86/fast-isel-select-pseudo-cmov.ll | 24 +- llvm/test/CodeGen/X86/fast-isel-select-sse.ll | 48 +- llvm/test/CodeGen/X86/fmaxnum.ll | 8 +- llvm/test/CodeGen/X86/fminnum.ll | 8 +- llvm/test/CodeGen/X86/gpr-to-mask.ll | 6 +- llvm/test/CodeGen/X86/pr38803.ll | 5 +- llvm/test/CodeGen/X86/scalar-fp-to-i64.ll | 8 +- llvm/test/CodeGen/X86/select-of-fp-constants.ll | 3 +- llvm/test/CodeGen/X86/shift-by-signext.ll | 148 ++ llvm/test/CodeGen/X86/sqrt-fastmath.ll | 4 +- .../MIR/X86/dbgcall-site-interpretation.mir | 6 +- .../HWAddressSanitizer/alloca-compat.ll | 17 + .../Instrumentation/HWAddressSanitizer/alloca.ll | 2 +- .../HWAddressSanitizer/basic-compat.ll | 13 + .../Instrumentation/HWAddressSanitizer/basic.ll | 42 +- llvm/test/MC/AMDGPU/reg-syntax-err.s | 9 + llvm/test/MC/ARM/vscclrm-asm.s | 6 + llvm/test/MC/Disassembler/ARM/vscclrm.txt | 5 +- llvm/test/MC/WebAssembly/simd-encodings.s | 21 + llvm/test/Transforms/InstCombine/load-cmp.ll | 50 +- llvm/test/Transforms/InstCombine/memccpy.ll | 79 + .../Transforms/InstCombine/shift-by-signext.ll | 173 ++ .../LICM/loop-max-dedicated-exit-iterations.ll | 102 -- llvm/test/Transforms/LoopFusion/guarded.ll | 67 + .../LoopUnroll/runtime-small-upperbound.ll | 70 + .../SLPVectorizer/AArch64/gather-root.ll | 102 +- .../Transforms/SLPVectorizer/AArch64/horizontal.ll | 16 + .../SLPVectorizer/AArch64/spillcost-di.ll | 4 +- llvm/test/Transforms/SLPVectorizer/X86/PR31847.ll | 153 -- .../test/Transforms/SLPVectorizer/X86/PR35628_1.ll | 13 +- .../test/Transforms/SLPVectorizer/X86/PR35628_2.ll | 5 + llvm/test/Transforms/SLPVectorizer/X86/PR39774.ll | 72 +- llvm/test/Transforms/SLPVectorizer/X86/PR40310.ll | 16 + llvm/test/Transforms/SLPVectorizer/X86/arith-fp.ll | 40 + .../Transforms/SLPVectorizer/X86/bad-reduction.ll | 28 + .../SLPVectorizer/X86/horizontal-list.ll | 354 +++- .../SLPVectorizer/X86/horizontal-minmax.ll | 476 +++++- .../Transforms/SLPVectorizer/X86/horizontal.ll | 148 ++ .../Transforms/SLPVectorizer/X86/long_chains.ll | 8 +- .../SLPVectorizer/X86/reassociated-loads.ll | 31 + .../SLPVectorizer/X86/reduction_loads.ll | 24 + .../SLPVectorizer/X86/reduction_unrolled.ll | 35 +- .../Transforms/SLPVectorizer/X86/remark_horcost.ll | 4 + .../SLPVectorizer/X86/reorder_repeated_ops.ll | 22 + .../Transforms/SLPVectorizer/X86/undef_vect.ll | 10 + .../SLPVectorizer/X86/vectorize-reorder-reuse.ll | 42 + .../X86/inverse_throughput-by-opcode-name.s | 3 +- .../tools/llvm-exegesis/X86/latency-CMOV32rr.s | 3 +- llvm/test/tools/llvm-exegesis/X86/latency-SBB8rr.s | 3 +- .../llvm-exegesis/X86/latency-by-opcode-name.s | 3 +- llvm/test/tools/llvm-exegesis/X86/uops-ADD32mi8.s | 3 +- llvm/test/tools/llvm-exegesis/X86/uops-ADD32mr.s | 3 +- llvm/test/tools/llvm-exegesis/X86/uops-ADD32rm.s | 3 +- llvm/test/tools/llvm-exegesis/X86/uops-BEXTR32rm.s | 3 +- llvm/test/tools/llvm-exegesis/X86/uops-BSF16rm.s | 3 +- llvm/test/tools/llvm-exegesis/X86/uops-BTR64mr.s | 3 +- .../tools/llvm-exegesis/X86/uops-VFMADDSS4rm.s | 3 +- llvm/test/tools/llvm-exegesis/X86/uops-XCHG64rr.s | 3 +- .../tools/llvm-exegesis/X86/uops-by-opcode-name.s | 3 +- llvm/tools/dsymutil/DwarfStreamer.cpp | 4 +- llvm/tools/llvm-cov/TestingSupport.cpp | 2 +- llvm/tools/llvm-exegesis/lib/Assembler.cpp | 120 +- llvm/tools/llvm-exegesis/lib/Assembler.h | 51 +- llvm/tools/llvm-exegesis/lib/BenchmarkResult.h | 2 + llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp | 36 +- llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h | 4 +- llvm/tools/llvm-exegesis/lib/CMakeLists.txt | 1 + llvm/tools/llvm-exegesis/lib/Latency.cpp | 26 +- llvm/tools/llvm-exegesis/lib/Latency.h | 3 +- llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp | 34 +- llvm/tools/llvm-exegesis/lib/MCInstrDescView.h | 6 +- llvm/tools/llvm-exegesis/lib/SnippetGenerator.cpp | 34 +- llvm/tools/llvm-exegesis/lib/SnippetGenerator.h | 6 +- llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp | 117 ++ llvm/tools/llvm-exegesis/lib/SnippetRepetitor.h | 53 + llvm/tools/llvm-exegesis/lib/Target.h | 13 +- llvm/tools/llvm-exegesis/lib/Uops.cpp | 52 +- llvm/tools/llvm-exegesis/lib/Uops.h | 3 +- llvm/tools/llvm-exegesis/lib/X86/Target.cpp | 46 +- llvm/tools/llvm-exegesis/llvm-exegesis.cpp | 23 +- .../llvm-objcopy/MachO/MachOLayoutBuilder.cpp | 2 +- llvm/tools/sancov/sancov.cpp | 4 +- llvm/unittests/Analysis/LoopInfoTest.cpp | 120 ++ .../tools/llvm-exegesis/Common/AssemblerUtils.h | 17 +- .../tools/llvm-exegesis/X86/CMakeLists.txt | 1 + .../llvm-exegesis/X86/SnippetGeneratorTest.cpp | 75 +- .../llvm-exegesis/X86/SnippetRepetitorTest.cpp | 107 ++ llvm/utils/emacs/tablegen-mode.el | 2 - .../clang-tools-extra/clang-tidy/BUILD.gn | 29 + .../clang-tools-extra/clang-tidy/darwin/BUILD.gn | 18 + .../clang-tools-extra/clang-tidy/plugin/BUILD.gn | 26 +- .../clang-tools-extra/clang-tidy/tool/BUILD.gn | 25 +- .../gn/secondary/clang-tools-extra/clangd/BUILD.gn | 21 +- .../llvm/tools/llvm-exegesis/lib/BUILD.gn | 1 + .../unittests/tools/llvm-exegesis/X86/BUILD.gn | 1 + llvm/utils/update_test_checks.py | 6 +- 426 files changed, 10118 insertions(+), 2930 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/darwin/CMakeLists.txt create mode 100644 clang-tools-extra/clang-tidy/darwin/DarwinTidyModule.cpp create mode 100644 clang-tools-extra/clang-tidy/darwin/DispatchOnceNonstaticCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/darwin/DispatchOnceNonstaticCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/darwin-dispatch-once-n [...] create mode 100644 clang-tools-extra/test/clang-tidy/darwin-dispatch-once-nonstatic.mm create mode 100644 clang/test/CodeGenCXX/const-init-cxx2a.cpp create mode 100644 clang/test/SemaCXX/gnu_inline.cpp create mode 100644 clang/test/SemaTemplate/using-decl.cpp create mode 100644 libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.fail.cpp create mode 100644 lldb/lit/Reproducer/TestRelativePath.test create mode 100644 lldb/lit/SymbolFile/Breakpad/Inputs/unwind-via-raSearch.syms create mode 100644 lldb/lit/SymbolFile/Breakpad/unwind-via-raSearch.test create mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/multiword-c [...] create mode 100644 llvm/test/CodeGen/AArch64/shift-by-signext.ll create mode 100644 llvm/test/CodeGen/PowerPC/test_func_desc.ll create mode 100644 llvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-tail-data-types.ll delete mode 100644 llvm/test/CodeGen/WebAssembly/simd-ext-load-trunc-store.ll create mode 100644 llvm/test/CodeGen/X86/codegen-prepare-replacephi2.mir create mode 100644 llvm/test/CodeGen/X86/shift-by-signext.ll create mode 100644 llvm/test/Instrumentation/HWAddressSanitizer/alloca-compat.ll create mode 100644 llvm/test/Instrumentation/HWAddressSanitizer/basic-compat.ll create mode 100644 llvm/test/Transforms/InstCombine/memccpy.ll create mode 100644 llvm/test/Transforms/InstCombine/shift-by-signext.ll delete mode 100644 llvm/test/Transforms/LICM/loop-max-dedicated-exit-iterations.ll create mode 100644 llvm/test/Transforms/LoopFusion/guarded.ll create mode 100644 llvm/test/Transforms/LoopUnroll/runtime-small-upperbound.ll delete mode 100644 llvm/test/Transforms/SLPVectorizer/X86/PR31847.ll create mode 100644 llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp create mode 100644 llvm/tools/llvm-exegesis/lib/SnippetRepetitor.h create mode 100644 llvm/unittests/tools/llvm-exegesis/X86/SnippetRepetitorTest.cpp create mode 100644 llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/darwin/BUILD.gn