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-lts-allnoconfig in repository toolchain/ci/llvm-project.
from 5338ffcfa1d Use std::unique_ptr in ClangTidyCheckFactories adds bb7a9dcd428 Return results by value from ClangTidyCheckFactories::createChecks adds 2745e5ea4af [clangd][vscode] Add npm helper commands to package/release [...] adds 1822087facd [clangd] Bump vscode-clangd v0.0.18 adds e16f2cb6789 [libc++] Take 2: Implement LWG 2510 adds 603256b1d74 build_llvm_package.bat: Bootstrap with VS 2019 adds eaf6746db07 [PowerPC] Add missing pattern for VSX Scalar Negative Multi [...] adds ed97f8042ba Updated comments in LWZtoc pseudo expansion. adds 6200a5689a1 [NFC] Rearrange Value::getPointerAlignment adds df3af00421a Fix typo adds d98cb81cd11 Handle successor's PHI node correctly when flattening CFG m [...] adds 67d93f0d915 [LoopInfo] Limit the iterations to check whether a loop has [...] adds be13c43e084 [PowerPC] Fix typo in rL372985 adds 2cf54d7b713 ARMBaseInstrInfo getOperandLatency - silence static analyze [...] adds 514e6b6e6ed ConstantFold - silence static analyzer dyn_cast<ExtractValu [...] adds 01ba7d5efe1 Un-XFAIL coverage_no_integrated_as.c test on Windows adds 4d17cdc704d [lld][mach-o] Avoid segfaulting when handling an empty sect [...] adds f1e14519465 [ELF] Set SectionBase::partition in processSectionCommands adds 5c6ea055f6d TGParser::ParseOperation - silence static analyzer dyn_cast [...] adds e8f0613185f SystemInitializer: Define macros for experimental targets too adds adc18301871 Move normalization of `` in #includes from -fms-compatibil [...] adds 46721bb7f52 [InstCombine] Use m_Zero instead of isNullValue() when chec [...] adds 22d225a2b2f DAGISelMatcherOpt - TGParser::ParseOperation - silence stat [...] adds 875d20bcde2 Document requirement of function attributes with constraine [...] adds 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. new 2319eb65473 [OpenCL] Pass LangOptions as const ref
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-tools-extra/clang-tidy/CMakeLists.txt | 36 +- clang-tools-extra/clang-tidy/ClangTidy.cpp | 8 +- .../clang-tidy/ClangTidyForceLinker.h | 8 +- clang-tools-extra/clang-tidy/ClangTidyModule.cpp | 7 +- clang-tools-extra/clang-tidy/ClangTidyModule.h | 9 +- 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 | 12 + clang-tools-extra/clangd/ParsedAST.cpp | 35 +- clang-tools-extra/clangd/SemanticHighlighting.cpp | 1 - .../clangd/clients/clangd-vscode/DEVELOPING.md | 4 +- .../clangd/clients/clangd-vscode/package.json | 6 +- .../clangd/unittests/FindTargetTests.cpp | 57 +- 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/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/Lex/PPDirectives.cpp | 36 +- 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/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 | 19 +- clang/test/Frontend/cc1-return-codes.c | 4 +- clang/test/Frontend/nostdlib-for-asmpp.s | 2 +- .../test/Lexer/cross-windows-on-linux-default.cpp | 2 +- clang/test/Lexer/cross-windows-on-linux.cpp | 12 +- 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 +- .../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/__functional_base | 2 +- libcxx/include/__mutex_base | 6 +- libcxx/include/mutex | 6 +- libcxx/include/new | 4 +- libcxx/include/tuple | 34 +- libcxx/include/type_traits | 24 + libcxx/include/utility | 32 +- libcxx/src/mutex.cpp | 6 +- libcxx/src/utility.cpp | 2 +- .../is_implicitly_default_constructible.pass.cpp | 85 + .../support.dynamic/nothrow_t.fail.cpp | 30 + .../support.dynamic/nothrow_t.pass.cpp | 23 + .../thread/thread.mutex/thread.lock/types.fail.cpp | 34 + .../thread/thread.mutex/thread.lock/types.pass.cpp | 9 +- ...locator_arg.pass.cpp => allocator_arg.fail.cpp} | 20 +- .../memory/allocator.tag/allocator_arg.pass.cpp | 4 +- .../tuple/tuple.tuple/tuple.cnstr/default.fail.cpp | 53 + .../tuple/tuple.tuple/tuple.cnstr/default.pass.cpp | 9 +- .../pair.piecewise/piecewise_construct.pass.cpp | 2 +- .../pair.piecewise/piecewise_construct_t.fail.cpp | 29 + .../pair.piecewise/piecewise_construct_t.pass.cpp} | 19 +- .../pairs/pairs.pair/default.explicit.fail.cpp | 42 + .../utility/pairs/pairs.pair/default.pass.cpp | 7 +- libcxx/www/cxx1z_status.html | 2 +- lld/COFF/CMakeLists.txt | 1 + lld/COFF/Symbols.cpp | 30 +- lld/Common/Strings.cpp | 32 +- lld/ELF/LinkerScript.cpp | 5 + lld/ELF/SymbolTable.cpp | 5 +- lld/ELF/Symbols.cpp | 3 +- lld/include/lld/Common/Strings.h | 5 +- .../MachO/MachONormalizedFileBinaryWriter.cpp | 14 +- lld/test/COFF/undefined-symbol-itanium-i386.s | 5 + lld/test/COFF/undefined-symbol.s | 5 + lld/test/ELF/linkerscript/dynamic.s | 10 +- lld/test/ELF/undef.s | 5 + lld/test/mach-o/empty-sections.yaml | 9 + lld/wasm/Symbols.cpp | 3 +- lldb/include/lldb/Core/StreamFile.h | 10 +- lldb/include/lldb/Host/FileCache.h | 2 +- lldb/include/lldb/Host/FileSystem.h | 7 +- lldb/include/lldb/Symbol/SymbolFile.h | 9 +- lldb/include/lldb/Symbol/UnwindPlan.h | 21 +- lldb/include/lldb/lldb-forward.h | 1 + .../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/Python/python-typemaps.swig | 9 +- 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/SBStream.cpp | 61 +- lldb/source/API/SystemInitializerFull.cpp | 2 + lldb/source/Commands/CommandObjectMemory.cpp | 31 +- lldb/source/Commands/CommandObjectMultiword.cpp | 4 +- lldb/source/Core/CMakeLists.txt | 1 + lldb/source/Core/StreamFile.cpp | 52 +- lldb/source/Expression/REPL.cpp | 19 +- lldb/source/Host/common/FileCache.cpp | 33 +- lldb/source/Host/common/FileSystem.cpp | 24 +- lldb/source/Host/windows/Host.cpp | 8 +- lldb/source/Interpreter/CommandInterpreter.cpp | 14 +- .../RenderScriptRuntime/RenderScriptRuntime.cpp | 44 +- .../Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 21 +- .../PlatformiOSSimulatorCoreSimulatorSupport.mm | 10 +- .../Process/Utility/RegisterContextLLDB.cpp | 55 + .../Plugins/Process/Utility/RegisterContextLLDB.h | 2 + .../GDBRemoteCommunicationServerCommon.cpp | 19 +- .../Process/gdb-remote/ProcessGDBRemote.cpp | 14 +- .../ScriptInterpreter/Python/PythonDataObjects.cpp | 17 +- .../ScriptInterpreter/Python/PythonDataObjects.h | 3 +- .../Python/ScriptInterpreterPython.cpp | 22 +- .../SymbolFile/Breakpad/SymbolFileBreakpad.cpp | 31 +- .../SymbolFile/Breakpad/SymbolFileBreakpad.h | 2 + lldb/source/Symbol/UnwindPlan.cpp | 8 +- lldb/source/Target/ModuleCache.cpp | 24 +- lldb/source/Target/Platform.cpp | 16 +- lldb/tools/lldb-test/SystemInitializerTest.cpp | 2 + lldb/tools/lldb-vscode/lldb-vscode.cpp | 4 +- lldb/unittests/Host/FileSystemTest.cpp | 15 + .../ScriptInterpreter/Python/CMakeLists.txt | 1 + .../Python/PythonDataObjectsTests.cpp | 9 +- llvm/docs/LangRef.rst | 14 +- llvm/include/llvm/Analysis/LoopInfoImpl.h | 6 +- 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/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/ConstantFolding.cpp | 2 +- llvm/lib/Analysis/LoopInfo.cpp | 14 +- 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/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/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/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 | 44 +- 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/TableGen/TGParser.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 +- 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/ARMBaseInstrInfo.cpp | 4 +- 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 | 68 +- 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/PowerPC/PPCInstrVSX.td | 6 + llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 2 +- 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 +- .../InstCombine/InstructionCombining.cpp | 2 +- .../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/Utils/FlattenCFG.cpp | 12 +- llvm/lib/Transforms/Utils/Local.cpp | 24 +- .../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/PowerPC/aix-xcoff-common.ll | 2 + llvm/test/CodeGen/PowerPC/fdiv.ll | 3 +- llvm/test/CodeGen/PowerPC/test_func_desc.ll | 74 + .../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 +- .../HWAddressSanitizer/alloca-compat.ll | 17 + .../Instrumentation/HWAddressSanitizer/alloca.ll | 2 +- .../HWAddressSanitizer/basic-compat.ll | 13 + .../Instrumentation/HWAddressSanitizer/basic.ll | 42 +- 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 ++ .../Transforms/InstCombine/vec_demanded_elts.ll | 17 + 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 + llvm/test/Transforms/Util/flattencfg.ll | 30 + .../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 | 116 ++ 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 ++ llvm/unittests/MI/LiveIntervalTest.cpp | 4 +- .../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/TableGen/DAGISelMatcherOpt.cpp | 9 +- 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/release/build_llvm_package.bat | 14 +- llvm/utils/update_test_checks.py | 6 +- 444 files changed, 10229 insertions(+), 2454 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/libcxx/type_traits/is_implicitly_default_constructi [...] create mode 100644 libcxx/test/std/language.support/support.dynamic/nothrow_t.fail.cpp create mode 100644 libcxx/test/std/language.support/support.dynamic/nothrow_t.pass.cpp create mode 100644 libcxx/test/std/thread/thread.mutex/thread.lock/types.fail.cpp copy libcxx/test/std/utilities/memory/allocator.tag/{allocator_arg.pass.cpp => all [...] create mode 100644 libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/default [...] create mode 100644 libcxx/test/std/utilities/utility/pairs/pair.piecewise/piecewis [...] copy libcxx/test/std/utilities/{memory/allocator.tag/allocator_arg.pass.cpp => uti [...] create mode 100644 libcxx/test/std/utilities/utility/pairs/pairs.pair/default.expl [...] create mode 100644 lld/test/mach-o/empty-sections.yaml 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 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