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-defconfig in repository toolchain/ci/llvm-project.
from 7420f96924a [TableGen] Move generated *Attr class methods out of line adds fa8080376e7 [AST][SVE] Add new Type queries for sizeless types adds b93dd677977 [gn build] Port fa8080376e7 adds 7bfc3bf39b6 Replace getAs/dyn_cast with castAs/cast to fix null derefer [...] adds f09c7d642af [Sema][SVE] Add tests for valid and invalid type usage adds eb2ba2ea953 [CUDA] Warn about unsupported CUDA SDK version only if it's used. adds 39969c7d3a6 [Sema][SVE] Reject sizeof and alignof for sizeless types adds 627b5c12068 [Sema][SVE] Reject aligned/_Alignas for sizeless types adds adb290d9748 [Sema][SVE] Reject atomic sizeless types adds bc9b6b33a0d [lldb/Utility] Add YAML traits for ConstString and FileSpec. adds 36e018b9411 [mlir] Add derived attribute op interface adds f8700db7f15 [Sema][SVE] Don't allow static or thread-local variables to [...] adds 30804d0a3fb CFGDiff: Simplify and generalize over all graph types adds c53c2058ffb Cache uwnind frame headers as they are found. adds 360aff0493e [AMDGPU] Simplify nested SI_END_CF adds eb41cc61986 [clang-tidy] Add module for llvm-libc and restrict-system-l [...] adds c52f839e723 Revert "[SCCP] Use ValueLatticeElement instead of LatticeVa [...] adds 814c65dedce ExecutionDomainFix - fix static analyzer out of range shift [...] adds 336530be072 CGOpenMPRuntime::emitDeclareTargetVarDefinition - fix stati [...] adds adeb8c54285 Replace getAs with castAs to fix null dereference static an [...] adds 1ef0d66343d Fix unused variable warning. NFCI. adds 26d254f0841 Sink more Attr.h inline methods, NFC adds 3eef58991b2 Add a catch-all else case so any unanticipated configs pass [...] adds 05334de6797 [ARM] Long shift tests. NFC adds fe74df01a90 [lldb] Specify default value for platform.module-cache-directory adds 4e589e6c26e [WebAssembly] Fix SIMD shift unrolling to avoid assertion failure adds 6174fddbe3d [Hexagon] Enable init_arrays when target is linux-musl adds 2a2d2420175 [DAGCombine] foldVSelectOfConstants - ensure constants are [...] adds 9975dc38bf7 Defer checking for mismatches between the deletedness of an [...] adds e91feeed21e [AMDGPU] Add ISD::FSHR -> ALIGNBIT support adds 118abf20173 [SVE] Update API ConstantVector::getSplat() to use ElementCount. adds dc4cd43904d [clangd] Add a textual fallback for go-to-definition adds d184d022630 [libcxx] Enable C++17 for the benchmarks. adds c0735b2c210 [MLIR] Update documentation for loop.reduce. adds 9f5d9bf2470 [MLIR] Reformat LoopOps.td documentation. adds 078776a679b [mlir] [VectorOps] Progressively lower vector.outerproduct to LLVM adds 638b06cf298 [lldb/Utility] Replace ProcessInstanceInfoList with std::ve [...] adds 56926a9146f Revert "[libcxx] Enable C++17 for the benchmarks." adds d5f53253a02 [mlir][SideEffects] Mark the CFG only terminator operations [...] adds 483f82b146f [mlir][SideEffects][NFC] Move the .td definitions for NoSid [...] adds 7c211cf3af5 [mlir][NFC] Move the definition of AffineApplyOp to ODS adds 907403f342f [mlir] Add a new `ConstantLike` trait to better identify op [...] adds 0ddba0bd59c [mlir][SideEffects] Replace HasNoSideEffect with the memory [...] adds 396a42d924d [mlir] Use llvm::ElementCount when constructing an llvm spl [...] adds 0ce3b710b49 [lldb] Add YAML traits for ArchSpec and ProcessInstanceInfo adds a73528649c8 [AMDGPU] Simplify exec copies adds 246398ece71 [clang][Parse] properly parse asm-qualifiers, asm inline adds b0f1a4e7dff [libc++abi] NFC: Move AtomicInt to cxa_guard_impl.h adds 2411f56bfd1 [lldb/Host] Fix the Windows build adds 214a9f0dd48 [ORC] Add a mutex to guard EHFrameRegistrationPlugin data s [...] adds 7266a8bfeb8 [ORC] Enable exception handling in JIT'd code when using LL [...] adds 1fdb03808b0 CodeGen: Add constexpr to Register constructors adds ccc6e780c8f AMDGPU: Directly annotate functions if they have calls adds f4f2706572b [ConstantFold][SVE] Fix constant folding for scalable vecto [...] adds dcaf13a4048 CFGDiff: Fix one place where I'd left BasicBlock* hardcoded adds 03f5f6bebd4 [gn build] (manually) port eb41cc619866e adds 1478ed69d3d Add support for SHA256 source file checksums in debug info adds 69ce2fd2dfd [mlir] Remove unused generator adds e115a40f502 [mlir][spirv] Use separate attribute for (version, capabili [...] adds 66c378d66e9 [mlir][spirv] Use larger range for target environment looku [...] adds 9414db10906 [mlir][spirv] Add a pass to deduce version/extension/capability adds c818c3cc96e [mlir][spirv] NFC: put SPIR-V attributes in separate files adds 3148f10b179 [mlir][spirv] Use spv.vce in spv.module and wire up (de)ser [...] adds 2ae5e472e64 [mlir][spirv] Use SmallVector<ArrayRef> for availability queries adds e5c85a5a4ff [mlir][spirv] Support querying type extension/capability re [...] adds 461566b0465 Add a test triple to avoid failure under MS ABI. adds af7fc8c1bbc [lldb] Remove unused and too strict error_msg parameter fro [...] adds 0bb362c1649 [ELF] --gdb-index: fix memory usage regression after D74773 adds 4a792965de0 Move more tests to globalMemCounter and reset. adds 54d6c11a6ca [msan] Fix srcaddr handling in recvfrom interceptor. adds a9740ff1585 Update system_error tests for more platforms. adds a9682ccb7e7 Convert settings list into a tuple so it can be matched by [...] adds d4a8c3f2511 Revert "Update system_error tests for more platforms." adds 3758b858ef3 Only run frameheader_cache_test.pass.cpp on x86_64. adds 40f4a9fdaa4 [mlir][NFC] Removed unnecessary StandardOp includes adds 57da8f720ce Add support for XFAILing a test based on a setting. adds e601196833b [NFC][DAGCombine] Move the fold of a*b-c and a-b*c into lam [...] adds 8fa261ced1a [mlir][spirv] Remove unnecessary friend class declaration adds 13def55b3f8 [Attributor] Enable test with update check lines adds a23d7282ca7 openmp: fix memcpy memory leak adds c480c584a0b [AVR] Include AVR by default in LLVM builds adds 263c4a3c75a Fix compiler warning when compiling without asserts adds 1c9c23d60ea [OpenMP][Opt][NFC] Add test case for known runtime function [...] adds 89ecd8c149e Teach the MLIR AsmPrinter to correctly escape asm names tha [...] adds e0a93cea56e incorporate feedback from River. adds 1ba3d2639d1 [PowerPC][NFC] Rename instruction formats in PPCInstrPrefix.td adds 2822852ffc4 [ELF] Correct error message when OUTPUT_FORMAT is used adds 40815a49574 Revert "[Attributor] Enable test with update check lines" adds a198adb4902 [Attributor] IPO across definition boundary of a function m [...] adds 51a4c6125ca [X86] Add test cases for failures to form vbroadcastw due t [...] adds 09c8f38924d [X86] Add isel patterns for X86VBroadcast with i16 truncate [...] adds d0fb34dc096 [PowerPC] Replace the PPCISD:: SExtVElems with ISD::SIGN_EX [...] adds 48b901b0e1b Add tests to Transforms/CodeGenPrepare/X86/freeze-cmp.ll be [...] adds abc238a3c73 [libunwind] Silence warnings when __mips_hard_float is not defined adds c39cb1c0ddc [CodeGenPrepare] Expand freeze conversion to support fcmp a [...] adds ecd3e678bbb [clangd] Populate PreambleData::CompileCommand and make use [...] adds f67d93dc23f [ARM] Constant long shift combines adds db1f40d1a16 Modernize DeclTest adds ce79c424691 [Sema] Fix location of star ('*') inside MemberPointerTypeLoc adds f8640737d47 Refactor SourceLocationTest to `using namespace` adds 6f3de2e53d2 [yaml2obj][obj2yaml][test] - Add base tests for relocation [...] adds 5c68043b9fa [gn build] (manually) port ce79c4246 adds 2c6c169dbd6 [ARM] Optimise ASRL/LSRL to smaller shifts using demand bits. adds 2e77f0cf76b Added 'const' as suggested by ClangTidy llvm-qualified-auto adds 0ffb12ca67f [HIP] Mark kernels with uniform-work-group-size=true adds 28ad9fc2082 [Clang][Driver] In -fintegrated-cc1 mode, avoid crashing on [...] adds a0c15ed4605 [AArch64][SVE] Add the @llvm.aarch64.sve.dup.x intrinsic adds fcc2238b8bf [SCEV] Add missing cache queries new 512767eb3fe Add CppCoreGuidelines I.2 "Avoid non-const global variables" check new ffe3515aa77 [ExpandMemCmp][NFC] Add more tests. new 73d8a324ec5 [gn build] Port 512767eb3fe new 86eb2c3991c Revert "[ObjC][ARC] Don't remove autoreleaseRV/retainRV pai [...] new cbeffa3f6c7 [SimplifyCFG] convert if-else chain to switch; NFC new 6bbc1737e00 TableGen: Fix typo new 172f1460ae0 [OPENMP]Reduce number of captured global vars. new 03993f3b6f4 [CMake] Explicitly specify paths to libc++abi in CrossWinTo [...] new 0bd3da5bfae [llvm-objdump][test] Reorganize ELF --syms tests new e799405e536 [llvm-objdump] --syms: print 'i' for STT_GNU_IFUNC new 7b74b0d4e54 [llvm-objdump] --syms: print 'u' for STB_GNU_UNIQUE new fe047fbccc8 [X86] LowerEXTRACT_VECTOR_ELT - pull out repeated getOperan [...] new 846c614f54a [X86] combineExtractWithShuffle - pull out repeated getSize [...] new bf990530ae0 [Attributor] Improve noalias preservation using reachability new 5a5a075c5b1 [LLD][ELF][Hexagon] Support GDPLT transforms new b285b333dcd [Attributor] Detect possibly unbounded cycles in functions
The 16 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 | 2 + .../clang-tidy/ClangTidyForceLinker.h | 5 + .../AvoidNonConstGlobalVariablesCheck.cpp | 67 ++ .../AvoidNonConstGlobalVariablesCheck.h | 35 + .../clang-tidy/cppcoreguidelines/CMakeLists.txt | 1 + .../CppCoreGuidelinesTidyModule.cpp | 3 + .../clang-tidy/llvmlibc/CMakeLists.txt | 15 + .../clang-tidy/llvmlibc/LLVMLibcTidyModule.cpp | 37 + .../llvmlibc/RestrictSystemLibcHeadersCheck.cpp | 73 ++ .../llvmlibc/RestrictSystemLibcHeadersCheck.h | 35 + clang-tools-extra/clangd/FindSymbols.cpp | 32 +- clang-tools-extra/clangd/FindSymbols.h | 6 +- clang-tools-extra/clangd/Preamble.cpp | 12 +- clang-tools-extra/clangd/Preamble.h | 3 +- clang-tools-extra/clangd/TUScheduler.cpp | 4 +- clang-tools-extra/clangd/XRefs.cpp | 176 +++- clang-tools-extra/clangd/XRefs.h | 15 + .../clangd/unittests/FileIndexTests.cpp | 20 +- clang-tools-extra/clangd/unittests/TestTU.cpp | 3 +- clang-tools-extra/clangd/unittests/XRefsTests.cpp | 102 ++- clang-tools-extra/docs/ReleaseNotes.rst | 16 + ...guidelines-avoid-non-const-global-variables.rst | 38 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 3 + .../llvmlibc-restrict-system-libc-headers.rst | 20 + clang-tools-extra/docs/clang-tidy/index.rst | 1 + .../Inputs/llvmlibc/resource/include/stdatomic.h} | 0 .../resource/include}/stddef.h | 0 .../system}/math.h | 0 .../system}/stdio.h | 0 .../system}/stdlib.h | 0 .../system}/string.h | 0 .../checkers/Inputs/llvmlibc/transitive.h | 0 ...guidelines-avoid-non-const-global-variables.cpp | 237 ++++++ ...ibc-restrict-system-libc-headers-transitive.cpp | 8 + .../llvmlibc-restrict-system-libc-headers.cpp | 13 + clang/cmake/caches/CrossWinToARMLinux.cmake | 11 + clang/docs/ReleaseNotes.rst | 10 + clang/include/clang/AST/Attr.h | 3 +- clang/include/clang/AST/CanonicalType.h | 2 + clang/include/clang/AST/Type.h | 9 + clang/include/clang/Basic/Attr.td | 134 +-- clang/include/clang/Basic/DiagnosticGroups.td | 3 +- clang/include/clang/Basic/DiagnosticParseKinds.td | 10 +- clang/include/clang/Basic/DiagnosticSemaKinds.td | 15 +- clang/include/clang/Parse/Parser.h | 21 + clang/include/clang/Sema/DeclSpec.h | 8 +- clang/include/clang/Sema/Sema.h | 77 +- clang/lib/AST/AttrImpl.cpp | 147 ++++ clang/lib/AST/ExprConstant.cpp | 1 + clang/lib/AST/OpenMPClause.cpp | 1 + clang/lib/AST/Type.cpp | 16 + clang/lib/CodeGen/CGBuiltin.cpp | 8 +- clang/lib/CodeGen/CGLoopInfo.cpp | 1 + clang/lib/CodeGen/CGObjCMac.cpp | 5 +- clang/lib/CodeGen/CGOpenMPRuntime.cpp | 6 +- clang/lib/CodeGen/CGStmtOpenMP.cpp | 9 +- clang/lib/CodeGen/TargetInfo.cpp | 4 + clang/lib/Driver/ToolChains/Cuda.cpp | 32 +- clang/lib/Driver/ToolChains/Cuda.h | 6 + clang/lib/Driver/ToolChains/Hexagon.cpp | 3 +- clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp | 5 +- clang/lib/Lex/Pragma.cpp | 3 + clang/lib/Parse/ParseDecl.cpp | 6 +- clang/lib/Parse/ParseStmtAsm.cpp | 133 +-- clang/lib/Parse/Parser.cpp | 10 +- clang/lib/Sema/SemaDecl.cpp | 49 +- clang/lib/Sema/SemaDeclAttr.cpp | 7 +- clang/lib/Sema/SemaDeclCXX.cpp | 139 +++- clang/lib/Sema/SemaExpr.cpp | 27 +- clang/lib/Sema/SemaOpenMP.cpp | 42 +- clang/lib/Sema/SemaType.cpp | 34 +- .../test/CXX/class.derived/class.abstract/p16.cpp | 6 +- clang/test/CXX/special/class.dtor/p5-0x.cpp | 13 +- clang/test/CodeGen/inline-asm-mixed-style.c | 5 - clang/test/CodeGenCUDA/amdgpu-kernel-attrs.cu | 2 +- clang/test/Driver/cuda-version-check.cu | 5 + clang/test/Driver/hexagon-toolchain-elf.c | 10 + ...rallel_master_taskloop_firstprivate_codegen.cpp | 2 +- ...arallel_master_taskloop_lastprivate_codegen.cpp | 2 +- ...l_master_taskloop_simd_firstprivate_codegen.cpp | 2 +- ...el_master_taskloop_simd_lastprivate_codegen.cpp | 2 +- clang/test/Parser/asm-qualifiers.c | 59 ++ clang/test/Parser/asm.c | 6 - clang/test/Sema/aarch64-sve-types.c | 61 +- clang/test/Sema/asm.c | 3 - clang/test/Sema/sizeless-1.c | 243 ++++++ clang/test/SemaCXX/PR9572.cpp | 7 +- .../test/SemaCXX/cxx0x-cursory-default-delete.cpp | 6 + clang/test/SemaCXX/cxx2a-consteval.cpp | 52 ++ clang/test/SemaCXX/sizeless-1.cpp | 496 +++++++++++ clang/test/SemaCXX/virtual-base-used.cpp | 7 +- clang/tools/driver/driver.cpp | 22 +- clang/unittests/AST/CMakeLists.txt | 2 + clang/unittests/AST/DeclTest.cpp | 10 +- clang/unittests/AST/SizelessTypesTest.cpp | 82 ++ clang/unittests/AST/SourceLocationTest.cpp | 58 +- .../sanitizer_common_interceptors.inc | 9 +- .../new_array_nothrow_replace.pass.cpp | 23 +- .../new.delete.array/new_array_replace.pass.cpp | 23 +- .../new.delete.single/new_nothrow_replace.pass.cpp | 23 +- .../new.delete.single/new_replace.pass.cpp | 23 +- .../locale.stdcvt/codecvt_utf16.pass.cpp | 1 + .../locale.stdcvt/codecvt_utf8.pass.cpp | 1 + .../conversions/conversions.buffer/ctor.pass.cpp | 1 + .../locales/locale/locale.members/combine.pass.cpp | 1 + .../func.wrap.func.alg/swap.pass.cpp | 1 + .../func.wrap.func/func.wrap.func.con/F.pass.cpp | 1 + .../func.wrap.func.con/F_assign.pass.cpp | 1 + .../func.wrap.func.con/copy_assign.pass.cpp | 1 + .../func.wrap.func.con/copy_move.pass.cpp | 1 + .../func.wrap.func.con/nullptr_t_assign.pass.cpp | 1 + .../func.wrap.func.mod/swap.pass.cpp | 1 + .../enable_shared_from_this.pass.cpp | 1 + .../pointer_deleter_throw.pass.cpp | 1 + .../pointer_throw.pass.cpp | 1 + libcxxabi/src/cxa_guard_impl.h | 26 + libcxxabi/src/include/atomic_support.h | 30 - libunwind/src/AddressSpace.hpp | 14 +- libunwind/src/FrameHeaderCache.hpp | 149 ++++ libunwind/src/Registers.hpp | 13 + libunwind/test/frameheadercache_test.pass.cpp | 92 +++ lld/ELF/Arch/Hexagon.cpp | 2 + lld/ELF/Config.h | 1 + lld/ELF/InputFiles.cpp | 11 +- lld/ELF/Relocations.cpp | 38 + lld/ELF/Relocations.h | 3 + lld/ELF/ScriptParser.cpp | 6 +- lld/ELF/SyntheticSections.cpp | 12 +- lld/ELF/Writer.cpp | 13 + lld/test/ELF/hexagon-tls-gd-xform.s | 47 ++ lld/test/ELF/incompatible.s | 8 + lldb/include/lldb/Host/Host.h | 2 +- lldb/include/lldb/Target/Platform.h | 5 +- lldb/include/lldb/Utility/ArchSpec.h | 13 + lldb/include/lldb/Utility/ConstString.h | 15 +- lldb/include/lldb/Utility/FileSpec.h | 15 + lldb/include/lldb/Utility/ProcessInfo.h | 51 +- lldb/include/lldb/lldb-forward.h | 1 - lldb/packages/Python/lldbsuite/test/decorators.py | 6 +- lldb/packages/Python/lldbsuite/test/dotest.py | 3 +- lldb/packages/Python/lldbsuite/test/lldbtest.py | 7 - lldb/source/Commands/CommandObjectPlatform.cpp | 6 +- lldb/source/Commands/CommandObjectProcess.cpp | 4 +- lldb/source/Host/freebsd/Host.cpp | 8 +- lldb/source/Host/linux/Host.cpp | 4 +- lldb/source/Host/macosx/objcxx/Host.mm | 4 +- lldb/source/Host/netbsd/Host.cpp | 8 +- lldb/source/Host/openbsd/Host.cpp | 4 +- lldb/source/Host/windows/Host.cpp | 6 +- .../Platform/MacOSX/PlatformAppleTVSimulator.cpp | 7 +- .../MacOSX/PlatformAppleWatchSimulator.cpp | 7 +- .../Platform/MacOSX/PlatformiOSSimulator.cpp | 7 +- .../gdb-remote/GDBRemoteCommunicationClient.cpp | 6 +- .../gdb-remote/GDBRemoteCommunicationClient.h | 1 + .../GDBRemoteCommunicationServerCommon.cpp | 7 +- lldb/source/Target/Platform.cpp | 10 + lldb/source/Target/Process.cpp | 6 +- lldb/source/Utility/ArchSpec.cpp | 12 + lldb/source/Utility/ConstString.cpp | 12 + lldb/source/Utility/FileSpec.cpp | 16 + lldb/source/Utility/ProcessInfo.cpp | 13 + lldb/test/API/sanity/TestSettingSkipping.py | 8 + lldb/unittests/Utility/ArchSpecTest.cpp | 27 +- lldb/unittests/Utility/ConstStringTest.cpp | 20 + lldb/unittests/Utility/FileSpecTest.cpp | 21 + lldb/unittests/Utility/ProcessInstanceInfoTest.cpp | 57 ++ llvm/CMakeLists.txt | 1 + llvm/docs/LangRef.rst | 2 +- llvm/include/llvm/Analysis/MustExecute.h | 2 + llvm/include/llvm/Analysis/ScalarEvolution.h | 2 +- llvm/include/llvm/Analysis/Utils/Local.h | 2 +- llvm/include/llvm/CodeGen/ExecutionDomainFix.h | 14 +- llvm/include/llvm/CodeGen/Register.h | 6 +- llvm/include/llvm/CodeGen/SelectionDAG.h | 9 +- .../llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h | 1 + llvm/include/llvm/IR/CFGDiff.h | 119 +-- llvm/include/llvm/IR/Constants.h | 2 +- llvm/include/llvm/IR/DebugInfoMetadata.h | 3 +- llvm/include/llvm/IR/IntrinsicsAArch64.td | 6 + llvm/include/llvm/MC/MCRegister.h | 4 +- llvm/include/llvm/Support/ManagedStatic.h | 6 + llvm/include/llvm/Support/Timer.h | 5 + llvm/include/llvm/Transforms/IPO/Attributor.h | 17 +- llvm/lib/Analysis/InstructionSimplify.cpp | 5 +- llvm/lib/Analysis/MustExecute.cpp | 6 +- llvm/lib/Analysis/ScalarEvolution.cpp | 49 +- llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 11 +- llvm/lib/CodeGen/CodeGenPrepare.cpp | 51 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 37 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 7 +- llvm/lib/ExecutionEngine/Orc/LLJIT.cpp | 6 +- .../lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp | 18 +- llvm/lib/IR/ConstantFold.cpp | 10 +- llvm/lib/IR/Constants.cpp | 90 +- llvm/lib/IR/DebugInfoMetadata.cpp | 6 +- llvm/lib/IR/Verifier.cpp | 3 + llvm/lib/Support/Timer.cpp | 4 + llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 3 + .../Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp | 5 +- llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 3 + llvm/lib/Target/AMDGPU/AMDGPUInstructions.td | 6 + llvm/lib/Target/AMDGPU/EvergreenInstructions.td | 1 + llvm/lib/Target/AMDGPU/SIInstructions.td | 1 + llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | 55 ++ llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | 8 +- .../Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp | 176 +--- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp | 6 - llvm/lib/Target/ARM/ARMISelLowering.cpp | 67 ++ llvm/lib/Target/ARM/ARMISelLowering.h | 7 + llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 29 +- llvm/lib/Target/PowerPC/PPCISelLowering.h | 4 - llvm/lib/Target/PowerPC/PPCInstrInfo.td | 4 - llvm/lib/Target/PowerPC/PPCInstrPrefix.td | 242 +++--- llvm/lib/Target/PowerPC/PPCInstrVSX.td | 13 - .../Target/WebAssembly/WebAssemblyISelLowering.cpp | 35 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 37 +- llvm/lib/Target/X86/X86InstrAVX512.td | 32 +- llvm/lib/Target/X86/X86InstrSSE.td | 21 +- llvm/lib/Transforms/IPO/Attributor.cpp | 125 ++- llvm/lib/Transforms/IPO/OpenMPOpt.cpp | 2 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 5 +- .../Transforms/InstCombine/InstCombineShifts.cpp | 4 +- llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp | 9 +- llvm/lib/Transforms/Scalar/SCCP.cpp | 379 +++++---- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 101 +-- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 9 +- llvm/test/Analysis/ConstantFolding/vscale.ll | 48 ++ llvm/test/Assembler/dbg-checksum.ll | 20 + .../CodeGen/AArch64/scalable-vector-promotion.ll | 23 + llvm/test/CodeGen/AArch64/sve-intrinsics-dup-x.ll | 127 +++ .../AMDGPU/annotate-kernel-features-hsa-call.ll | 2 +- .../AMDGPU/build-vector-packed-partial-undef.ll | 10 +- llvm/test/CodeGen/AMDGPU/collapse-endcf.ll | 36 +- llvm/test/CodeGen/AMDGPU/collapse-endcf.mir | 6 - llvm/test/CodeGen/AMDGPU/fshl.ll | 170 ++-- llvm/test/CodeGen/AMDGPU/fshr.ll | 219 ++--- .../test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll | 5 +- llvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll | 6 +- llvm/test/CodeGen/AMDGPU/permute.ll | 3 +- llvm/test/CodeGen/AMDGPU/scalar_to_vector.ll | 20 +- llvm/test/CodeGen/AMDGPU/shift-i128.ll | 8 +- .../AMDGPU/uniform-work-group-attribute-missing.ll | 5 +- .../uniform-work-group-nested-function-calls.ll | 5 +- ...orm-work-group-prevent-attribute-propagation.ll | 7 +- .../uniform-work-group-propagate-attribute.ll | 6 +- .../AMDGPU/uniform-work-group-recursion-test.ll | 5 +- .../test/CodeGen/AMDGPU/uniform-work-group-test.ll | 2 +- llvm/test/CodeGen/Thumb2/fir.ll | 53 ++ .../Thumb2/mve-intrinsics/longshift-const.ll | 396 +++++++++ .../Thumb2/mve-intrinsics/longshift-demand.ll | 876 ++++++++++++++++++++ llvm/test/CodeGen/{ARM => Thumb2}/shift_parts.ll | 248 ++++++ llvm/test/CodeGen/WebAssembly/simd-shift-unroll.ll | 128 +++ llvm/test/CodeGen/X86/memcmp-more-load-pairs.ll | 293 +++++-- llvm/test/CodeGen/X86/vector-shuffle-128-v8.ll | 220 +++++ llvm/test/CodeGen/X86/vector-shuffle-256-v16.ll | 179 ++++ llvm/test/CodeGen/X86/vector-shuffle-512-v32.ll | 96 +++ llvm/test/CodeGen/X86/vselect-constants.ll | 39 + .../ExecutionEngine/OrcLazy/minimal-throw-catch.ll | 58 ++ llvm/test/Transforms/Attributor/alwaysinline.ll | 90 ++ llvm/test/Transforms/Attributor/noalias.ll | 45 + llvm/test/Transforms/Attributor/nonnull.ll | 2 +- .../read_write_returned_arguments_scc.ll | 5 +- llvm/test/Transforms/Attributor/willreturn.ll | 290 ++++++- .../X86/{freeze-icmp.ll => freeze-cmp.ll} | 34 + llvm/test/Transforms/InstSimplify/gep.ll | 66 ++ llvm/test/Transforms/ObjCARC/rv.ll | 16 +- llvm/test/Transforms/OpenMP/add_attributes.ll | 911 +++++++++++++++++++++ llvm/test/Transforms/SCCP/ip-constant-ranges.ll | 2 +- .../Transforms/SCCP/resolvedundefsin-tracked-fn.ll | 9 +- llvm/test/tools/llvm-objdump/ELF/symbol-table.test | 148 ++++ .../tools/llvm-objdump/Inputs/common-symbol-elf | Bin 598 -> 0 bytes .../test/tools/llvm-objdump/common-symbol-elf.test | 3 - llvm/test/tools/llvm-objdump/symbol-table-elf.test | 57 -- llvm/test/tools/obj2yaml/relocation-addend.yaml | 106 +++ .../test/tools/yaml2obj/ELF/relocation-addend.yaml | 114 +++ llvm/tools/llvm-objdump/llvm-objdump.cpp | 9 +- llvm/unittests/FuzzMutate/OperationsTest.cpp | 4 +- llvm/unittests/IR/VerifierTest.cpp | 2 +- llvm/utils/TableGen/CodeGenDAGPatterns.cpp | 2 +- .../clang-tools-extra/clang-tidy/BUILD.gn | 1 + .../clang-tidy/cppcoreguidelines/BUILD.gn | 1 + .../clang-tools-extra/clang-tidy/llvmlibc/BUILD.gn | 18 + .../gn/secondary/clang/unittests/AST/BUILD.gn | 2 + mlir/docs/Dialects/SPIR-V.md | 36 +- mlir/docs/Traits.md | 6 - mlir/docs/Tutorials/Toy/Ch-2.md | 24 +- mlir/examples/toy/Ch2/include/toy/Ops.td | 4 +- mlir/examples/toy/Ch3/include/toy/Ops.td | 5 +- mlir/examples/toy/Ch4/include/toy/Ops.td | 4 +- mlir/examples/toy/Ch5/include/toy/Ops.td | 4 +- mlir/examples/toy/Ch6/include/toy/Ops.td | 4 +- mlir/examples/toy/Ch7/include/toy/Ops.td | 9 +- mlir/include/mlir/Dialect/AffineOps/AffineOps.h | 52 +- mlir/include/mlir/Dialect/AffineOps/AffineOps.td | 58 +- mlir/include/mlir/Dialect/FxpMathOps/FxpMathOps.td | 1 + mlir/include/mlir/Dialect/GPU/GPUOps.td | 10 +- mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | 8 +- mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td | 1 + mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td | 1 + mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td | 3 +- mlir/include/mlir/Dialect/LoopOps/LoopOps.td | 57 +- mlir/include/mlir/Dialect/QuantOps/QuantOps.td | 1 + mlir/include/mlir/Dialect/SPIRV/Passes.h | 24 +- .../mlir/Dialect/SPIRV/SPIRVArithmeticOps.td | 1 + .../SPIRV/{TargetAndABI.h => SPIRVAttributes.h} | 126 ++- .../mlir/Dialect/SPIRV/SPIRVAvailability.td | 3 + mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td | 76 +- mlir/include/mlir/Dialect/SPIRV/SPIRVBinaryUtils.h | 6 +- mlir/include/mlir/Dialect/SPIRV/SPIRVBitOps.td | 1 + mlir/include/mlir/Dialect/SPIRV/SPIRVCastOps.td | 1 + .../mlir/Dialect/SPIRV/SPIRVCompositeOps.td | 1 + .../mlir/Dialect/SPIRV/SPIRVControlFlowOps.td | 13 +- mlir/include/mlir/Dialect/SPIRV/SPIRVGLSLOps.td | 1 + mlir/include/mlir/Dialect/SPIRV/SPIRVLogicalOps.td | 1 + mlir/include/mlir/Dialect/SPIRV/SPIRVOps.h | 1 + mlir/include/mlir/Dialect/SPIRV/SPIRVOps.td | 1 + .../mlir/Dialect/SPIRV/SPIRVStructureOps.td | 46 +- mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h | 108 ++- mlir/include/mlir/Dialect/SPIRV/TargetAndABI.h | 90 +- mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 11 +- mlir/include/mlir/Dialect/VectorOps/VectorOps.h | 10 +- mlir/include/mlir/Dialect/VectorOps/VectorOps.td | 2 +- mlir/include/mlir/IR/Matchers.h | 34 +- mlir/include/mlir/IR/OpBase.td | 6 +- mlir/include/mlir/IR/OpDefinition.h | 19 + mlir/include/mlir/IR/Operation.h | 7 - mlir/include/mlir/IR/OperationSupport.h | 8 +- mlir/include/mlir/InitAllPasses.h | 1 + mlir/include/mlir/Interfaces/CMakeLists.txt | 5 + .../mlir/Interfaces/DerivedAttributeOpInterface.h | 22 + .../mlir/Interfaces/DerivedAttributeOpInterface.td | 37 + mlir/include/mlir/Interfaces/SideEffects.h | 23 +- mlir/include/mlir/Interfaces/SideEffects.td | 24 +- mlir/include/mlir/TableGen/SideEffects.h | 8 +- mlir/include/mlir/Transforms/FoldUtils.h | 3 + mlir/lib/Analysis/Utils.cpp | 5 +- .../Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp | 7 +- mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp | 4 +- .../VectorToLLVM/ConvertVectorToLLVM.cpp | 3 +- mlir/lib/Dialect/AffineOps/AffineOps.cpp | 47 +- mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp | 4 +- .../LoopOps/Transforms/ParallelLoopFusion.cpp | 8 +- mlir/lib/Dialect/SPIRV/CMakeLists.txt | 1 + mlir/lib/Dialect/SPIRV/SPIRVAttributes.cpp | 220 +++++ mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp | 99 ++- mlir/lib/Dialect/SPIRV/SPIRVOps.cpp | 171 ++-- mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp | 299 ++++++- .../Dialect/SPIRV/Serialization/Deserializer.cpp | 78 +- .../SPIRV/Serialization/SPIRVBinaryUtils.cpp | 25 +- .../lib/Dialect/SPIRV/Serialization/Serializer.cpp | 29 +- mlir/lib/Dialect/SPIRV/TargetAndABI.cpp | 170 +--- mlir/lib/Dialect/SPIRV/Transforms/CMakeLists.txt | 1 + .../lib/Dialect/SPIRV/Transforms/UpdateVCEPass.cpp | 212 +++++ mlir/lib/Dialect/VectorOps/VectorTransforms.cpp | 55 +- mlir/lib/IR/AsmPrinter.cpp | 36 + mlir/lib/IR/Builders.cpp | 2 +- mlir/lib/Interfaces/CMakeLists.txt | 15 + .../lib/Interfaces/DerivedAttributeOpInterface.cpp | 16 +- mlir/lib/Interfaces/SideEffects.cpp | 67 ++ mlir/lib/TableGen/SideEffects.cpp | 12 +- mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | 3 +- .../Transforms/AffineLoopInvariantCodeMotion.cpp | 1 - mlir/lib/Transforms/CSE.cpp | 20 +- mlir/lib/Transforms/LoopCoalescing.cpp | 1 - mlir/lib/Transforms/LoopFusion.cpp | 1 - mlir/lib/Transforms/LoopInvariantCodeMotion.cpp | 16 +- mlir/lib/Transforms/PipelineDataTransfer.cpp | 1 - mlir/lib/Transforms/Utils/FoldUtils.cpp | 8 +- .../Utils/GreedyPatternRewriteDriver.cpp | 14 +- mlir/lib/Transforms/Utils/LoopFusionUtils.cpp | 1 - mlir/lib/Transforms/Utils/LoopUtils.cpp | 4 +- mlir/lib/Transforms/Utils/RegionUtils.cpp | 6 +- mlir/lib/Transforms/Utils/Utils.cpp | 1 - mlir/test/Conversion/GPUToSPIRV/builtins.mlir | 16 +- mlir/test/Conversion/GPUToSPIRV/load-store.mlir | 2 +- mlir/test/Conversion/GPUToSPIRV/simple.mlir | 3 +- .../lower-gpu-launch-vulkan-launch.mlir | 4 +- .../Conversion/LinalgToSPIRV/linalg-to-spirv.mlir | 8 +- .../Conversion/VectorToLLVM/vector-to-llvm.mlir | 129 +-- mlir/test/Dialect/AffineOps/invalid.mlir | 4 +- mlir/test/Dialect/Linalg/invalid.mlir | 2 +- .../SPIRV/Serialization/arithmetic-ops.mlir | 2 +- mlir/test/Dialect/SPIRV/Serialization/array.mlir | 4 +- .../Dialect/SPIRV/Serialization/atomic-ops.mlir | 2 +- mlir/test/Dialect/SPIRV/Serialization/barrier.mlir | 2 +- mlir/test/Dialect/SPIRV/Serialization/bit-ops.mlir | 2 +- .../test/Dialect/SPIRV/Serialization/cast-ops.mlir | 4 +- .../Dialect/SPIRV/Serialization/composite-op.mlir | 2 +- .../test/Dialect/SPIRV/Serialization/constant.mlir | 2 +- .../Dialect/SPIRV/Serialization/entry-point.mlir | 4 +- .../SPIRV/Serialization/execution-mode.mlir | 2 +- .../Dialect/SPIRV/Serialization/function-call.mlir | 2 +- .../SPIRV/Serialization/global-variable.mlir | 6 +- .../test/Dialect/SPIRV/Serialization/glsl-ops.mlir | 2 +- .../Dialect/SPIRV/Serialization/group-ops.mlir | 2 +- .../Dialect/SPIRV/Serialization/logical-ops.mlir | 4 +- mlir/test/Dialect/SPIRV/Serialization/loop.mlir | 12 +- .../Dialect/SPIRV/Serialization/memory-ops.mlir | 6 +- mlir/test/Dialect/SPIRV/Serialization/module.mlir | 24 +- .../SPIRV/Serialization/non-uniform-ops.mlir | 2 +- mlir/test/Dialect/SPIRV/Serialization/phi.mlir | 24 +- .../Dialect/SPIRV/Serialization/selection.mlir | 8 +- .../Dialect/SPIRV/Serialization/spec-constant.mlir | 2 +- mlir/test/Dialect/SPIRV/Serialization/struct.mlir | 2 +- .../Dialect/SPIRV/Serialization/terminator.mlir | 2 +- mlir/test/Dialect/SPIRV/Serialization/undef.mlir | 4 +- .../Dialect/SPIRV/Transforms/abi-load-store.mlir | 4 +- mlir/test/Dialect/SPIRV/Transforms/abi-simple.mlir | 4 +- mlir/test/Dialect/SPIRV/Transforms/inlining.mlir | 18 +- .../SPIRV/Transforms/layout-decoration.mlir | 10 +- .../Dialect/SPIRV/Transforms/vce-deduction.mlir | 208 +++++ mlir/test/Dialect/SPIRV/availability.mlir | 24 +- mlir/test/Dialect/SPIRV/control-flow-ops.mlir | 24 +- mlir/test/Dialect/SPIRV/ops.mlir | 17 +- mlir/test/Dialect/SPIRV/structure-ops.mlir | 124 ++- mlir/test/Dialect/SPIRV/target-and-abi.mlir | 104 +-- mlir/test/Dialect/SPIRV/target-env.mlir | 38 +- .../VectorOps/vector-contract-transforms.mlir | 44 + mlir/test/IR/invalid-ops.mlir | 2 +- mlir/test/IR/pretty-region-args.mlir | 14 + mlir/test/IR/traits.mlir | 2 +- mlir/test/Transforms/canonicalize.mlir | 6 +- mlir/test/lib/TestDialect/TestOps.td | 1 + mlir/test/mlir-tblgen/op-decl.td | 8 +- mlir/test/mlir-vulkan-runner/addf.mlir | 8 +- mlir/tools/mlir-tblgen/CMakeLists.txt | 1 - mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp | 3 +- mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp | 33 +- mlir/tools/mlir-tblgen/ReferenceImplGen.cpp | 85 -- mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp | 53 +- .../mlir-vulkan-runner/mlir-vulkan-runner.cpp | 1 + .../Dialect/SPIRV/DeserializationTest.cpp | 4 +- mlir/unittests/Dialect/SPIRV/SerializationTest.cpp | 5 + openmp/libomptarget/src/api.cpp | 1 + 434 files changed, 11699 insertions(+), 3384 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidNonConstGlo [...] create mode 100644 clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidNonConstGlo [...] create mode 100644 clang-tools-extra/clang-tidy/llvmlibc/CMakeLists.txt create mode 100644 clang-tools-extra/clang-tidy/llvmlibc/LLVMLibcTidyModule.cpp create mode 100644 clang-tools-extra/clang-tidy/llvmlibc/RestrictSystemLibcHeaders [...] create mode 100644 clang-tools-extra/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-avoi [...] create mode 100644 clang-tools-extra/docs/clang-tidy/checks/llvmlibc-restrict-syst [...] copy clang-tools-extra/{clangd/test/Inputs/background-index/sub_dir/compile_flags. [...] copy clang-tools-extra/test/clang-tidy/checkers/Inputs/{modernize-deprecated-heade [...] copy clang-tools-extra/test/clang-tidy/checkers/Inputs/{modernize-deprecated-heade [...] copy clang-tools-extra/test/clang-tidy/checkers/Inputs/{modernize-deprecated-heade [...] copy clang-tools-extra/test/clang-tidy/checkers/Inputs/{modernize-deprecated-heade [...] copy clang-tools-extra/test/clang-tidy/checkers/Inputs/{modernize-deprecated-heade [...] copy clang/test/Modules/Inputs/libc-libcxx/include/stdlib.h => clang-tools-extra/t [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-av [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/llvmlibc-restrict-sy [...] create mode 100644 clang-tools-extra/test/clang-tidy/checkers/llvmlibc-restrict-sy [...] create mode 100644 clang/test/Parser/asm-qualifiers.c create mode 100644 clang/test/Sema/sizeless-1.c create mode 100644 clang/test/SemaCXX/sizeless-1.cpp create mode 100644 clang/unittests/AST/SizelessTypesTest.cpp create mode 100644 libunwind/src/FrameHeaderCache.hpp create mode 100644 libunwind/test/frameheadercache_test.pass.cpp create mode 100644 lld/test/ELF/hexagon-tls-gd-xform.s create mode 100644 llvm/test/Assembler/dbg-checksum.ll create mode 100644 llvm/test/CodeGen/AArch64/scalable-vector-promotion.ll create mode 100644 llvm/test/CodeGen/AArch64/sve-intrinsics-dup-x.ll create mode 100644 llvm/test/CodeGen/Thumb2/fir.ll create mode 100644 llvm/test/CodeGen/Thumb2/mve-intrinsics/longshift-const.ll create mode 100644 llvm/test/CodeGen/Thumb2/mve-intrinsics/longshift-demand.ll rename llvm/test/CodeGen/{ARM => Thumb2}/shift_parts.ll (56%) create mode 100644 llvm/test/CodeGen/WebAssembly/simd-shift-unroll.ll create mode 100644 llvm/test/ExecutionEngine/OrcLazy/minimal-throw-catch.ll create mode 100644 llvm/test/Transforms/Attributor/alwaysinline.ll rename llvm/test/Transforms/CodeGenPrepare/X86/{freeze-icmp.ll => freeze-cmp.ll} (67%) create mode 100644 llvm/test/Transforms/OpenMP/add_attributes.ll create mode 100644 llvm/test/tools/llvm-objdump/ELF/symbol-table.test delete mode 100644 llvm/test/tools/llvm-objdump/Inputs/common-symbol-elf delete mode 100644 llvm/test/tools/llvm-objdump/common-symbol-elf.test delete mode 100644 llvm/test/tools/llvm-objdump/symbol-table-elf.test create mode 100644 llvm/test/tools/obj2yaml/relocation-addend.yaml create mode 100644 llvm/test/tools/yaml2obj/ELF/relocation-addend.yaml create mode 100644 llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/llvmlibc/BUILD.gn copy mlir/include/mlir/Dialect/SPIRV/{TargetAndABI.h => SPIRVAttributes.h} (51%) create mode 100644 mlir/include/mlir/Interfaces/DerivedAttributeOpInterface.h create mode 100644 mlir/include/mlir/Interfaces/DerivedAttributeOpInterface.td create mode 100644 mlir/lib/Dialect/SPIRV/SPIRVAttributes.cpp create mode 100644 mlir/lib/Dialect/SPIRV/Transforms/UpdateVCEPass.cpp copy clang/lib/AST/AttrImpl.cpp => mlir/lib/Interfaces/DerivedAttributeOpInterface [...] create mode 100644 mlir/test/Dialect/SPIRV/Transforms/vce-deduction.mlir delete mode 100644 mlir/tools/mlir-tblgen/ReferenceImplGen.cpp