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-next-allnoconfig in repository toolchain/ci/llvm-monorepo.
from 8abc4cbfe90 [InstSimplify] fold 'fcmp nnan oge X, 0.0' when X is not negative adds dc957062e0b Update ioctl(2) operations for NetBSD 8.99.25 adds cf8ffdc35d5 [InstCombine] add assertion that InstSimplify has folded a [...] adds 37aa707d19d [InstSimplify] fold 'fcmp nnan ult X, 0.0' when X is not negative adds 5967f888c19 Delete dependency on config.h adds b963927a1be [llvm-mca] Remove namespace prefixes made redundant by r345 [...] adds 42a8694274f [Hexagon] Make sure not to use GP-relative addressing with PIC adds c289a40003a [LLDB] - Regroup the switch entries in DWARFFormValue::Extr [...] adds 0c62d1bc9a7 [InstCombine] refactor fabs+fcmp fold; NFC adds 7bc34bec346 [clang-tidy] new check 'readability-isolate-declaration' adds 5d35be6e901 [clang-tools-extra] fix broken link in release notes adds d70e7ccdede [clang] try-fix broken documentation builder adds 58446e8dae8 [clang-tidy] add -fexceptions to failing unit-test, unbreak [...] adds 4b2b7faaedc MachineModuleInfo: Initialize DbgInfoAvailable depending on [...] adds 641ac6e1220 [Lex] Make MacroDirective::findDirectiveAtLoc take const So [...] adds bf957ce316e [clang-tidy] add missing '--' in RUN-line, unbreak buildbot adds cfac7a9cc6d [globalisel][irtranslator] Verify that DILocations aren't l [...] adds 37d6bf360c0 Second half of C++17's splicing maps and sets adds abb1512cc37 [analyzer] Enable retain count checking for OSObject by defa adds 758a9e158ab [analyzer] RetainCountChecker: for now, do not trust the su [...] adds 4f039e615e1 [analyzer] Re-add custom OSIterator rule for RetainCountChecker adds 4341e8bf3c1 Re-land r345676 "[Win64] Handle passing i128 by value" adds b9df48ead8a TableGen: Fix ASAN error adds 2134312485f [llvm-mca] Remove the verb 'assemble' from a few options in [...] adds aac237187c6 [InstCombine] Combine nested min/max intrinsics with constants adds 0e96e65179f [InstCombine] add tests for fcmp with -0.0; NFC adds f8a040d3128 [clang-format] tweaked another case of lambda formatting adds f6a43ce6beb [globalisel][irtranslator] Fix test from r345743 on non-ass [...] adds 0dcc76d5c26 [NFC] Fixed -Wsign-compare warning adds d955589d4e4 [SelectionDAG] SelectionDAGLegalize::ExpandBITREVERSE - ens [...] adds 7053038e65b [InstCombine] regenerate test checks; NFC adds 10e6ec02ca4 Fix comment typo. NFCI. adds 73ab8893a25 [NFC] Mark "Splicing Maps and Sets" as done in LLVM 8.0 adds 08998729f7e [ASTImporter][Structural Eq] Check for isBeingDefined adds c7e9676e5bb [SelectionDAGISel] Suppress a -Wunused-but-set-variable war [...] adds a73544ecdeb [NFC] Replace C++1y and C++1z by C++14 and C++17, respectively adds cc147eb1dcc [AMDGPU] Remove FeatureVGPRSpilling adds 8e213e7cfd1 Implement the readability-const-return-type check. adds c850fb82965 [compiler-rt][Fuzzer] Use the new C++ ABI namespace CMake support adds b85a83e05f0 Removing a reliance on system headers from this test; NFC. adds 8abf090e119 [WedAssembly] Add -s and -S alias for --strip-all and --str [...] adds 349f2062371 Makefile.rules: Don't use code signing on macOS; it isn't n [...] adds 4e3360f43c1 [globalisel] Add comments indicating the operand order adds cfa0f72721a [SelectionDAG] Handle constant range [0,1) in lowerRangeToA [...] adds 9a0d35fdbe2 [InstCombine] add tests for fmin/fmax pattern matching fail [...] adds 48af48d2afb [adt] SparseBitVector::test() should be const adds 55c6be1c764 Remove unused internal template parameter. adds d414ed7b4e4 Part of PR39508: Emit an @llvm.invariant.start after storin [...] adds e3dbf9f18cb [ELF] Refactor per-target TLS layout configuration. NFC. adds 07b66de3769 [DWARF][NFC] Refactor a function to return Optional<> inste [...] adds 3e54ffb360b [ValueTracking] add tests for fmin/fmax; NFC adds 9d272fd0db3 Check shouldReduceLoadWidth from SimplifySetCC adds 750725a3966 [ARM64] [Windows] Implement _InterlockedExchangeAdd*_* builtins. adds a91ce01b59f revert rL345717 : [InstSimplify] fold icmp based on range o [...] adds 89263589b9d [AArch64] [Windows] Emit unwind tables by default. adds 4c9498e5dfd [ARM] Add missing pseudo-instruction for Thumb1 RSBS. adds 7920d44d342 [FileSystem] Extend file system and have it use the VFS. adds 0f8f3d7f154 Revert "[ASTImporter][Structural Eq] Check for isBeingDefined" adds 114c6287647 Revert r345165 "[X86] Bring back the MOV64r0 pseudo instruction" adds ce13e5a399c [AArch64] Sort switch cases (NFC) adds c149ccf393b [FileSystem] Remove EnumerateDirectory adds bfae003fb0e [compiler-rt] Pass CMake C and C++ flags to the custom libc++ adds e8f25e67fe9 [InlineCost] Remove a dead constant; NFC adds a8ec1b3f2b5 [IR] Allow increasing the alignment of dso-local globals. adds dcb72a78aa2 [COFF, ARM64] Implement Intrinsic.sponentry for AArch64 adds 8d369e9018c [COFF, ARM64] Change setjmp for AArch64 Windows to use Intr [...] adds 0a8243509f2 [VFS] Add support for "no_push" to VFS recursive iterators. adds 24469f6123b [WebAssembly] Handle vector IMPLICIT_DEFs. adds f599892e2aa [WebAssembly] Process p2align operands for SIMD loads and stores adds b472704c377 Compile and test i128 math builtins for Win64 adds b537d852211 [WebAssembly] Lower vselect adds 017df0ace56 [XRay] Add CPU ID in Custom Event FDR Records adds c5240ea0d84 [FileSystem] Re-add EnumerateDirectory adds aac8b50e4f3 [FileSystem] Move EnumerateDirectory from FileSpec to FileSystem. adds 5876e406116 X86: Consistently declare pass initializers in X86.h; NFC adds efc9c57d2aa [analyzer] pr39348: MallocChecker: Realize that sized delet [...] adds 8f4850ae568 Fix regression in behavior of clang -x c++-header -fmodule- [...] adds 539218ba114 [WebAssembly] Fix type names in truncation builtins adds 90325cd81b6 Fix typo in comment. adds 84ab2171d03 [WebAssembly] Remove duplicate function. NFC. adds c64eae52c55 [analyzer] SARIF: Suppress version testing in a more downst [...] adds 3a1a32e8400 [COFF, ARM64] Implement llvm.addressofreturnaddress intrinsic adds 1152628516b [Clang][PowerPC] Support constraint 'wi' in asm From the [...] adds ce55b757e75 [PowerPC] Support constraint 'wi' in asm From the gcc man [...] adds 5e84eb2afd2 [CodeView] Emit the correct TypeIndex for std::nullptr_t. adds 01fcbe6c35c [FileSystem] Remove GetByteSize() from FileSpec adds c4db11e4a8a [SCEV] Avoid redundant computations when doing AddRec merge adds 34aaa405eb6 [IndVars] Smart hard uses detection adds 73d196c3506 [Windows] A basic implementation of memory allocations in a [...] adds f1e05feb160 [clang][CodeGen] ImplicitIntegerSignChangeSanitizer: actual [...] adds 98ed15ddb9f [SystemZ::TTI] Accurate costs for i1->double vector conversions adds ee87de2efd9 [SystemZ::TTI] Recognize the higher cost of scalar i1 -> f [...] adds 50c4ba28458 [ELF] - Do not crash when -r output uses linker script with [...] adds 179cef9f0fe [NFC] Reorganize code to prepare it for more transforms adds 1c0658d8be0 [Mips] Conditionally remove successor block adds fd6cd858566 [NFC] Specialize public API of ICFLoopSafetyInfo for insert [...] adds e0c8066cf6a Update to the 10-10 SARIF spec. adds ad77c80c7b9 [X86][SSE] Move 2-input limit up from getFauxShuffleMask to [...] adds 73fee639dd5 Allow clk_event_t comparisons adds 34d4fa228d4 CPU-Dispatch-- Fix conflict between 'generic' and 'pentium' new 56467cf68dd [AArch64] Add support for ARMv8.4 in Saphira. new df030df8622 Logging: make os_log buffer size an integer constant expression. new 274df47f18d [ADT] Clean up SparseBitVector copying and make it moveable new 200f547f507 [mips][micromips] Fix JmpLink to TargetExternalSymbol new dd200d26256 [InstSimplify] add tests for icmp fold bug (PR39510); NFC new 89e86954382 [InstSimplify] fold icmp based on range of abs/nabs (2nd try) new 213b24a5c18 Logging: add CMake dependency so libAST can use OSLog analysis. new bf0e33ccee6 [libcxx] Fix usage of _C2, which is a "nasty macro" in some [...] new c93d59a523d Logging: put link against libclangAnalysis rather than libL [...] new a4f4abb97ea [X86][X86FixupLEA] Rename processInstructionForSLM to proce [...]
The 10 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/readability/CMakeLists.txt | 2 + .../readability/ConstReturnTypeCheck.cpp | 128 +++++ .../clang-tidy/readability/ConstReturnTypeCheck.h | 35 ++ .../readability/IsolateDeclarationCheck.cpp | 279 +++++++++++ .../readability/IsolateDeclarationCheck.h | 36 ++ .../readability/ReadabilityTidyModule.cpp | 6 + clang-tools-extra/clang-tidy/utils/LexerUtils.cpp | 89 ++++ clang-tools-extra/clang-tidy/utils/LexerUtils.h | 68 +++ clang-tools-extra/clangd/Threading.cpp | 5 +- clang-tools-extra/docs/ReleaseNotes.rst | 12 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 2 + .../checks/readability-const-return-type.rst | 26 + .../checks/readability-isolate-declaration.rst | 100 ++++ .../clang-tidy/readability-const-return-type.cpp | 234 +++++++++ .../readability-isolate-declaration-cxx17.cpp | 103 ++++ .../readability-isolate-declaration-fixing.cpp | 64 +++ .../clang-tidy/readability-isolate-declaration.c | 13 + .../clang-tidy/readability-isolate-declaration.cpp | 412 ++++++++++++++++ clang/docs/ReleaseNotes.rst | 1 + clang/include/clang/Basic/BuiltinsAArch64.def | 14 + clang/include/clang/Basic/BuiltinsARM.def | 13 + clang/include/clang/Basic/BuiltinsWebAssembly.def | 8 +- clang/include/clang/Lex/MacroInfo.h | 3 +- clang/lib/AST/CMakeLists.txt | 1 + clang/lib/AST/ExprConstant.cpp | 7 + clang/lib/Basic/Targets/PPC.h | 1 + clang/lib/CodeGen/CGBuiltin.cpp | 77 ++- clang/lib/CodeGen/CGDeclCXX.cpp | 28 +- clang/lib/CodeGen/CGExprScalar.cpp | 7 +- clang/lib/CodeGen/CodeGenFunction.h | 9 +- clang/lib/CodeGen/CodeGenModule.cpp | 16 + clang/lib/CodeGen/ItaniumCXXABI.cpp | 4 +- clang/lib/CodeGen/TargetInfo.cpp | 44 +- clang/lib/Driver/ToolChains/Clang.cpp | 4 +- clang/lib/Driver/ToolChains/MSVC.cpp | 10 +- clang/lib/Format/ContinuationIndenter.cpp | 3 +- clang/lib/Format/FormatToken.h | 8 + clang/lib/Format/TokenAnnotator.cpp | 24 + clang/lib/Format/UnwrappedLineFormatter.cpp | 7 +- clang/lib/Frontend/CompilerInstance.cpp | 3 + clang/lib/Headers/intrin.h | 60 +-- clang/lib/Lex/MacroInfo.cpp | 3 +- clang/lib/Lex/ModuleMap.cpp | 2 +- clang/lib/Sema/SemaExpr.cpp | 4 + .../lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 38 +- .../RetainCountChecker/RetainCountChecker.cpp | 12 +- .../RetainCountChecker/RetainCountChecker.h | 2 +- .../StaticAnalyzer/Core/RetainSummaryManager.cpp | 22 +- clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp | 15 +- clang/test/Analysis/NewDelete-custom.cpp | 31 +- .../test/Analysis/NewDelete-sized-deallocation.cpp | 39 ++ .../sarif-diagnostics-taint-test.c.sarif | 12 +- .../diagnostics/sarif-diagnostics-taint-test.c | 2 +- clang/test/Analysis/osobject-retain-release.cpp | 74 ++- clang/test/CodeGen/attr-cpuspecific.c | 18 + clang/test/CodeGen/builtins-wasm.c | 16 +- clang/test/CodeGen/builtins.c | 13 +- ...-implicit-integer-sign-changes-true-negatives.c | 12 + clang/test/CodeGen/ms-intrinsics.c | 94 +++- clang/test/CodeGen/ms-setjmp.c | 4 +- clang/test/CodeGen/win64-i128.c | 16 + clang/test/CodeGenCXX/cxx11-thread-local.cpp | 2 + clang/test/Driver/header-module.cpp | 11 + clang/test/Modules/strict-decluse-headers.cpp | 17 + clang/test/SemaOpenCL/clk_event_t.cl | 25 + clang/test/SemaOpenCL/invalid-clk-events-cl2.0.cl | 3 - clang/unittests/Format/FormatTest.cpp | 98 +++- compiler-rt/cmake/Modules/AddCompilerRT.cmake | 10 +- compiler-rt/lib/builtins/int_types.h | 11 +- compiler-rt/lib/fuzzer/CMakeLists.txt | 2 +- .../sanitizer_interceptors_ioctl_netbsd.inc | 37 +- .../sanitizer_platform_limits_netbsd.cc | 43 +- .../sanitizer_platform_limits_netbsd.h | 28 +- compiler-rt/lib/xray/xray_fdr_controller.h | 2 +- compiler-rt/lib/xray/xray_fdr_log_writer.h | 5 +- compiler-rt/lib/xray/xray_fdr_logging.cc | 3 +- compiler-rt/test/builtins/CMakeLists.txt | 10 + compiler-rt/test/builtins/Unit/absvti2_test.c | 1 + compiler-rt/test/builtins/Unit/addvti3_test.c | 1 + compiler-rt/test/builtins/Unit/ashlti3_test.c | 1 + compiler-rt/test/builtins/Unit/ashrti3_test.c | 1 + compiler-rt/test/builtins/Unit/clzti2_test.c | 1 + compiler-rt/test/builtins/Unit/cmpti2_test.c | 1 + compiler-rt/test/builtins/Unit/ctzti2_test.c | 1 + compiler-rt/test/builtins/Unit/divti3_test.c | 1 + compiler-rt/test/builtins/Unit/ffsti2_test.c | 1 + compiler-rt/test/builtins/Unit/fixdfti_test.c | 1 + compiler-rt/test/builtins/Unit/fixsfti_test.c | 1 + compiler-rt/test/builtins/Unit/fixunsdfti_test.c | 21 +- compiler-rt/test/builtins/Unit/fixunssfti_test.c | 9 +- compiler-rt/test/builtins/Unit/fixunsxfti_test.c | 4 +- compiler-rt/test/builtins/Unit/fixxfti_test.c | 10 +- compiler-rt/test/builtins/Unit/floattidf_test.c | 1 + compiler-rt/test/builtins/Unit/floattisf_test.c | 1 + compiler-rt/test/builtins/Unit/floattixf_test.c | 10 +- compiler-rt/test/builtins/Unit/floatuntidf_test.c | 1 + compiler-rt/test/builtins/Unit/floatuntisf_test.c | 10 +- compiler-rt/test/builtins/Unit/floatuntixf_test.c | 10 +- compiler-rt/test/builtins/Unit/lit.cfg | 8 +- compiler-rt/test/builtins/Unit/lit.site.cfg.in | 3 +- compiler-rt/test/builtins/Unit/lshrti3_test.c | 1 + compiler-rt/test/builtins/Unit/modti3_test.c | 13 +- compiler-rt/test/builtins/Unit/muloti4_test.c | 1 + compiler-rt/test/builtins/Unit/multi3_test.c | 1 + compiler-rt/test/builtins/Unit/mulvti3_test.c | 7 +- compiler-rt/test/builtins/Unit/negti2_test.c | 1 + compiler-rt/test/builtins/Unit/negvti2_test.c | 1 + compiler-rt/test/builtins/Unit/parityti2_test.c | 1 + compiler-rt/test/builtins/Unit/popcountti2_test.c | 1 + compiler-rt/test/builtins/Unit/subvti3_test.c | 1 + compiler-rt/test/builtins/Unit/ucmpti2_test.c | 1 + compiler-rt/test/builtins/Unit/udivmodti4_test.c | 1 + compiler-rt/test/builtins/Unit/udivti3_test.c | 1 + compiler-rt/test/builtins/Unit/umodti3_test.c | 1 + libcxx/include/__hash_table | 255 +++++++--- libcxx/include/__node_handle | 3 - libcxx/include/__tree | 70 ++- libcxx/include/map | 92 ++++ libcxx/include/set | 103 +++- libcxx/include/unordered_map | 97 ++++ libcxx/include/unordered_set | 97 ++++ libcxx/include/version | 1 + .../associative/map/map.modifiers/merge.pass.cpp | 149 ++++++ .../multimap/multimap.modifiers/merge.pass.cpp | 149 ++++++ .../containers/associative/multiset/merge.pass.cpp | 148 ++++++ .../std/containers/associative/set/merge.pass.cpp | 148 ++++++ .../unord.map/unord.map.modifiers/merge.pass.cpp | 161 +++++++ .../unord.multimap.modifiers/merge.pass.cpp | 161 +++++++ .../containers/unord/unord.multiset/merge.pass.cpp | 158 ++++++ .../std/containers/unord/unord.set/merge.pass.cpp | 158 ++++++ libcxx/test/support/nasty_macros.hpp | 3 + libcxx/www/cxx1y_status.html | 9 +- libcxx/www/cxx1z_status.html | 8 +- lld/ELF/Arch/AArch64.cpp | 3 - lld/ELF/Arch/ARM.cpp | 2 - lld/ELF/Arch/PPC64.cpp | 2 - lld/ELF/InputFiles.cpp | 12 +- lld/ELF/InputSection.cpp | 50 +- lld/ELF/Target.h | 9 - lld/test/ELF/linkerscript/relocatable-discard.s | 21 + lld/test/wasm/lto/signature-mismatch.ll | 2 +- lld/test/wasm/signature-mismatch-weak.ll | 4 +- lld/test/wasm/signature-mismatch.ll | 8 +- lld/test/wasm/{strip-debug.test => strip-all.test} | 6 +- lld/test/wasm/strip-debug.test | 4 + lld/wasm/Options.td | 2 + lld/wasm/WriterUtils.cpp | 27 +- lldb/include/lldb/Core/ModuleSpec.h | 9 +- lldb/include/lldb/Host/FileSystem.h | 99 +++- lldb/include/lldb/Utility/FileSpec.h | 26 +- lldb/lit/Expr/TestIRMemoryMap.test | 2 +- ...RMemoryMap.test => TestIRMemoryMapWindows.test} | 4 +- .../Python/lldbsuite/test/make/Makefile.rules | 5 +- lldb/source/Core/Debugger.cpp | 27 +- lldb/source/Core/Disassembler.cpp | 2 +- lldb/source/Core/Module.cpp | 13 +- lldb/source/Core/ModuleList.cpp | 2 +- lldb/source/Core/PluginManager.cpp | 25 +- lldb/source/Core/SourceManager.cpp | 10 +- lldb/source/Host/common/FileSystem.cpp | 165 ++++++- lldb/source/Host/common/Host.cpp | 4 +- lldb/source/Host/common/HostInfoBase.cpp | 2 +- lldb/source/Host/common/Symbols.cpp | 2 +- lldb/source/Host/posix/HostProcessPosix.cpp | 2 +- .../Initialization/SystemInitializerCommon.cpp | 3 + lldb/source/Interpreter/OptionValueFileSpec.cpp | 2 +- .../MacOSX-DYLD/DynamicLoaderDarwin.cpp | 2 +- .../BSD-Archive/ObjectContainerBSDArchive.cpp | 2 +- .../Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 4 +- lldb/source/Plugins/Platform/Android/AdbClient.cpp | 2 +- .../Platform/MacOSX/PlatformAppleTVSimulator.cpp | 15 +- .../MacOSX/PlatformAppleWatchSimulator.cpp | 15 +- .../Plugins/Platform/MacOSX/PlatformDarwin.cpp | 15 +- .../Plugins/Platform/MacOSX/PlatformDarwin.h | 5 +- .../Platform/MacOSX/PlatformDarwinKernel.cpp | 45 +- .../Plugins/Platform/MacOSX/PlatformDarwinKernel.h | 27 +- .../Platform/MacOSX/PlatformRemoteDarwinDevice.cpp | 39 +- .../Platform/MacOSX/PlatformRemoteDarwinDevice.h | 8 +- .../Platform/MacOSX/PlatformiOSSimulator.cpp | 15 +- .../Plugins/Platform/POSIX/PlatformPOSIX.cpp | 2 +- .../Process/Windows/Common/ProcessWindows.cpp | 66 +++ .../Process/Windows/Common/ProcessWindows.h | 3 + .../GDBRemoteCommunicationServerCommon.cpp | 2 +- .../Python/ScriptInterpreterPython.cpp | 2 +- .../Plugins/SymbolFile/DWARF/DWARFFormValue.cpp | 86 +--- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 5 +- .../SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp | 2 +- .../SymbolFile/DWARF/SymbolFileDWARFDwp.cpp | 3 +- .../Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp | 7 +- .../SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp | 7 +- lldb/source/Symbol/ObjectFile.cpp | 5 +- lldb/source/Target/ModuleCache.cpp | 3 +- lldb/source/Target/Platform.cpp | 37 +- lldb/source/Utility/FileSpec.cpp | 40 -- lldb/unittests/Core/MangledTest.cpp | 3 + lldb/unittests/Expression/ClangParserTest.cpp | 11 +- lldb/unittests/Host/FileSystemTest.cpp | 263 +++++++++- lldb/unittests/Host/HostInfoTest.cpp | 19 +- lldb/unittests/Host/SymbolsTest.cpp | 27 +- .../unittests/ObjectFile/ELF/TestObjectFileELF.cpp | 3 + .../ScriptInterpreter/Python/PythonTestSuite.cpp | 4 +- lldb/unittests/Symbol/TestClangASTContext.cpp | 17 +- lldb/unittests/Symbol/TestDWARFCallFrameInfo.cpp | 10 +- .../SymbolFile/DWARF/SymbolFileDWARFTests.cpp | 15 +- .../SymbolFile/PDB/SymbolFilePDBTests.cpp | 3 + lldb/unittests/Target/ModuleCacheTest.cpp | 9 +- llvm/docs/LangRef.rst | 79 +-- llvm/include/llvm/ADT/SparseBitVector.h | 75 +-- llvm/include/llvm/ADT/iterator.h | 4 +- llvm/include/llvm/Analysis/InlineCost.h | 1 - llvm/include/llvm/Analysis/MustExecute.h | 18 +- llvm/include/llvm/CodeGen/ISDOpcodes.h | 2 +- llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h | 7 + llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h | 2 +- llvm/include/llvm/IR/Intrinsics.td | 1 + llvm/include/llvm/Support/VirtualFileSystem.h | 27 +- llvm/include/llvm/Target/GenericOpcodes.td | 8 +- llvm/include/llvm/XRay/FDRRecords.h | 14 +- llvm/lib/Analysis/InstructionSimplify.cpp | 16 +- llvm/lib/Analysis/MustExecute.cpp | 8 +- llvm/lib/Analysis/ScalarEvolution.cpp | 11 +- llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 3 + llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 7 +- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 92 +++- llvm/lib/CodeGen/MachineModuleInfo.cpp | 3 +- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 15 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 7 +- .../CodeGen/SelectionDAG/SelectionDAGDumper.cpp | 1 + llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 1 + llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 3 +- llvm/lib/DebugInfo/CodeView/TypeIndex.cpp | 3 + llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp | 8 +- llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp | 10 +- llvm/lib/IR/Globals.cpp | 2 +- llvm/lib/Support/VirtualFileSystem.cpp | 29 +- llvm/lib/Target/AArch64/AArch64.td | 2 +- llvm/lib/Target/AArch64/AArch64FastISel.cpp | 16 + llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 12 + llvm/lib/Target/AArch64/AArch64ISelLowering.h | 1 + llvm/lib/Target/AArch64/AArch64Subtarget.cpp | 43 +- llvm/lib/Target/AMDGPU/AMDGPU.td | 6 - llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | 8 +- llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 12 + llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp | 5 - llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | 3 - llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 19 - llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | 15 +- llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | 1 + llvm/lib/Target/ARM/ARMInstrThumb.td | 6 + .../Hexagon/HexagonSplitConst32AndConst64.cpp | 2 +- .../lib/Target/Hexagon/HexagonTargetObjectFile.cpp | 10 +- llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h | 2 +- llvm/lib/Target/Mips/MicroMipsInstrInfo.td | 2 + llvm/lib/Target/Mips/MipsBranchExpansion.cpp | 3 +- llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 8 +- .../Target/SystemZ/SystemZTargetTransformInfo.cpp | 47 +- .../Target/SystemZ/SystemZTargetTransformInfo.h | 2 + .../Target/WebAssembly/WebAssemblyISelLowering.cpp | 9 + .../Target/WebAssembly/WebAssemblyRegStackify.cpp | 5 + .../WebAssembly/WebAssemblySetP2AlignOperands.cpp | 12 + llvm/lib/Target/X86/ShadowCallStack.cpp | 4 - llvm/lib/Target/X86/X86.h | 17 +- .../Target/X86/X86AvoidStoreForwardingBlocks.cpp | 4 - llvm/lib/Target/X86/X86CallFrameOptimization.cpp | 4 - llvm/lib/Target/X86/X86CmovConversion.cpp | 6 - llvm/lib/Target/X86/X86DomainReassignment.cpp | 4 - llvm/lib/Target/X86/X86FastISel.cpp | 32 +- llvm/lib/Target/X86/X86FixupLEAs.cpp | 17 +- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 13 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 9 +- llvm/lib/Target/X86/X86InstrCompiler.td | 6 +- llvm/lib/Target/X86/X86InstrInfo.cpp | 23 +- .../lib/Target/X86/X86SpeculativeLoadHardening.cpp | 16 +- llvm/lib/Target/X86/X86TargetMachine.cpp | 15 - llvm/lib/Target/X86/X86WinEHState.cpp | 4 - .../Transforms/InstCombine/InstCombineCalls.cpp | 36 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 81 ++-- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 39 +- llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp | 19 +- llvm/lib/XRay/FDRTraceWriter.cpp | 7 +- llvm/lib/XRay/FileHeaderReader.cpp | 3 +- llvm/lib/XRay/RecordInitializer.cpp | 13 + llvm/lib/XRay/RecordPrinter.cpp | 5 +- llvm/lib/XRay/Trace.cpp | 13 +- .../Analysis/CostModel/SystemZ/cmp-tofp-scalar.ll | 23 + llvm/test/Analysis/CostModel/SystemZ/cmp-tofp.ll | 43 ++ .../Analysis/ScalarEvolution/binomial-explision.ll | 2 +- llvm/test/Analysis/ScalarEvolution/pr28705.ll | 6 +- .../AArch64/GlobalISel/irtranslator-dilocation.ll | 53 ++ llvm/test/CodeGen/AArch64/fast-isel-dbg.ll | 26 + llvm/test/CodeGen/AArch64/sponentry.ll | 104 ++++ .../test/CodeGen/AMDGPU/local-stack-slot-offset.ll | 4 +- llvm/test/CodeGen/AMDGPU/noop-shader-O0.ll | 66 +++ .../AMDGPU/schedule-vs-if-nested-loop-failure.ll | 4 +- llvm/test/CodeGen/AMDGPU/scratch-simple.ll | 6 +- llvm/test/CodeGen/AMDGPU/selected-stack-object.ll | 15 - .../test/CodeGen/AMDGPU/setcc-limit-load-shrink.ll | 65 +++ llvm/test/CodeGen/AMDGPU/si-sgpr-spill.ll | 4 +- llvm/test/CodeGen/AMDGPU/spill-m0.ll | 10 +- .../vgpr-spill-emergency-stack-slot-compute.ll | 8 +- .../AMDGPU/vgpr-spill-emergency-stack-slot.ll | 6 +- llvm/test/CodeGen/AMDGPU/zext-lid.ll | 26 +- llvm/test/CodeGen/ARM/and-load-combine.ll | 42 +- llvm/test/CodeGen/ARM/atomic-cmpxchg.ll | 6 +- llvm/test/CodeGen/ARM/memfunc.ll | 8 +- llvm/test/CodeGen/ARM/select-imm.ll | 12 +- llvm/test/CodeGen/ARM/smml.ll | 2 +- llvm/test/CodeGen/Hexagon/pic-sdata.ll | 37 ++ llvm/test/CodeGen/Mips/micromips-mtc-mfc.ll | 4 +- .../Mips/micromips-target-external-symbol-reloc.ll | 13 + llvm/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll | 15 + llvm/test/CodeGen/PowerPC/vec-asm-disabled.ll | 9 + llvm/test/CodeGen/Thumb/branchless-cmp.ll | 9 +- llvm/test/CodeGen/Thumb/long-setcc.ll | 3 +- llvm/test/CodeGen/WebAssembly/implicit-def.ll | 151 ++++-- .../WebAssembly/simd-load-store-alignment.ll | 534 +++++++++++++++++++++ llvm/test/CodeGen/WebAssembly/simd-offset.ll | 192 ++++---- llvm/test/CodeGen/WebAssembly/simd-vselect.ll | 90 ++++ llvm/test/CodeGen/X86/GlobalISel/constant.ll | 2 +- llvm/test/CodeGen/X86/avg.ll | 455 +++++++++--------- .../CodeGen/X86/avx512-shuffles/partial_permute.ll | 21 +- llvm/test/CodeGen/X86/crash-O0.ll | 8 +- llvm/test/CodeGen/X86/hoist-spill.ll | 2 + llvm/test/CodeGen/X86/machine-cse.ll | 15 +- llvm/test/CodeGen/X86/madd.ll | 66 +-- llvm/test/CodeGen/X86/mmx-arith.ll | 11 +- llvm/test/CodeGen/X86/pr32284.ll | 19 +- llvm/test/CodeGen/X86/pr32340.ll | 25 +- llvm/test/CodeGen/X86/scheduler-backtracking.ll | 212 ++++---- llvm/test/CodeGen/X86/spill-zero-x86_64.ll | 75 --- llvm/test/CodeGen/X86/swifterror.ll | 21 +- llvm/test/DebugInfo/COFF/types-std-nullptr-t.ll | 42 ++ .../Transforms/IndVarSimplify/dont-recompute.ll | 51 ++ .../IndVarSimplify/lrev-existing-umin.ll | 38 ++ llvm/test/Transforms/InstCombine/fcmp-special.ll | 57 +++ llvm/test/Transforms/InstCombine/fcmp.ll | 220 +++------ llvm/test/Transforms/InstCombine/maximum.ll | 18 +- llvm/test/Transforms/InstCombine/maxnum.ll | 18 +- llvm/test/Transforms/InstCombine/minimum.ll | 18 +- llvm/test/Transforms/InstCombine/minmax-fp.ll | 110 +++-- llvm/test/Transforms/InstCombine/minnum.ll | 18 +- .../InstSimplify/floating-point-compare.ll | 16 +- llvm/test/Transforms/InstSimplify/icmp-abs-nabs.ll | 35 ++ llvm/tools/llvm-mca/include/Context.h | 9 +- llvm/tools/llvm-mca/include/HWEventListener.h | 19 +- llvm/tools/llvm-mca/include/HardwareUnits/LSUnit.h | 6 +- .../llvm-mca/include/HardwareUnits/RegisterFile.h | 34 +- .../include/HardwareUnits/ResourceManager.h | 25 +- .../include/HardwareUnits/RetireControlUnit.h | 2 +- .../llvm-mca/include/HardwareUnits/Scheduler.h | 30 +- llvm/tools/llvm-mca/include/InstrBuilder.h | 37 +- llvm/tools/llvm-mca/include/Instruction.h | 24 +- llvm/tools/llvm-mca/include/Pipeline.h | 6 +- llvm/tools/llvm-mca/include/SourceMgr.h | 6 +- llvm/tools/llvm-mca/include/Stages/DispatchStage.h | 21 +- llvm/tools/llvm-mca/include/Stages/ExecuteStage.h | 12 +- llvm/tools/llvm-mca/include/Stages/FetchStage.h | 6 +- .../llvm-mca/include/Stages/InstructionTables.h | 10 +- llvm/tools/llvm-mca/include/Stages/RetireStage.h | 4 +- llvm/tools/llvm-mca/include/Stages/Stage.h | 8 +- llvm/tools/llvm-mca/include/Support.h | 19 +- llvm/tools/llvm-mca/llvm-mca.cpp | 34 +- llvm/unittests/ADT/SparseBitVectorTest.cpp | 21 + llvm/unittests/Analysis/ValueTrackingTest.cpp | 176 +++++++ llvm/unittests/Support/VirtualFileSystemTest.cpp | 79 +++ llvm/unittests/XRay/FDRProducerConsumerTest.cpp | 2 +- llvm/unittests/XRay/FDRRecordPrinterTest.cpp | 4 +- llvm/utils/TableGen/SearchableTableEmitter.cpp | 20 +- 368 files changed, 8655 insertions(+), 2435 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/readability/ConstReturnTypeCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/readability/ConstReturnTypeCheck.h create mode 100644 clang-tools-extra/clang-tidy/readability/IsolateDeclarationCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/readability/IsolateDeclarationCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/readability-const-retu [...] create mode 100644 clang-tools-extra/docs/clang-tidy/checks/readability-isolate-de [...] create mode 100644 clang-tools-extra/test/clang-tidy/readability-const-return-type.cpp create mode 100644 clang-tools-extra/test/clang-tidy/readability-isolate-declarati [...] create mode 100644 clang-tools-extra/test/clang-tidy/readability-isolate-declarati [...] create mode 100644 clang-tools-extra/test/clang-tidy/readability-isolate-declaration.c create mode 100644 clang-tools-extra/test/clang-tidy/readability-isolate-declaration.cpp create mode 100644 clang/test/Analysis/NewDelete-sized-deallocation.cpp create mode 100644 clang/test/CodeGen/win64-i128.c create mode 100644 clang/test/Modules/strict-decluse-headers.cpp create mode 100644 clang/test/SemaOpenCL/clk_event_t.cl delete mode 100644 clang/test/SemaOpenCL/invalid-clk-events-cl2.0.cl create mode 100644 libcxx/test/std/containers/associative/map/map.modifiers/merge. [...] create mode 100644 libcxx/test/std/containers/associative/multimap/multimap.modifi [...] create mode 100644 libcxx/test/std/containers/associative/multiset/merge.pass.cpp create mode 100644 libcxx/test/std/containers/associative/set/merge.pass.cpp create mode 100644 libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/ [...] create mode 100644 libcxx/test/std/containers/unord/unord.multimap/unord.multimap. [...] create mode 100644 libcxx/test/std/containers/unord/unord.multiset/merge.pass.cpp create mode 100644 libcxx/test/std/containers/unord/unord.set/merge.pass.cpp create mode 100644 lld/test/ELF/linkerscript/relocatable-discard.s copy lld/test/wasm/{strip-debug.test => strip-all.test} (53%) copy lldb/lit/Expr/{TestIRMemoryMap.test => TestIRMemoryMapWindows.test} (85%) create mode 100644 llvm/test/Analysis/CostModel/SystemZ/cmp-tofp-scalar.ll create mode 100644 llvm/test/Analysis/CostModel/SystemZ/cmp-tofp.ll create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-dilocation.ll create mode 100644 llvm/test/CodeGen/AArch64/fast-isel-dbg.ll create mode 100644 llvm/test/CodeGen/AArch64/sponentry.ll create mode 100644 llvm/test/CodeGen/AMDGPU/noop-shader-O0.ll delete mode 100644 llvm/test/CodeGen/AMDGPU/selected-stack-object.ll create mode 100644 llvm/test/CodeGen/AMDGPU/setcc-limit-load-shrink.ll create mode 100644 llvm/test/CodeGen/Hexagon/pic-sdata.ll create mode 100644 llvm/test/CodeGen/Mips/micromips-target-external-symbol-reloc.ll create mode 100644 llvm/test/CodeGen/WebAssembly/simd-load-store-alignment.ll create mode 100644 llvm/test/CodeGen/WebAssembly/simd-vselect.ll delete mode 100644 llvm/test/CodeGen/X86/spill-zero-x86_64.ll create mode 100644 llvm/test/DebugInfo/COFF/types-std-nullptr-t.ll