This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_bmk_tx1/llvm-master-aarch64-spec2k6-Oz in repository toolchain/ci/llvm-project.
from 9fbb113247a [SVE][CodeGen] Fix TypeSize/ElementCount related warnings i [...] adds a787a4ed16d [analyzer][StdLibraryFunctionsChecker] Use Optionals throug [...] adds 7c80f2da812 Revert "[lldb] Add reproducer verifier" adds 03812041d8d [NFCI] Removed an un-used declaration got accidentally intr [...] adds 7de090a3248 [llvm-readobj/elf] - Report warnings instead of errors when [...] adds 6c6984ecd54 [llvm-readobj][test] - Update the comment in archive.test adds ca233be2f0a [llvm-readobj][test] - Remove amdgpu-elf-definitions.test adds 722db5c0b4e [libcxx] Link target `cxx_external_threads` to `cxx-headers [...] adds ea1f5133cc5 [llvm-dwarfdump][test] Add tests for dumping the .debug_lin [...] adds bd6ee511502 [NFC][Asan] Format includes adds 2114f71aaa8 [OpenMP] Fix infinite loop in Sema::isOpenMPGlobalCapturedDecl() adds 5ffd940ac02 Reland [FileCheck] Move FileCheck implementation out of LLV [...] adds d48699e3e89 [InstCombine] adjust recip sqrt tests for better coverage; NFC adds 3d90a61cf2e [llvm-readobj] - Remove Error.cpp,.h and drop dependencies [...] adds 5a3ede58e2c [NFC] Test commit, whitespace changes adds 68717acb24e [LoopIdiomRecognizePass] Options to disable part or the ent [...] adds 3e1e5f54492 [SystemZ][z/OS] Adding initial toolchain for z/OS adds c831a14aa16 [SystemZ][z/OS] Fix build break in z/OS toolchain adds 4a9a4885aef AMDGPU: Convert test to MIR adds 7f5b4eaae48 AMDGPU: Check some offsets in test adds 0f42d185346 PowerPC: Switch test to generated checks adds 18bbd9f15eb GlobalISel: Artifact combine unmerge of unmerge adds bc9a29b9ee6 Revert "Reapply D70800: Fix AArch64 AAPCS frame record chain" adds 92090e8bd80 GlobalISel: Implement computeKnownBits for G_UNMERGE_VALUES adds 9e7e1b2d4b1 GlobalISel: Implement computeNumSignBits for G_SEXTLOAD/G_ZEXTLOAD adds 061182b7baf GlobalISel: Add combines for extend operations adds 1a633e72f65 [flang] Improve compile-time shape conformance checking adds ca2227c1b3f [PowerPC] Implement instruction definitions/MC Tests for xv [...] adds 15e880a04fc [DAGCombiner] Fold an AND of a masked load into a zext_masked_load adds 8df143c2cc0 [libc++] Improve REQUIRES for _ExtInt test on recent Clangs adds 0e90d8d4fed [builtins] Unify the softfloat division implementation adds 29ae4485950 [PowerPC] Handle STRICT_FSETCC(S) in more cases adds 759482ddaa5 GlobalISel: Implement computeKnownBits for G_BSWAP and G_BI [...] adds 35c94d3f7e5 GlobalISel: Port smarter known bits for umin/umax from DAG adds 32a8a10b429 GlobalISel: Implement computeNumSignBits for G_SELECT adds 7be86829216 [tsan] Fix "failed to intercept sysctlnametomib" on FreeBSD adds a57fdcdd404 x87 FPU state instructions do not use an f32 memory location adds 8ad8f484b63 [GlobalISel] Fold xor(cmp(pred, _, _), 1) -> cmp(inverse(pr [...] adds 11ddb84b69e [flang] Fix integer CASE constant typing adds b11c5278163 [flang] Version information in flang/f18 adds 5ded4442520 [AArch64][GlobalISel] Optimize away a Not feeding a brcond [...] adds 96ae43bad5b [Bitstream] Use alignTo to make code more readable. NFC adds fecc27db111 [PowerPC][AIX] Update save/restore offset for frame and bas [...] adds 2665425908e [libfuzzer] Reduce default verbosity when printing large mu [...] adds ab919eed211 [gn build] port 5ffd940ac02 a bit more adds 1914fc9ecaf [gn build] Port 3d90a61cf2e adds 293fc6c2f3e [gn build] Port 3e1e5f54492 adds 40fed004865 First commit on the release/11.x branch. adds cb8912799d4 [fuzzer] Create user provided fuzzer writeable directories [...] adds 93eed63d2f3 [builtins] Make __div[sdt]f3 handle denormal results adds c292fba46fc [MemorySSA] Update phi map with replacement value. adds 10670bdf545 Revert "[fuzzer] Create user provided fuzzer writeable dire [...] adds 99f3b231cb2 [libc++] Workaround timespec_get not always being available [...] adds ae95ceeb8f9 [OpenMP] Consolidate error handling and debug messages in L [...] adds 5987da8764b Revert "Revert "Reapply D70800: Fix AArch64 AAPCS frame rec [...] adds 3e753ce1ab5 [ORC] Add unit test for HasMaterializationSideEffectsOnly f [...] adds b1f39486205 Do not emit "-tune-cpu generic" for PS4 platform adds 96f0b57568c [Bindings] Add LLVMAddInstructionSimplifyPass adds 4783e2c9c60 [MachineCopyPropagation] In isNopCopy, check the destinatio [...] adds d7e16ca28f4 [LV] Interleave to expose ILP for small loops with scalar r [...] adds 7139736261e Revert "[libfuzzer] Reduce default verbosity when printing [...] adds 0d966ae4b2a [Loads] Add canReplacePointersIfEqual helper. adds c90f15d25a1 [NFC] Fix unused var in release build adds 1f4e7463b5e [amdgpu] Run SROA after loop unrolling. adds 8693ddc7437 Revert "[GlobalISel] Fold xor(cmp(pred, _, _), 1) -> cmp(in [...] adds 137dfd616aa [LangRef] Fix condition for when a loop is considered parallel. adds 431bb8b3182 [mlir][ODS] Use c++ types for integer attributes of fixed w [...] adds 8ca00c5cdc0 Thread safety analysis: More consistent warning message adds 553833958fd [builtins] Fix divtf3_test.c adds 520ab710fb6 Revert "Revert "[GlobalISel] Fold xor(cmp(pred, _, _), 1) - [...] adds fad75598d27 [llvm] [unittests] Remove temporary files after they're not needed adds 478eb98cd25 [Docs] Remove outdated OS limitation adds cfe2b81710c [SVE] Update INSERT_SUBVECTOR DAGCombine to use getVectorEl [...] adds 224d8153b53 [llvm] [unittests] Fix failing test 'FileCollectorTest.addD [...] adds 0c2d872d5de [PowerPC] Implement builtins for xvcvspbf16 and xvcvbf16spn adds 49dda4e58ae [libFuzzer] Break dependency on common_interface_defs.h adds 8d655042233 [mlir][vulkan-runner] Explicitly export vulkan-runtime-wrap [...] adds 663f4f7edc2 [clang] consistently use getLangOpts() adds 94948f3c929 [ADT] Make Optional a literal type. adds 7cd6b0c3b5d [clang] Do not consider the template arguments of bases to [...] adds ca842c825a1 [clangd] Handle templates more consistently in type hierarchy adds 0224738c1ab [lldb/interpreter] Improve REPL init file compatibility adds 82139b8770e Simplify Symbol Status Message to Only Debug Info Size adds 202766947ed [NFC] Fix unused var in release builds. adds 9390b346fc2 [lldb] Move ScriptCommand and RegexCommand under Commands (NFC) adds 1ccfb52a617 [MemCpyOptimizer] Preserve analyses and replace use of lamb [...] adds 369f9169a52 [DebugInfo] Simplify string table dumpers. adds 0ffbbce78de Don't take the expression range into account when looking f [...] adds 057028ed391 Revert switch based variant temporarily. adds 7ff335a25f8 [ORC] Fix MachOPlatform's synthetic symbol dependence regis [...] adds c40ce0da718 [ORC] Add an early out for MachOPlatform's init-scraper plu [...] adds ce66089ac6f Fix build-bots. adds bd09e0dd741 [ORC] Remove stray debugging output. adds dc673402084 [CMake] Remove -Wl,-allow-shlib-undefined which was added i [...] adds b21ddded8f0 [RFC][Target] Add a new triple called Triple::csky adds 1d994728751 [mlir] Add Complex Type, Vector Type and Tuple Type subclas [...] adds 7558e9e5a2a [Attributor] Fix AANoUndef initialization adds 5d134795745 [Attributor] Make use of AANoUndef in AAUndefinedBehavior adds 81424257273 Revert "[libc++] Workaround timespec_get not always being a [...] adds 21d02dc5957 [X86][SSE] SimplifyDemandedVectorEltsForTargetNode - add ge [...] adds 2bf491c7294 [mlir][VectorOps] Fail fast when a strided memref is passed [...] adds 4820af2bfc7 [X86] Remove superfluous trailing semicolons, fixing warnin [...] adds 71eed4808fb [DebugInfo] Remove Dwarf5AccelTableWriter::Header::UnitLeng [...] adds 3445ec9ba71 [DebugInfo] Emit a 1-byte value as a terminator of entries [...] adds f13beac51be [AArch64][SVE] Preserve full vector regs over EH edge. adds 4bdab2e86ab [AMDGPU] Fix offset for REL32_HI relocs adds f72121254da [SVE] Don't reorder subvector/binop sequences when the resu [...] adds 94f5d248772 [mlir] Extend BufferAssignmentTypeConverter with result con [...] adds 8a3907cd494 [Test] Simplify test by removing unneeded variable adds c4a2a130748 Move all fields of '-cc1' option related classes into def f [...] adds 8fb055932c0 [VectorCombine] allow vector loads with mismatched insert type adds 626c3738cdf [InstCombine] Transform 1.0/sqrt(X) * X to X/sqrt(X) adds f5ed22f09dd [mlir][VectorToSCF] 128 byte alignment of alloc ops adds 6d36b22b219 [GlobalOpt] Fix an incorrect Modified status adds 1b88bbf5eb8 Revert "[mlir] Extend BufferAssignmentTypeConverter with re [...] adds 255a60cdd6f [libc++] Make some testing utilities constexpr adds 6f7737c4681 [ImplicitNullChecks] NFC: Separated out checks and added comments adds 425573a2fa2 [ImplicitNullChecks] NFC: Refactor dependence safety check adds addb5148f58 [lldb/Target] Add custom interpreter option to `platform shell` adds b6b63684b19 [NFC] [PowerPC] Add FMA flag propagation test adds ec489ae048f [IPSCCP] Fix a bug that the "returned" attribute is not cle [...] adds c5aa63dd560 [lldb/Host] Add missing proc states adds 39cf83cc78f [mlir] Extend BufferAssignmentTypeConverter with result con [...] adds 888049b97a7 [X86][SSE] Fold vselect(pshufb,pshufb) -> or(pshufb,pshufb) adds ddd48cdba69 [ms] [llvm-ml] Add support for line continuations in MASM adds 8ff44e644bb [IRGen] Fix an assert when __attribute__((used)) is used on [...] adds d46f2c51e4c Make -fvisibility-inlines-hidden apply to static local vari [...] adds 5201b962e89 [libc++] Re-apply the workaround for timespec_get not alway [...] adds 44cc78da056 [libc++] Fix incorrect usage of __STDC_HOSTED__ adds 4f57a126c4e [libc++] Remove definition of _LIBCPP_ALIGNOF for GCC in C+ [...] adds f80866bd4a2 [flang] Make -fget-symbols-sources output deterministic adds ecde200209f [AMDGPU][MC] Corrected parser to avoid generation of excess [...] adds 92a54197861 [flang] Support multiple CookedSource instances adds d70e05c9e36 [clang-format] Parse double-square attributes as pointer qu [...] adds 352cf57cfb6 [Bindings] Move LLVMAddInstructionSimplifyPass to Scalar.cpp adds 8d2d0e84857 Revert "Move all fields of '-cc1' option related classes in [...] adds 4cefa8614ff [TSan][libdispatch] Fix compilation error on Linux adds 1426ac04829 [gn build] Fix COMPILER_RT_HAS_* defines for libclang_rt.profile adds e0e7eb2e264 [clang] Add missing .def files to Clang's modulemap adds 9523cf02c22 [AST] Fix handling of long double and bool in __builtin_bit_cast adds 2d11ae0a40e Fix a -Wparenthesis warning in 8ff44e644bb7, NFC adds 01700c45eb2 Store an Identifier instead of a StringRef for the Operatio [...] adds 5d1fe3f903b [PowerPC] Implemented Vector Multiply Builtins adds 737a4501e81 Add constexpr to pair adds 1cfde143e82 [GCDAProfiling] Suppress -Wprio-ctor-dtor for GCC>=9 and re [...] adds 6f0a3711bc1 [libTooling] Restore defaults for matchers in makeRule. adds 0e86f390457 [lldb/test] Fix TestPlatform*.py Windows failures (NFC) adds afe8ca86733 [libcxx] Fix whitespace error adds 5b4744b2c5a Make sure that llvm-ml uses MASM integer lexing when in --a [...] adds c963757783d [flang] Implement nonstandard OPEN statement CARRIAGECONTRO [...] adds 62dbb7e54c6 Revert "[HIP] Change default --gpu-max-threads-per-block va [...] adds a27398a8151 [PowerPC] Update MemorySanitizer test to cater for number o [...] adds 099c089d4b4 [APInt] New member function setBitVal adds 27714075848 [PowerPC] Do not legalize vector FDIV without VSX adds 65f20ea1133 [mlir][Affine] Fix AffineLoopInvariantCodeMotion adds 3b12e12d4b9 Revert "[clang] Add missing .def files to Clang's modulemap" adds 272742a92d2 Perform an extra consistency check when searching ModuleMan [...] adds 00d9907a7ac [scudo][standalone] Enable secondary cache release on Fuchsia adds de6caf871be run in terminal adds f09ccf89fbe [ThinLTO] Fix a metadata lost issue with DICompileUnit import. adds 553bfc8fa17 [mlir][Affine] Support affine vector loads/stores in LICM adds 1284dc34abd Use an Identifier instead of an OperationName internally fo [...] adds 848b0e244c9 Improve error handling for SmallVector programming errors adds b4f04d71350 [VectorCombine][SVE] Do not fold bitcast shuffle for scalab [...] adds 51128b670d4 Fix de6caf871be79dc7549aebe4e4fb57d52f6ed202 adds 69289cc10ff [PowerPC] Fix broken kill flag after MI peephole adds 55714678796 [libc++] Avoid including <sys/cdefs.h> on non-Apple platfor [...] adds 46781630a34 [MLIR][Affine][VectorOps] Vectorize uniform values in Super [...] adds 6478caa0340 Tweak `mlir-linalg-ods-gen` library dependency: only MLIRIR [...] adds 5f6ca065a55 Revert de6caf871be79dc7549aebe4e4fb57d52f6ed202 and 51128b6 [...] adds 23244823838 [asan_symbolize] Remove --use-symbol-table=true which is th [...] adds 67ce11405b0 [llvm-dwarfdump] Warn user when it encounters no null termi [...] adds 96ef6998dfc [InstCombine] Fix a couple crashes with extractelement on a [...] adds 0cefaec2e87 [compiler-rt] Don't build llvm-lit in RUNTIMES-BUILD adds 198a13e970d Fix for PR46384. Failure on weak dllimport. adds f434f7dabc1 Add code owners of new MachO port adds f7e04b710d2 [lldb/Gui] zero-initialize children_stop_id adds d9b4245f56a [mlir][spirv] Add block read and write from SPV_INTEL_subgroups adds ca134374b74 [X86] Add a /tune: option for clang-cl adds b16e8687ab6 [CodeGenPrepare][X86] Teach optimizeGatherScatterInst to tu [...] adds 426fa35b655 [lldb] Always record both the working and home directory. adds 883399c8402 [NewPM][Lint] Port -lint to NewPM adds e440b4933ad Revert "[NewPM][Lint] Port -lint to NewPM" adds fa95e355933 [lldb] Pass -fno-objc-exceptions for objcxx targets adds 3746906193c [lldb] Add reproducer verifier adds 8d35080ebbe [mlir][Linalg] Wrong tile size for convolutions fixed adds c0b6bc070e7 Decouple OpPassManager from the the MLIRContext (NFC) adds 9e9e6e698d8 Adding GDB PrettyPrinter for mlir::Identifier. new 2878ecc90f1 [StackProtector] Fix crash with vararg due to not checking [...] new f0699d91091 [debugserver] Fix that debugserver's stop reply packets alw [...] new 9124fa59209 Fix broken HUGE_VALF macro in llvm-c/DataTypes.h new e123959e947 [lldb] Remove debugserver specific string from TestAbortExi [...] new f5e2ea9a432 [AArch64] Add asm directives for the remaining SEH unwind codes new 13cde6733b5 [lldb] Remove a stray semicolon, fixing pedantic GCC warnin [...] new 5b354d204d0 [lldb] Make symbol list output from `image dump symtab` not [...] new bf8f6e89c8d [lldb/Interpreter] Fix language detection for the REPL InitFile new ce654f4be08 [SCCP] Add test where dereferenceable ptr is replaced with [...] new 3a204318c6c [llvm-readelf/obj] - Cleanup the interface of `DumpStyle`. NFCI. new 3542feeb207 [SCCP] Do not replace deref'able ptr with un-deref'able one. new 4c5e4aa89b1 Revert "[SCCP] Do not replace deref'able ptr with un-deref' [...] new f9091e56d34 [clang][aarch64] Drop experimental from __ARM_FEATURE_SVE_ [...] new 485e6db8729 Revert "Adding GDB PrettyPrinter for mlir::Identifier." new 56ee83e36cf [llvm-readobj/elf] - Improve warning messages, reported for [...] new 269984e772d [llvm-readelf] - Move a bit of common code to printDynamicR [...] new f4f29b956c6 [PowerPC] Fix missing TLS symbol type. new 245f846c4ea [MemCpyOptimizer] Change required analysis order for BasicA [...] new 1d442415a30 [X86][AVX] Test SSE41 BLENDV combines on AVX targets as well new ca860dc5773 [X86][SSE] Add PR47404 test case new a344b382a0f [GVN] Preserve MemorySSA if it is available. new 159f9a69b4b [Test] Add test showing some simple cases that IndVarSimpli [...] new c5716447c14 [NFC][RISCV] Simplify pass arg of RISCVMergeBaseOffsetOpt new e56edb801bb [X86][SSE] Fold select(X > -1, A, B) -> select(0 > X, B, A) [...] new 9f18f3c858d [lldb] Improve test failure reporting for expect() new 6de51189b07 [PassManager] Move load/store motion pass after DSE in LTO [...] new e1a30386899 [EarlyCSE] add tests for fma/fmuladd; NFC new 5b292697446 [X86] Fix llvm-qualified-auto warning by using const auto*. NFC. new 23d9f4b958b [X86] Fix llvm-qualified-auto warning by using auto*. NFC. new 890707aa016 [X86] Avoid llvm-qualified-auto warning by not using auto. NFC. new 2860b2c14b4 [mlir] Add Acos, Asin, Atan, Sinh, Cosh, Pow to SPIRVGLSLOps new 91848b11b4c LowerEmuTLS.cpp - remove unused TargetLowering.h include. NFC. new 1e21ca4d25f [spirv] Add SPIR-V GLSL extended Round op new 7939b76e2a7 [mlir] Support default valued attribute in StructsGen new dfb7b3fe02c [mlir][VectorOps] Fall back to a loop when accessing a vect [...] new db367ff2d8d [LLD][PowerPC][test] Fix out-of-memory issue running ppc64- [...] new 4013cfd34df [GVN] add tests for >2 arg commutable intrinsics; NFC new bdd5bfd0e43 [IR][GVN] add/allow commutative intrinsics with >2 args new 0563cd6739c Fix spelling mistake. NFC. new 58afaecdc23 X86/X86TargetObjectFile.cpp - remove unused headers. NFCI. new d4f39031312 [libTooling] Provide overloads of `rewriteDescendants` that [...] new 898e42db93a GlobalISel/Utils.h - remove unused includes. NFCI. new 711b9806547 [fuzzer] Create user provided fuzzer writeable directories [...] new baa74e013f7 Step down from security group new 7bc9924cb2f Add new hidden option -print-changed which only reports cha [...] new 62673c430de [libFuzzer] Add an option to keep initial seed inputs around. new ddcc7ce5915 [lldb-vscode] Fix TestVSCode_module new f26fc568402 Eliminate the sizing template parameter N from CoalescingBitVector new c9239b2bf5f [Analyzer][docs][NFC] Fix typo in code example new 9bb3a9eebb3 [InstCombine] add tests for commutative intrinsics; NFC new 2391a34f9f5 [InstCombine] canonicalize all commutative intrinsics with [...] new b196c7192ff Fix Wdocumentation warning. NFCI. new 6731eb644a1 Fix Wdocumentation trailing comments warnings. NFCI. new 46780cc0ee9 PHIEliminationUtils.cpp - remove unnecessary MachineBasicBl [...] new 83ca548fcb4 WebAssemblyUtilities.h - reduce unnecessary includes to for [...] new dc8d7d23d8d [ARM] Extra predicate load tests. NFC new db574fc7ba2 [libc++] Make ext-int.verify.cpp test compatible with c++03 new d0706cfc4c6 [libc++] Mark std::atomic<_ExtInt> test as unsupported in C++03 new 8d420fb3a02 [spirv][nfc] Simplify resource limit with default values new 1673a080443 SelectionDAG.h - remove unnecessary FunctionLoweringInfo.h [...] new 5fe33f7399d [DebugInfo] Make DWARF ignore sizes on forward declared cla [...] new b2e65cf9501 Revert "Add new hidden option -print-changed which only rep [...] new d1be928d23f SVML support for log2 new f369d51896e [lldb] avoid assert in threadsanitizer tests on linux new 6e09722b27e [test] Use %t instead of %T to remove race conditions betwe [...] new a09eef113f1 Replace CRLF with LF; NFC new b53243e1949 [libFuzzer] Evenly select inputs to cross over with from th [...] new c9771391ce0 [NewPM][Lint] Port -lint to NewPM new 7fff1fbd3ce [MIRVRegNamer] Experimental MachineInstr stable hashing (Fo [...] new 952dc7f288a [gn build] Port 7fff1fbd3ce new 5cda4dc7b4d [libFuzzer] Scale energy assigned to each input based on in [...] new 0f1be87e294 [Sema] Fix a -Warc-repeated-use-of-weak false-positive by o [...] new 8b8be6f38ab [Asan] Cleanup atomic usage in allocator new 2b71b7f791c [NFC][Asan] Set AP32::kMetadataSize to 0 new 3d54976a704 [llvm-symbolizer] Add back --use-symbol-table=true new e6393ee8131 Canonicalize declaration pointers when forming APValues. new 052dbe226cb Remove unused and dangerous overload of PerformImplicitConversion. new bf41c4d29e4 [codegen] Ensure target flags are cleared/set properly. NFC. new aaf1a96408b [DebugInfo] Add size to class declarations in debug info. new 673484b3418 [libunwind] Minor SJLJ config cleanup. NFCI. new 08513505571 [X86] Update stale comment. NFC new 3c2a7bd2867 AMDGPU: Remove code to handle tied si_else operands new 2dd9a4d855f [SmallVector] Include stdexcept if LLVM_ENABLE_EXCEPTIONS new a803ddc522e [NFC][Asan] Add FIXME into GetAsanChunk new 99a93c3a223 [NFC][Asan] Rename internal enum value. new 0ac81333ebc [NFC] Adding pythonenv* to .gitignore new 060c9dd1cc4 [mlir] [VectorOps] Improve SIMD compares with narrower indices new 8514ecb02d4 [libc] Add implementations of remquo[f|l] and remainder[f|l]. new 23bcfbcc986 Add comment to describe a field member (NFC) new 17ac4543d42 [libc][obvious] Use constants of type double in remquo_test.
The 90 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: .gitignore | 2 + clang-tools-extra/clangd/XRefs.cpp | 29 +- .../clangd/unittests/TypeHierarchyTests.cpp | 22 +- clang/docs/UsersManual.rst | 5 - clang/docs/analyzer/checkers.rst | 2 +- clang/include/clang/AST/APValue.h | 4 +- .../include/clang/Analysis/Analyses/ThreadSafety.h | 8 + clang/include/clang/Basic/AttrDocs.td | 4 - clang/include/clang/Basic/BuiltinsPPC.def | 8 + clang/include/clang/Basic/DiagnosticASTKinds.td | 2 + clang/include/clang/Basic/DiagnosticSemaKinds.td | 3 + clang/include/clang/Basic/LangOptions.def | 5 +- clang/include/clang/Driver/Options.td | 14 + clang/include/clang/Sema/Sema.h | 4 - .../clang/Tooling/Transformer/RewriteRule.h | 32 + clang/lib/AST/APValue.cpp | 26 +- clang/lib/AST/Decl.cpp | 3 +- clang/lib/AST/ExprConstant.cpp | 60 +- clang/lib/Analysis/ThreadSafety.cpp | 3 +- clang/lib/Basic/Targets/AArch64.cpp | 3 +- clang/lib/CodeGen/CGDebugInfo.cpp | 4 + clang/lib/CodeGen/CodeGenModule.cpp | 2 +- clang/lib/CodeGen/TargetInfo.cpp | 8 +- clang/lib/Driver/CMakeLists.txt | 1 + clang/lib/Driver/Driver.cpp | 4 + clang/lib/Driver/ToolChains/Clang.cpp | 7 +- clang/lib/Driver/ToolChains/Darwin.cpp | 7 + clang/lib/Driver/ToolChains/ZOS.cpp | 23 + clang/lib/Driver/ToolChains/ZOS.h | 36 + clang/lib/Format/TokenAnnotator.cpp | 6 + clang/lib/Frontend/CompilerInvocation.cpp | 3 + clang/lib/Headers/altivec.h | 50 + clang/lib/Index/IndexTypeSourceInfo.cpp | 21 + clang/lib/Lex/PPMacroExpansion.cpp | 21 +- clang/lib/Sema/AnalysisBasedWarnings.cpp | 7 + clang/lib/Sema/SemaChecking.cpp | 23 +- clang/lib/Sema/SemaExpr.cpp | 45 +- clang/lib/Sema/SemaOpenMP.cpp | 2 +- clang/lib/Sema/SemaOverload.cpp | 28 +- clang/lib/Serialization/ModuleManager.cpp | 37 +- .../Checkers/StdLibraryFunctionsChecker.cpp | 1228 ++++++------ clang/lib/Tooling/Transformer/RewriteRule.cpp | 58 +- .../std-c-library-functions-POSIX-lookup.c | 22 + .../test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p9.cpp | 3 +- .../CodeGen/attr-arm-sve-vector-bits-bitcast.c | 2 +- clang/test/CodeGen/attr-arm-sve-vector-bits-call.c | 2 +- clang/test/CodeGen/attr-arm-sve-vector-bits-cast.c | 2 +- .../CodeGen/attr-arm-sve-vector-bits-codegen.c | 2 +- .../CodeGen/attr-arm-sve-vector-bits-globals.c | 2 +- .../test/CodeGen/attr-arm-sve-vector-bits-types.c | 2 +- clang/test/CodeGen/builtins-ppc-p10vector.c | 50 + clang/test/CodeGenCUDA/amdgpu-kernel-attrs.cu | 2 +- clang/test/CodeGenCUDA/kernel-amdgcn.cu | 2 +- .../aarch64-mangle-sve-fixed-vectors.cpp | 2 +- .../test/CodeGenCXX/aarch64-sve-fixedtypeinfo.cpp | 2 +- clang/test/CodeGenCXX/debug-info-class.cpp | 2 +- .../visibility-inlines-hidden-static-local-var.cpp | 53 + clang/test/CodeGenObjC/attr-used-on-method.m | 11 + clang/test/Driver/cl-x86-flags.c | 4 + clang/test/Driver/config-file3.c | 62 +- clang/test/Driver/darwin-objc-options.m | 9 + clang/test/Driver/ps4-cpu-defaults.cpp | 3 +- clang/test/Driver/target-override.c | 9 +- clang/test/Index/Core/index-source.cpp | 8 + clang/test/OpenMP/ordered_messages.cpp | 5 +- clang/test/Preprocessor/aarch64-target-features.c | 24 +- clang/test/Preprocessor/init-zos.c | 38 +- clang/test/Sema/attr-arm-sve-vector-bits.c | 2 +- clang/test/Sema/unary-minus-integer-impcast.c | 3 + clang/test/SemaCXX/attr-arm-sve-vector-bits.cpp | 2 +- clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp | 66 + clang/test/SemaCXX/warn-thread-safety-analysis.cpp | 2 +- clang/test/SemaCXX/warn-thread-safety-negative.cpp | 2 +- clang/test/SemaObjC/arc-repeated-weak.mm | 14 + clang/unittests/Format/FormatTest.cpp | 9 +- clang/unittests/Index/IndexTests.cpp | 14 + clang/unittests/Tooling/TransformerTest.cpp | 117 +- compiler-rt/CMakeLists.txt | 3 +- compiler-rt/lib/asan/asan_allocator.cpp | 123 +- compiler-rt/lib/asan/asan_allocator.h | 2 +- compiler-rt/lib/asan/scripts/asan_symbolize.py | 1 - compiler-rt/lib/builtins/divdf3.c | 189 +- compiler-rt/lib/builtins/divsf3.c | 174 +- compiler-rt/lib/builtins/divtf3.c | 203 +- compiler-rt/lib/builtins/fp_div_impl.inc | 419 +++++ compiler-rt/lib/builtins/fp_lib.h | 7 + compiler-rt/lib/builtins/int_util.h | 16 + compiler-rt/lib/fuzzer/FuzzerCorpus.h | 62 +- compiler-rt/lib/fuzzer/FuzzerDriver.cpp | 34 +- compiler-rt/lib/fuzzer/FuzzerFlags.def | 23 + compiler-rt/lib/fuzzer/FuzzerFork.cpp | 14 +- compiler-rt/lib/fuzzer/FuzzerIO.cpp | 32 + compiler-rt/lib/fuzzer/FuzzerIO.h | 1 + compiler-rt/lib/fuzzer/FuzzerInterceptors.cpp | 20 +- compiler-rt/lib/fuzzer/FuzzerInternal.h | 3 +- compiler-rt/lib/fuzzer/FuzzerLoop.cpp | 28 +- compiler-rt/lib/fuzzer/FuzzerOptions.h | 3 + compiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp | 14 +- compiler-rt/lib/msan/tests/msan_test.cpp | 16 +- compiler-rt/lib/profile/GCDAProfiling.c | 19 +- .../sanitizer_allocator_primary32.h | 1 + .../sanitizer_allocator_primary64.h | 1 + .../lib/sanitizer_common/sanitizer_linux.cpp | 28 +- compiler-rt/lib/scudo/standalone/combined.h | 2 +- compiler-rt/lib/scudo/standalone/secondary.h | 11 +- .../lib/scudo/standalone/tests/combined_test.cpp | 4 +- .../lib/scudo/standalone/tests/secondary_test.cpp | 6 - .../lib/tsan/rtl/tsan_interceptors_libdispatch.cpp | 4 +- compiler-rt/test/builtins/Unit/divdf3_test.c | 21 + compiler-rt/test/builtins/Unit/divsf3_test.c | 15 + compiler-rt/test/builtins/Unit/divtf3_test.c | 7 + .../test/fuzzer/EntropicScalePerExecTimeTest.cpp | 33 + compiler-rt/test/fuzzer/KeepSeedTest.cpp | 37 + .../test/fuzzer/cross_over_uniform_dist.test | 16 + .../test/fuzzer/entropic-scale-per-exec-time.test | 8 + compiler-rt/test/fuzzer/fuzzer-dirs.test | 38 + compiler-rt/test/fuzzer/keep-seed.test | 17 + flang/docs/Extensions.md | 1 + flang/docs/f2018-grammar.txt | 6 +- flang/include/flang/Common/Fortran-features.h | 16 +- flang/include/flang/Common/Fortran.h | 1 + flang/include/flang/Lower/Bridge.h | 12 +- flang/include/flang/Lower/ConvertType.h | 5 - flang/include/flang/Parser/instrumented-parser.h | 2 +- flang/include/flang/Parser/message.h | 16 +- flang/include/flang/Parser/parse-tree.h | 10 +- flang/include/flang/Parser/parsing.h | 13 +- flang/include/flang/Parser/provenance.h | 61 +- flang/include/flang/Parser/user-state.h | 11 +- flang/include/flang/Semantics/scope.h | 5 - flang/include/flang/Semantics/semantics.h | 13 +- flang/lib/Lower/IO.cpp | 15 +- flang/lib/Parser/debug-parser.cpp | 4 +- flang/lib/Parser/instrumented-parser.cpp | 7 +- flang/lib/Parser/io-parsers.cpp | 17 +- flang/lib/Parser/message.cpp | 28 +- flang/lib/Parser/parsing.cpp | 28 +- flang/lib/Parser/prescan.cpp | 29 +- flang/lib/Parser/prescan.h | 14 +- flang/lib/Parser/provenance.cpp | 107 +- flang/lib/Semantics/check-case.cpp | 42 +- flang/lib/Semantics/check-io.cpp | 14 + flang/lib/Semantics/expression.cpp | 21 + flang/lib/Semantics/mod-file.cpp | 3 +- flang/lib/Semantics/scope.cpp | 8 - flang/lib/Semantics/semantics.cpp | 15 +- flang/runtime/io-api.cpp | 27 +- flang/runtime/io-api.h | 2 + flang/runtime/io-stmt.cpp | 5 + flang/test/Driver/version_test.f90 | 7 +- .../test/Preprocessing/compiler_defined_macros.F90 | 11 + flang/test/Semantics/case01.f90 | 6 +- flang/test/Semantics/getsymbols01.f90 | 6 +- flang/test/Semantics/getsymbols02.f90 | 4 +- flang/test/Semantics/getsymbols03-a.f90 | 2 +- flang/test/Semantics/getsymbols04.f90 | 2 +- flang/test/Semantics/getsymbols05.f90 | 2 +- flang/test/Semantics/io01.f90 | 7 + flang/test/Semantics/io05.f90 | 1 + flang/test/Semantics/select-rank.f90 | 4 +- flang/tools/f18-parse-demo/f18-parse-demo.cpp | 7 +- flang/tools/f18/CMakeLists.txt | 7 +- flang/tools/f18/f18.cpp | 40 +- flang/tools/f18/f18_version.h.in | 9 + flang/unittests/Evaluate/intrinsics.cpp | 9 +- libc/config/linux/api.td | 6 + libc/config/linux/x86_64/entrypoints.txt | 6 + libc/spec/stdc.td | 8 + libc/src/math/CMakeLists.txt | 72 + libc/src/math/remainder.cpp | 19 + libc/src/math/remainder.h | 18 + libc/src/math/remainderf.cpp | 19 + libc/src/math/remainderf.h | 18 + libc/src/math/remainderl.cpp | 19 + libc/src/math/remainderl.h | 18 + libc/src/math/remquo.cpp | 18 + libc/src/math/remquo.h | 18 + libc/src/math/remquof.cpp | 18 + libc/src/math/remquof.h | 18 + libc/src/math/remquol.cpp | 19 + libc/src/math/remquol.h | 18 + libc/test/src/math/CMakeLists.txt | 39 + libc/test/src/math/remquo_test.cpp | 91 + libc/test/src/math/remquof_test.cpp | 91 + libc/test/src/math/remquol_test.cpp | 97 + libc/utils/FPUtil/CMakeLists.txt | 1 + libc/utils/FPUtil/DivisionAndRemainderOperations.h | 111 ++ libc/utils/FPUtil/FPBits.h | 8 + libc/utils/FPUtil/LongDoubleBitsX86.h | 9 + libcxx/docs/FeatureTestMacroTable.rst | 2 + libcxx/include/__config | 6 +- libcxx/include/ctime | 16 +- libcxx/include/tuple | 2 +- libcxx/include/utility | 20 +- libcxx/include/variant | 355 ++-- libcxx/include/version | 2 + libcxx/src/CMakeLists.txt | 5 +- libcxx/test/libcxx/atomics/ext-int.verify.cpp | 21 +- .../timespec_get.xopen.compile.pass.cpp | 18 + libcxx/test/libcxx/libcpp_freestanding.sh.cpp | 21 + .../utility.version.pass.cpp | 20 + .../version.version.pass.cpp | 20 + .../pairs.pair/assign_const_pair_U_V.pass.cpp | 72 +- .../utility/pairs/pairs.pair/assign_pair.pass.cpp | 138 +- .../pairs/pairs.pair/assign_rv_pair.pass.cpp | 139 +- .../pairs/pairs.pair/assign_rv_pair_U_V.pass.cpp | 80 +- .../pairs/pairs.pair/const_pair_U_V.pass.cpp | 249 +-- .../utility/pairs/pairs.pair/piecewise.pass.cpp | 28 +- .../utility/pairs/pairs.pair/swap.pass.cpp | 63 +- libcxx/test/support/emplace_constructible.h | 20 +- libcxx/test/support/min_allocator.h | 146 +- .../generate_feature_test_macro_components.py | 6 + libunwind/src/Unwind_AppleExtras.cpp | 2 - libunwind/src/config.h | 6 +- lld/CODE_OWNERS.TXT | 6 +- lld/test/ELF/ppc64-pcrel-long-branch-error.s | 21 +- lldb/bindings/interface/SBPlatform.i | 7 + lldb/docs/man/lldb.rst | 8 +- lldb/include/lldb/API/SBPlatform.h | 5 + lldb/include/lldb/Host/Host.h | 41 +- lldb/include/lldb/Target/Platform.h | 13 +- lldb/include/lldb/Target/RemoteAwarePlatform.h | 7 +- lldb/packages/Python/lldbsuite/test/lldbtest.py | 100 +- lldb/source/API/SBPlatform.cpp | 47 +- lldb/source/API/SBReproducer.cpp | 2 +- lldb/source/Commands/CMakeLists.txt | 2 + lldb/source/Commands/CommandObjectCommands.cpp | 5 +- lldb/source/Commands/CommandObjectPlatform.cpp | 18 +- .../CommandObjectRegexCommand.cpp | 5 +- .../Commands}/CommandObjectRegexCommand.h | 8 +- .../CommandObjectScript.cpp | 0 .../CommandObjectScript.h | 0 lldb/source/Commands/Options.td | 2 + lldb/source/Core/IOHandlerCursesGUI.cpp | 17 +- lldb/source/Host/common/Host.cpp | 45 +- lldb/source/Host/linux/Host.cpp | 41 +- lldb/source/Host/macosx/objcxx/CMakeLists.txt | 2 + lldb/source/Host/macosx/objcxx/Host.mm | 8 +- .../Initialization/SystemInitializerCommon.cpp | 7 +- lldb/source/Interpreter/CMakeLists.txt | 2 - lldb/source/Interpreter/CommandInterpreter.cpp | 35 +- .../TSan/InstrumentationRuntimeTSan.cpp | 2 + .../Plugins/Platform/MacOSX/objcxx/CMakeLists.txt | 3 + .../gdb-server/PlatformRemoteGDBServer.cpp | 2 +- .../Platform/gdb-server/PlatformRemoteGDBServer.h | 2 +- .../gdb-remote/GDBRemoteCommunicationClient.cpp | 4 +- .../gdb-remote/GDBRemoteCommunicationClient.h | 2 +- .../SymbolFile/Breakpad/SymbolFileBreakpad.cpp | 15 +- lldb/source/Target/Platform.cpp | 22 +- lldb/source/Target/RemoteAwarePlatform.cpp | 19 +- .../API/assert_messages_test/TestAssertMessages.py | 115 ++ lldb/test/API/commands/platform/basic/Makefile | 5 + .../commands/platform/basic/TestPlatformCommand.py | 9 + .../commands/platform/basic/TestPlatformPython.py | 17 + lldb/test/API/commands/platform/basic/myshell.c | 24 + .../tools/lldb-vscode/module/TestVSCode_module.py | 15 +- lldb/test/Shell/Process/Inputs/abort.c | 3 + lldb/test/Shell/Process/TestAbortExitCode.test | 6 + lldb/test/Shell/SymbolFile/Breakpad/symtab.test | 8 +- lldb/tools/debugserver/source/RNBRemote.cpp | 2 +- lldb/tools/driver/Driver.cpp | 2 +- lldb/tools/lldb-vscode/JSONUtils.cpp | 8 +- llvm/CMakeLists.txt | 10 - llvm/docs/LangRef.rst | 3 +- llvm/docs/ReleaseNotes.rst | 4 +- llvm/docs/Security.rst | 2 +- llvm/include/llvm-c/DataTypes.h | 4 - llvm/include/llvm-c/Transforms/Scalar.h | 3 + llvm/include/llvm/ADT/APInt.h | 8 + llvm/include/llvm/ADT/CoalescingBitVector.h | 7 +- llvm/include/llvm/ADT/Optional.h | 135 +- llvm/include/llvm/ADT/SmallVector.h | 37 +- llvm/include/llvm/ADT/Triple.h | 6 + llvm/include/llvm/Analysis/Lint.h | 28 +- llvm/include/llvm/Analysis/Loads.h | 9 + llvm/include/llvm/Analysis/VecFuncs.def | 24 + llvm/include/llvm/Analysis/VectorUtils.h | 2 +- .../llvm/CodeGen/GlobalISel/CombinerHelper.h | 14 + .../llvm/CodeGen/GlobalISel/GISelKnownBits.h | 3 + .../include/llvm/CodeGen/GlobalISel/IRTranslator.h | 4 +- .../GlobalISel/LegalizationArtifactCombiner.h | 104 +- .../llvm/CodeGen/GlobalISel/MIPatternMatch.h | 6 + llvm/include/llvm/CodeGen/GlobalISel/Utils.h | 12 +- llvm/include/llvm/CodeGen/MachineOperand.h | 13 +- llvm/include/llvm/CodeGen/MachineStableHash.h | 28 + llvm/include/llvm/CodeGen/SelectionDAG.h | 2 +- llvm/include/llvm/CodeGen/StableHashing.h | 112 ++ llvm/include/llvm/CodeGen/TargetLowering.h | 27 +- llvm/include/llvm/CodeGen/TargetRegisterInfo.h | 7 + .../llvm/{Support => FileCheck}/FileCheck.h | 6 +- llvm/include/llvm/IR/IntrinsicInst.h | 13 +- llvm/include/llvm/IR/IntrinsicsPowerPC.td | 20 + llvm/include/llvm/InitializePasses.h | 2 +- llvm/include/llvm/LinkAllPasses.h | 2 +- llvm/include/llvm/Support/ErrorHandling.h | 6 +- llvm/include/llvm/Support/KnownBits.h | 14 + llvm/include/llvm/Support/TypeSize.h | 4 + llvm/include/llvm/Support/Win64EH.h | 8 +- llvm/include/llvm/Target/GlobalISel/Combine.td | 32 +- llvm/include/llvm/Testing/Support/SupportHelpers.h | 135 ++ llvm/include/llvm/Transforms/Scalar/GVN.h | 6 +- .../llvm/Transforms/Scalar/LoopIdiomRecognize.h | 13 + .../llvm/Transforms/Scalar/MemCpyOptimizer.h | 12 +- llvm/include/llvm/module.modulemap | 7 + llvm/lib/Analysis/Analysis.cpp | 2 +- llvm/lib/Analysis/Lint.cpp | 304 +-- llvm/lib/Analysis/Loads.cpp | 20 + llvm/lib/Analysis/MemorySSAUpdater.cpp | 4 +- llvm/lib/Analysis/ValueTracking.cpp | 12 +- llvm/lib/Analysis/VectorUtils.cpp | 2 +- llvm/lib/Bitstream/Reader/BitstreamReader.cpp | 6 +- llvm/lib/CMakeLists.txt | 1 + llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp | 3 +- llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h | 3 - llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | 4 +- llvm/lib/CodeGen/CMakeLists.txt | 1 + llvm/lib/CodeGen/CodeGenPrepare.cpp | 154 +- llvm/lib/CodeGen/EarlyIfConversion.cpp | 4 +- llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | 140 ++ llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp | 100 +- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 6 + llvm/lib/CodeGen/GlobalISel/Utils.cpp | 39 +- llvm/lib/CodeGen/ImplicitNullChecks.cpp | 89 +- .../CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 1 - llvm/lib/CodeGen/LiveIntervals.cpp | 9 + llvm/lib/CodeGen/LowerEmuTLS.cpp | 2 +- llvm/lib/CodeGen/MIRParser/MIRParser.cpp | 6 + llvm/lib/CodeGen/MIRVRegNamerUtils.cpp | 14 + llvm/lib/CodeGen/MachineCopyPropagation.cpp | 4 +- llvm/lib/CodeGen/MachineOperand.cpp | 20 +- llvm/lib/CodeGen/MachineStableHash.cpp | 193 ++ llvm/lib/CodeGen/PHIEliminationUtils.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 48 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 7 +- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 6 + llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 8 +- llvm/lib/CodeGen/StackProtector.cpp | 3 +- llvm/lib/CodeGen/SwitchLoweringUtils.cpp | 3 +- llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 55 +- llvm/lib/DebugInfo/DWARF/DWARFDie.cpp | 1 - llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp | 9 +- llvm/lib/FileCheck/CMakeLists.txt | 8 + llvm/lib/{Support => FileCheck}/FileCheck.cpp | 2 +- llvm/lib/{Support => FileCheck}/FileCheckImpl.h | 6 +- llvm/lib/IR/Verifier.cpp | 3 +- llvm/lib/Linker/IRMover.cpp | 17 +- llvm/lib/MC/MCELFStreamer.cpp | 3 + llvm/lib/MC/MCParser/MasmParser.cpp | 8 + llvm/lib/MC/MCWin64EH.cpp | 56 + llvm/lib/MCA/HardwareUnits/RegisterFile.cpp | 17 +- llvm/lib/Passes/PassBuilder.cpp | 1 + llvm/lib/Passes/PassRegistry.def | 1 + llvm/lib/Support/APInt.cpp | 11 +- llvm/lib/Support/CMakeLists.txt | 1 - llvm/lib/Support/ErrorHandling.cpp | 8 +- llvm/lib/Support/SmallVector.cpp | 30 +- llvm/lib/Support/Triple.cpp | 10 + llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp | 8 + llvm/lib/Target/AArch64/AArch64RegisterInfo.h | 4 + .../Target/AArch64/AsmParser/AArch64AsmParser.cpp | 82 + .../AArch64/GISel/AArch64InstructionSelector.cpp | 17 +- .../AArch64/MCTargetDesc/AArch64ELFStreamer.cpp | 13 + .../AArch64/MCTargetDesc/AArch64TargetStreamer.h | 15 + .../MCTargetDesc/AArch64WinCOFFStreamer.cpp | 29 + llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp | 1 + llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 6 +- llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | 8 + .../Target/AMDGPU/AMDGPUTargetTransformInfo.cpp | 1 + .../Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp | 141 +- llvm/lib/Target/AMDGPU/SIDefines.h | 3 +- llvm/lib/Target/AMDGPU/SIFoldOperands.cpp | 5 - llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 9 +- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 1 - llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | 13 +- llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp | 4 - llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp | 2 +- llvm/lib/Target/PowerPC/PPCFrameLowering.cpp | 40 +- llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 36 +- llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 8 +- llvm/lib/Target/PowerPC/PPCInstrPrefix.td | 40 +- llvm/lib/Target/PowerPC/PPCMIPeephole.cpp | 2 + llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp | 2 +- llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h | 5 +- llvm/lib/Target/X86/X86EvexToVex.cpp | 2 +- llvm/lib/Target/X86/X86FixupBWInsts.cpp | 5 +- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 2 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 154 +- llvm/lib/Target/X86/X86InstrFPStack.td | 8 +- llvm/lib/Target/X86/X86TargetObjectFile.cpp | 8 - llvm/lib/Target/X86/X86TargetObjectFile.h | 2 +- llvm/lib/Transforms/IPO/AttributorAttributes.cpp | 20 +- llvm/lib/Transforms/IPO/GlobalOpt.cpp | 12 +- llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 2 +- .../Transforms/InstCombine/InstCombineCalls.cpp | 21 +- .../Transforms/InstCombine/InstCombineCasts.cpp | 4 +- .../InstCombine/InstCombineMulDivRem.cpp | 15 + llvm/lib/Transforms/Scalar/GVN.cpp | 72 +- llvm/lib/Transforms/Scalar/InstSimplifyPass.cpp | 1 + llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 35 +- llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp | 99 +- llvm/lib/Transforms/Scalar/SCCP.cpp | 19 + llvm/lib/Transforms/Scalar/Scalar.cpp | 4 + llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 48 +- llvm/lib/Transforms/Vectorize/VectorCombine.cpp | 53 +- llvm/test/Analysis/BasicAA/phi-values-usage.ll | 5 +- .../CodeGen/AArch64/GlobalISel/combine-ext.mir | 196 ++ .../prelegalizercombiner-extending-loads-s1.mir | 5 +- .../GlobalISel/prelegalizercombiner-invert-cmp.mir | 166 ++ .../AArch64/GlobalISel/select-brcond-of-not.mir | 76 + .../CodeGen/AArch64/sve-fixed-length-subvector.ll | 30 +- .../CodeGen/AArch64/unwind-preserved-from-mir.mir | 143 ++ llvm/test/CodeGen/AArch64/unwind-preserved.ll | 215 +++ .../artifact-combiner-unmerge-values.mir | 77 +- .../GlobalISel/combine-amdgpu-cvt-f32-ubyte.mir | 16 +- .../AMDGPU/GlobalISel/combine-sext-inreg.mir | 166 +- .../combine-shl-from-extend-narrow.prelegal.mir | 6 +- .../AMDGPU/GlobalISel/divergent-control-flow.ll | 31 +- .../AMDGPU/GlobalISel/dynamic-alloca-uniform.ll | 12 +- .../test/CodeGen/AMDGPU/GlobalISel/global-value.ll | 16 +- .../CodeGen/AMDGPU/GlobalISel/legalize-and.mir | 124 +- .../CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir | 108 +- .../CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir | 355 ++-- .../AMDGPU/GlobalISel/legalize-concat-vectors.mir | 18 +- .../CodeGen/AMDGPU/GlobalISel/legalize-extract.mir | 41 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fabs.mir | 99 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir | 135 +- .../AMDGPU/GlobalISel/legalize-fcanonicalize.mir | 63 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fcos.mir | 63 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fdiv.mir | 150 +- .../CodeGen/AMDGPU/GlobalISel/legalize-ffloor.mir | 63 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fma.mir | 161 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir | 108 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir | 108 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir | 135 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fneg.mir | 63 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fpext.mir | 9 +- .../CodeGen/AMDGPU/GlobalISel/legalize-freeze.mir | 20 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fsin.mir | 63 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fsqrt.mir | 63 +- .../CodeGen/AMDGPU/GlobalISel/legalize-fsub.mir | 133 +- .../AMDGPU/GlobalISel/legalize-implicit-def.mir | 15 +- .../AMDGPU/GlobalISel/legalize-intrinsic-round.mir | 109 +- .../legalize-llvm.amdgcn.image.load.2d.d16.ll | 228 +-- .../legalize-llvm.amdgcn.image.store.2d.d16.ll | 9 +- .../AMDGPU/GlobalISel/legalize-load-global.mir | 568 ++---- .../CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir | 108 +- .../test/CodeGen/AMDGPU/GlobalISel/legalize-or.mir | 50 +- .../CodeGen/AMDGPU/GlobalISel/legalize-phi.mir | 22 +- .../CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir | 57 +- .../CodeGen/AMDGPU/GlobalISel/legalize-saddsat.mir | 138 +- .../CodeGen/AMDGPU/GlobalISel/legalize-select.mir | 65 +- .../AMDGPU/GlobalISel/legalize-sext-inreg.mir | 109 +- .../CodeGen/AMDGPU/GlobalISel/legalize-shl.mir | 108 +- .../CodeGen/AMDGPU/GlobalISel/legalize-smax.mir | 69 +- .../CodeGen/AMDGPU/GlobalISel/legalize-smin.mir | 69 +- .../CodeGen/AMDGPU/GlobalISel/legalize-sshlsat.mir | 44 +- .../CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir | 57 +- .../CodeGen/AMDGPU/GlobalISel/legalize-ssubsat.mir | 138 +- .../AMDGPU/GlobalISel/legalize-store-global.mir | 140 +- .../CodeGen/AMDGPU/GlobalISel/legalize-uaddo.mir | 50 +- .../CodeGen/AMDGPU/GlobalISel/legalize-uaddsat.mir | 138 +- .../CodeGen/AMDGPU/GlobalISel/legalize-umax.mir | 69 +- .../CodeGen/AMDGPU/GlobalISel/legalize-umin.mir | 69 +- .../AMDGPU/GlobalISel/legalize-unmerge-values.mir | 103 +- .../CodeGen/AMDGPU/GlobalISel/legalize-ushlsat.mir | 44 +- .../CodeGen/AMDGPU/GlobalISel/legalize-usubo.mir | 57 +- .../CodeGen/AMDGPU/GlobalISel/legalize-usubsat.mir | 138 +- .../CodeGen/AMDGPU/GlobalISel/legalize-xor.mir | 50 +- llvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll | 16 +- .../GlobalISel/postlegalizercombiner-and.mir | 49 + llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll | 320 ++-- llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll | 352 ++-- llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll | 84 +- llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll | 84 +- .../amdgpu-codegenprepare-fold-binop-select.ll | 8 +- llvm/test/CodeGen/AMDGPU/asm-printer-check-vcc.mir | 4 +- .../CodeGen/AMDGPU/branch-relaxation-debug-info.ll | 56 - .../AMDGPU/branch-relaxation-debug-info.mir | 123 ++ llvm/test/CodeGen/AMDGPU/call-argument-types.ll | 20 +- llvm/test/CodeGen/AMDGPU/call-constexpr.ll | 12 +- .../CodeGen/AMDGPU/call-preserved-registers.ll | 6 +- llvm/test/CodeGen/AMDGPU/call-waitcnt.ll | 14 +- .../CodeGen/AMDGPU/callee-special-input-sgprs.ll | 2 +- llvm/test/CodeGen/AMDGPU/captured-frame-index.ll | 2 +- llvm/test/CodeGen/AMDGPU/cc-update.ll | 24 +- llvm/test/CodeGen/AMDGPU/collapse-endcf.mir | 9 +- .../CodeGen/AMDGPU/control-flow-fastregalloc.ll | 12 +- .../AMDGPU/cross-block-use-is-not-abi-copy.ll | 12 +- .../test/CodeGen/AMDGPU/extra-sroa-after-unroll.ll | 90 + llvm/test/CodeGen/AMDGPU/function-call-relocs.ll | 8 +- llvm/test/CodeGen/AMDGPU/global-constant.ll | 6 +- llvm/test/CodeGen/AMDGPU/global-variable-relocs.ll | 22 +- llvm/test/CodeGen/AMDGPU/indirect-call.ll | 4 +- .../lower-control-flow-other-terminators.mir | 11 +- llvm/test/CodeGen/AMDGPU/mem-builtins.ll | 12 +- .../test/CodeGen/AMDGPU/mubuf-legalize-operands.ll | 16 +- llvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll | 2 +- llvm/test/CodeGen/AMDGPU/opt-pipeline.ll | 6 + .../propagate-attributes-bitcast-function.ll | 2 +- .../CodeGen/AMDGPU/propagate-attributes-clone.ll | 16 +- .../AMDGPU/propagate-attributes-single-set.ll | 12 +- llvm/test/CodeGen/AMDGPU/reassoc-scalar.ll | 2 +- llvm/test/CodeGen/AMDGPU/rel32.ll | 2 +- llvm/test/CodeGen/AMDGPU/sibling-call.ll | 4 +- .../stack-pointer-offset-relative-frameindex.ll | 2 +- llvm/test/CodeGen/AMDGPU/vgpr-tuple-allocation.ll | 8 +- .../CodeGen/MIR/AArch64/addrspace-memoperands.mir | 5 +- .../MIR/AArch64/mir-canon-constant-pool-hash.mir | 1 + .../CodeGen/MIR/AArch64/mir-canon-jump-table.mir | 1 + .../CodeGen/MIR/AArch64/mirCanonCopyCopyProp.mir | 1 + .../CodeGen/MIR/AArch64/mirCanonIdempotent.mir | 1 + llvm/test/CodeGen/MIR/AArch64/mirnamer.mir | 2 +- llvm/test/CodeGen/MIR/AMDGPU/mir-canon-multi.mir | 3 +- .../CodeGen/MIR/AMDGPU/mircanon-memoperands.mir | 3 +- .../MIR/AMDGPU/parse-order-reserved-regs.mir | 1 + llvm/test/CodeGen/MIR/AMDGPU/target-flags.mir | 4 +- .../CodeGen/MIR/Generic/CFPImmMIRCanonHash.mir | 3 +- llvm/test/CodeGen/MIR/X86/mir-canon-hash-bb.mir | 2 + .../CodeGen/MIR/X86/mir-namer-hash-frameindex.mir | 1 + llvm/test/CodeGen/MIR/X86/mircanon-flags.mir | 3 +- llvm/test/CodeGen/PowerPC/aix-base-pointer.ll | 12 +- .../PowerPC/aix-framepointer-save-restore.ll | 27 + .../test/CodeGen/PowerPC/bfloat16-outer-product.ll | 52 + llvm/test/CodeGen/PowerPC/fma-combine.ll | 22 + llvm/test/CodeGen/PowerPC/fp-strict-fcmp-noopt.ll | 140 ++ .../jump-tables-collapse-rotate-remove-SrcMI.mir | 2 +- llvm/test/CodeGen/PowerPC/mi-peephole.mir | 2 +- llvm/test/CodeGen/PowerPC/p10-vector-multiply.ll | 52 + llvm/test/CodeGen/PowerPC/p9-vinsert-vextract.ll | 1989 +++++++++++++++----- .../CodeGen/PowerPC/pcrel-tls-general-dynamic.ll | 8 +- .../test/CodeGen/PowerPC/pcrel-tls-initial-exec.ll | 8 +- llvm/test/CodeGen/PowerPC/pr47373.ll | 180 ++ llvm/test/CodeGen/PowerPC/vsx-args.ll | 1 + llvm/test/CodeGen/Thumb2/mve-pred-loadstore.ll | 286 +++ llvm/test/CodeGen/Thumb2/mve-zext-masked-load.ll | 108 ++ llvm/test/CodeGen/X86/avg.ll | 4 +- llvm/test/CodeGen/X86/avx-trunc.ll | 2 +- .../CodeGen/X86/avx512-intrinsics-fast-isel.ll | 4 +- llvm/test/CodeGen/X86/bitcast-and-setcc-128.ll | 8 +- llvm/test/CodeGen/X86/bitcast-setcc-128.ll | 4 +- llvm/test/CodeGen/X86/buildvec-extract.ll | 7 +- llvm/test/CodeGen/X86/buildvec-insertvec.ll | 11 +- llvm/test/CodeGen/X86/combine-fcopysign.ll | 2 +- llvm/test/CodeGen/X86/combine-shl.ll | 24 +- llvm/test/CodeGen/X86/combine-sse41-intrinsics.ll | 219 ++- llvm/test/CodeGen/X86/haddsub-undef.ll | 2 +- .../CodeGen/X86/insert-into-constant-vector.ll | 16 +- llvm/test/CodeGen/X86/insertelement-shuffle.ll | 4 +- llvm/test/CodeGen/X86/known-signbits-vector.ll | 18 +- llvm/test/CodeGen/X86/load-partial.ll | 81 +- llvm/test/CodeGen/X86/machine-cp-mask-reg.mir | 59 + llvm/test/CodeGen/X86/masked_expandload.ll | 60 +- llvm/test/CodeGen/X86/masked_gather_scatter.ll | 44 +- llvm/test/CodeGen/X86/masked_load.ll | 74 +- llvm/test/CodeGen/X86/masked_store_trunc.ll | 2 +- llvm/test/CodeGen/X86/oddshuffles.ll | 140 +- llvm/test/CodeGen/X86/oddsubvector.ll | 54 +- llvm/test/CodeGen/X86/pmul.ll | 103 +- llvm/test/CodeGen/X86/pmulh.ll | 287 ++- llvm/test/CodeGen/X86/pr29112.ll | 4 +- llvm/test/CodeGen/X86/promote-cmp.ll | 12 +- llvm/test/CodeGen/X86/psubus.ll | 6 +- llvm/test/CodeGen/X86/shrink_vmul.ll | 8 +- llvm/test/CodeGen/X86/shuffle-of-insert.ll | 8 +- .../CodeGen/X86/shuffle-strided-with-offset-128.ll | 22 +- llvm/test/CodeGen/X86/shuffle-vs-trunc-256.ll | 2 +- llvm/test/CodeGen/X86/shuffle-vs-trunc-512.ll | 5 +- llvm/test/CodeGen/X86/srem-seteq-vec-nonsplat.ll | 160 +- llvm/test/CodeGen/X86/stack-guard-memloc-vararg.ll | 17 + llvm/test/CodeGen/X86/test-shrink-bug.ll | 4 +- llvm/test/CodeGen/X86/trunc-subvector.ll | 16 +- llvm/test/CodeGen/X86/udiv_fix.ll | 25 +- llvm/test/CodeGen/X86/udiv_fix_sat.ll | 43 +- llvm/test/CodeGen/X86/urem-seteq-vec-nonsplat.ll | 515 +++-- llvm/test/CodeGen/X86/urem-seteq-vec-nonzero.ll | 12 +- llvm/test/CodeGen/X86/vec_insert-2.ll | 8 +- llvm/test/CodeGen/X86/vec_insert-3.ll | 8 +- llvm/test/CodeGen/X86/vec_insert-5.ll | 8 +- llvm/test/CodeGen/X86/vec_int_to_fp.ll | 10 +- llvm/test/CodeGen/X86/vec_set-6.ll | 2 +- llvm/test/CodeGen/X86/vector-idiv-udiv-256.ll | 4 +- llvm/test/CodeGen/X86/vector-pack-256.ll | 2 +- llvm/test/CodeGen/X86/vector-reduce-and-bool.ll | 2 +- llvm/test/CodeGen/X86/vector-reduce-mul.ll | 126 +- llvm/test/CodeGen/X86/vector-reduce-or-bool.ll | 2 +- llvm/test/CodeGen/X86/vector-reduce-xor-bool.ll | 2 +- llvm/test/CodeGen/X86/vector-shuffle-128-v16.ll | 10 +- llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll | 140 +- llvm/test/CodeGen/X86/vector-shuffle-128-v8.ll | 10 +- llvm/test/CodeGen/X86/vector-shuffle-256-v16.ll | 78 +- llvm/test/CodeGen/X86/vector-shuffle-256-v32.ll | 132 +- llvm/test/CodeGen/X86/vector-shuffle-256-v8.ll | 12 +- llvm/test/CodeGen/X86/vector-shuffle-combining.ll | 62 +- .../CodeGen/X86/vector-shuffle-variable-128.ll | 76 +- llvm/test/CodeGen/X86/vector-trunc-math.ll | 28 +- llvm/test/CodeGen/X86/vector-trunc.ll | 19 +- llvm/test/CodeGen/X86/vector-zext.ll | 2 +- llvm/test/CodeGen/X86/vselect.ll | 2 +- llvm/test/CodeGen/X86/vshift-4.ll | 42 +- llvm/test/DebugInfo/X86/debug-names-end-of-list.ll | 24 + llvm/test/DebugInfo/X86/struct-fwd-decl.ll | 21 + llvm/test/MC/AArch64/seh.s | 31 +- llvm/test/MC/AMDGPU/add-sub-no-carry.s | 4 +- llvm/test/MC/AMDGPU/atomic-fadd-insts.s | 2 +- llvm/test/MC/AMDGPU/buf-fmt-d16-packed.s | 2 +- llvm/test/MC/AMDGPU/buf-fmt-d16-unpacked.s | 4 +- llvm/test/MC/AMDGPU/dl-insts-err.s | 102 +- llvm/test/MC/AMDGPU/dpp-err.s | 28 +- llvm/test/MC/AMDGPU/ds-err.s | 16 +- llvm/test/MC/AMDGPU/ds-gfx9.s | 2 +- llvm/test/MC/AMDGPU/ds.s | 10 +- llvm/test/MC/AMDGPU/exp-err.s | 4 +- llvm/test/MC/AMDGPU/exp-gfx10.s | 4 +- llvm/test/MC/AMDGPU/expressions-gfx10.s | 2 +- llvm/test/MC/AMDGPU/expressions-gfx9.s | 2 +- llvm/test/MC/AMDGPU/expressions.s | 10 +- llvm/test/MC/AMDGPU/flat-gfx10.s | 2 +- llvm/test/MC/AMDGPU/flat-gfx9.s | 4 +- llvm/test/MC/AMDGPU/flat-global.s | 106 +- llvm/test/MC/AMDGPU/flat-scratch-instructions.s | 62 +- llvm/test/MC/AMDGPU/flat-scratch.s | 6 +- llvm/test/MC/AMDGPU/flat.s | 188 +- llvm/test/MC/AMDGPU/fma-mix.s | 34 +- llvm/test/MC/AMDGPU/gfx10-constant-bus.s | 4 +- llvm/test/MC/AMDGPU/gfx1011_err.s | 36 +- llvm/test/MC/AMDGPU/gfx1030_err.s | 96 +- llvm/test/MC/AMDGPU/gfx10_asm_all.s | 4 +- llvm/test/MC/AMDGPU/gfx10_asm_dpp16.s | 4 +- llvm/test/MC/AMDGPU/gfx10_asm_dpp8.s | 4 +- llvm/test/MC/AMDGPU/gfx10_asm_err.s | 14 +- llvm/test/MC/AMDGPU/gfx10_asm_mimg_err.s | 2 +- llvm/test/MC/AMDGPU/gfx8_asm_all.s | 2 +- llvm/test/MC/AMDGPU/gfx9-asm-err.s | 2 +- llvm/test/MC/AMDGPU/gfx9-vop2be-literal.s | 2 +- llvm/test/MC/AMDGPU/gfx9_asm_all.s | 2 +- .../MC/AMDGPU/invalid-instructions-spellcheck.s | 4 - llvm/test/MC/AMDGPU/lds_direct-err.s | 2 +- llvm/test/MC/AMDGPU/lds_direct-gfx10.s | 2 +- llvm/test/MC/AMDGPU/literal16-err.s | 2 +- llvm/test/MC/AMDGPU/literals.s | 101 +- llvm/test/MC/AMDGPU/literalv216-err.s | 7 +- llvm/test/MC/AMDGPU/literalv216.s | 4 +- llvm/test/MC/AMDGPU/mad-mix.s | 36 +- llvm/test/MC/AMDGPU/mai-err.s | 177 +- llvm/test/MC/AMDGPU/mai.s | 2 +- llvm/test/MC/AMDGPU/mimg-err.s | 6 +- llvm/test/MC/AMDGPU/mimg.s | 14 +- llvm/test/MC/AMDGPU/mtbuf-gfx10.s | 2 +- llvm/test/MC/AMDGPU/mtbuf.s | 6 +- llvm/test/MC/AMDGPU/mubuf-gfx9.s | 22 +- llvm/test/MC/AMDGPU/mubuf.s | 6 +- llvm/test/MC/AMDGPU/out-of-range-registers.s | 20 +- llvm/test/MC/AMDGPU/reg-syntax-err.s | 42 +- llvm/test/MC/AMDGPU/reg-syntax-extra.s | 74 +- llvm/test/MC/AMDGPU/regression/bug28538.s | 12 +- llvm/test/MC/AMDGPU/smem-err.s | 2 +- llvm/test/MC/AMDGPU/smem.s | 159 +- llvm/test/MC/AMDGPU/smrd-err.s | 11 +- llvm/test/MC/AMDGPU/smrd.s | 6 +- llvm/test/MC/AMDGPU/sop1-err.s | 6 +- llvm/test/MC/AMDGPU/sop1.s | 86 +- llvm/test/MC/AMDGPU/sop2-err.s | 2 +- llvm/test/MC/AMDGPU/sop2.s | 102 +- llvm/test/MC/AMDGPU/sopc-err.s | 2 +- llvm/test/MC/AMDGPU/sopc.s | 34 +- llvm/test/MC/AMDGPU/sopk-err.s | 67 +- llvm/test/MC/AMDGPU/sopk.s | 8 +- llvm/test/MC/AMDGPU/sopp-err.s | 19 +- llvm/test/MC/AMDGPU/sopp.s | 12 +- llvm/test/MC/AMDGPU/trap.s | 8 +- llvm/test/MC/AMDGPU/vintrp-err.s | 4 +- llvm/test/MC/AMDGPU/vop-err.s | 4 +- llvm/test/MC/AMDGPU/vop1-gfx9-err.s | 6 +- llvm/test/MC/AMDGPU/vop1-gfx9.s | 6 +- llvm/test/MC/AMDGPU/vop1.s | 8 +- llvm/test/MC/AMDGPU/vop2-err.s | 4 +- llvm/test/MC/AMDGPU/vop2.s | 8 +- llvm/test/MC/AMDGPU/vop3-convert.s | 8 +- llvm/test/MC/AMDGPU/vop3-errs.s | 8 +- llvm/test/MC/AMDGPU/vop3-gfx9.s | 281 ++- llvm/test/MC/AMDGPU/vop3-literal.s | 31 +- llvm/test/MC/AMDGPU/vop3-modifiers-err.s | 2 +- llvm/test/MC/AMDGPU/vop3.s | 67 +- llvm/test/MC/AMDGPU/vop3p-err.s | 10 +- llvm/test/MC/AMDGPU/vop_dpp.s | 320 ++-- llvm/test/MC/AMDGPU/vop_sdwa.s | 648 +++---- llvm/test/MC/AMDGPU/vopc-errs.s | 6 +- llvm/test/MC/AMDGPU/vopc-vi.s | 4 +- llvm/test/MC/AMDGPU/wave32.s | 4 +- llvm/test/MC/AMDGPU/xdl-insts-err.s | 4 +- llvm/test/MC/AMDGPU/xnack-mask.s | 10 +- .../Disassembler/PowerPC/ppc64-encoding-ISA31.txt | 6 + llvm/test/MC/PowerPC/ppc64-encoding-ISA31.s | 6 + llvm/test/Other/lint.ll | 1 + llvm/test/ThinLTO/X86/Inputs/import-metadata.ll | 23 + llvm/test/ThinLTO/X86/import-metadata.ll | 40 + .../Attributor/IPConstantProp/PR16052.ll | 4 +- llvm/test/Transforms/Attributor/alwaysinline.ll | 4 +- llvm/test/Transforms/Attributor/noreturn_sync.ll | 2 +- .../Transforms/Attributor/undefined_behavior.ll | 40 +- .../CodeGenPrepare/X86/gather-scatter-opt.ll | 12 +- llvm/test/Transforms/EarlyCSE/commute.ll | 46 + llvm/test/Transforms/GVN/commute.ll | 42 + llvm/test/Transforms/GVN/preserve-memoryssa.ll | 95 + .../GlobalOpt/const-return-status-atomic.ll | 27 + .../Transforms/GlobalOpt/const-return-status.ll | 28 + .../Transforms/IndVarSimplify/monotonic_checks.ll | 169 ++ .../Transforms/IndVarSimplify/predicated_ranges.ll | 24 +- .../InstCombine/commutative-intrinsics.ll | 83 + llvm/test/Transforms/InstCombine/fmul-sqrt.ll | 40 +- .../InstCombine/vscale_extractelement.ll | 22 + .../Transforms/InstSimplify/ConstProp/math-1.ll | 390 ++-- .../test/Transforms/InstSimplify/ConstProp/rint.ll | 218 +-- .../Transforms/InstSimplify/ConstProp/round.ll | 184 +- .../Transforms/InstSimplify/ConstProp/trunc.ll | 210 +-- .../InstSimplify/ConstProp/vscale-getelementptr.ll | 64 +- llvm/test/Transforms/LoopIdiom/disable-options.ll | 167 ++ .../LoopVectorize/PowerPC/interleave_IC.ll | 57 + .../LoopVectorize/X86/svml-calls-finite.ll | 57 + .../Transforms/LoopVectorize/X86/svml-calls.ll | 97 + llvm/test/Transforms/NewGVN/commute.ll | 46 +- llvm/test/Transforms/OpenMP/parallel_deletion.ll | 24 +- llvm/test/Transforms/SCCP/ipsccp-clear-returned.ll | 62 + ...e-dereferenceable-ptr-with-undereferenceable.ll | 86 + .../VectorCombine}/AArch64/lit.local.cfg | 0 .../AArch64/vscale-bitcast-shuffle.ll | 21 + llvm/test/Transforms/VectorCombine/X86/load.ll | 28 +- llvm/test/Verifier/weak-dllimport.ll | 28 + llvm/test/tools/llvm-dwarfdump/debug-line-str.yaml | 32 + llvm/test/tools/llvm-dwarfdump/debug-str.yaml | 59 +- llvm/test/tools/llvm-ml/line_continuations.test | 17 + .../ELF/Inputs/trivial.obj.elf-amdhsa-gfx803 | Bin 2208 -> 0 bytes .../llvm-readobj/ELF/amdgpu-elf-definitions.test | 11 - llvm/test/tools/llvm-readobj/ELF/stack-sizes.test | 181 +- llvm/test/tools/llvm-readobj/archive.test | 6 +- llvm/test/tools/llvm-symbolizer/use-symbol-table.s | 7 + llvm/tools/llvm-ml/llvm-ml.cpp | 1 + llvm/tools/llvm-readobj/ARMEHABIPrinter.h | 7 +- llvm/tools/llvm-readobj/ARMWinEHPrinter.cpp | 53 +- llvm/tools/llvm-readobj/ARMWinEHPrinter.h | 8 + llvm/tools/llvm-readobj/CMakeLists.txt | 1 - llvm/tools/llvm-readobj/COFFDumper.cpp | 7 +- llvm/tools/llvm-readobj/DwarfCFIEHPrinter.h | 1 - llvm/tools/llvm-readobj/ELFDumper.cpp | 1045 +++++----- llvm/tools/llvm-readobj/Error.cpp | 56 - llvm/tools/llvm-readobj/Error.h | 40 - llvm/tools/llvm-readobj/MachODumper.cpp | 1 - llvm/tools/llvm-readobj/ObjDumper.cpp | 1 - llvm/tools/llvm-readobj/WasmDumper.cpp | 1 - llvm/tools/llvm-readobj/Win64EHDumper.cpp | 5 +- llvm/tools/llvm-readobj/WindowsResourceDumper.cpp | 1 - llvm/tools/llvm-readobj/XCOFFDumper.cpp | 1 - llvm/tools/llvm-readobj/llvm-readobj.cpp | 14 +- llvm/tools/llvm-symbolizer/Opts.td | 2 + llvm/unittests/ADT/OptionalTest.cpp | 13 + llvm/unittests/ADT/TripleTest.cpp | 29 + llvm/unittests/Analysis/LoadsTest.cpp | 39 + llvm/unittests/CMakeLists.txt | 1 + llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp | 3 +- llvm/unittests/CodeGen/GlobalISel/CMakeLists.txt | 1 + llvm/unittests/CodeGen/GlobalISel/GISelMITest.h | 2 +- .../unittests/CodeGen/GlobalISel/KnownBitsTest.cpp | 83 + .../unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp | 20 +- llvm/unittests/FileCheck/CMakeLists.txt | 10 + .../{Support => FileCheck}/FileCheckTest.cpp | 6 +- llvm/unittests/ProfileData/SampleProfTest.cpp | 41 +- llvm/unittests/Support/CMakeLists.txt | 1 - llvm/unittests/Support/CommandLineTest.cpp | 66 +- llvm/unittests/Support/FileCollectorTest.cpp | 250 +-- llvm/unittests/Support/FileUtilitiesTest.cpp | 9 +- llvm/unittests/Support/LockFileManagerTest.cpp | 45 +- llvm/unittests/Support/TarWriterTest.cpp | 46 +- llvm/unittests/Support/VirtualFileSystemTest.cpp | 337 ++-- .../llvm-exegesis/Mips/BenchmarkResultTest.cpp | 9 +- .../tools/llvm-exegesis/X86/SnippetFileTest.cpp | 10 +- llvm/utils/FileCheck/CMakeLists.txt | 2 +- llvm/utils/FileCheck/FileCheck.cpp | 2 +- llvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn | 1 + .../gn/secondary/compiler-rt/lib/profile/BUILD.gn | 6 +- llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn | 1 + .../llvm/{utils => lib}/FileCheck/BUILD.gn | 3 +- llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn | 1 - .../gn/secondary/llvm/tools/llvm-readobj/BUILD.gn | 1 - llvm/utils/gn/secondary/llvm/unittests/BUILD.gn | 1 + .../llvm/unittests/CodeGen/GlobalISel/BUILD.gn | 1 + .../gn/secondary/llvm/unittests/FileCheck/BUILD.gn | 10 + .../gn/secondary/llvm/unittests/Support/BUILD.gn | 1 - .../gn/secondary/llvm/utils/FileCheck/BUILD.gn | 5 +- mlir/examples/toy/Ch7/mlir/Dialect.cpp | 2 +- mlir/examples/toy/Ch7/mlir/ToyCombine.cpp | 2 +- mlir/include/mlir/Conversion/Passes.td | 5 +- .../Conversion/VectorToLLVM/ConvertVectorToLLVM.h | 12 +- mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td | 41 +- .../mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 6 +- mlir/include/mlir/Dialect/Quant/QuantOps.td | 2 +- mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td | 5 +- mlir/include/mlir/Dialect/SPIRV/SPIRVGLSLOps.td | 230 +++ mlir/include/mlir/Dialect/SPIRV/SPIRVGroupOps.td | 101 +- mlir/include/mlir/Dialect/SPIRV/TargetAndABI.td | 14 +- mlir/include/mlir/Dialect/StandardOps/IR/Ops.td | 14 - mlir/include/mlir/IR/Builders.h | 14 + mlir/include/mlir/IR/Identifier.h | 3 + mlir/include/mlir/IR/OpBase.td | 78 +- mlir/include/mlir/IR/OperationSupport.h | 15 +- mlir/include/mlir/Pass/PassInstrumentation.h | 10 +- mlir/include/mlir/Pass/PassManager.h | 19 +- mlir/include/mlir/Transforms/BufferPlacement.h | 344 ++-- mlir/lib/Bindings/Python/IRModules.cpp | 117 ++ .../AffineToStandard/AffineToStandard.cpp | 6 +- mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h | 4 +- .../lib/Conversion/LinalgToSPIRV/LinalgToSPIRV.cpp | 3 +- .../Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp | 5 +- .../Conversion/ShapeToStandard/ShapeToStandard.cpp | 1 - .../Conversion/StandardToLLVM/StandardToLLVM.cpp | 16 +- .../VectorToLLVM/ConvertVectorToLLVM.cpp | 185 +- mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp | 32 +- mlir/lib/Dialect/Affine/IR/AffineOps.cpp | 5 +- .../Transforms/AffineLoopInvariantCodeMotion.cpp | 21 +- .../Dialect/Affine/Transforms/SuperVectorize.cpp | 55 +- mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp | 7 +- .../Dialect/Linalg/Transforms/TensorsToBuffers.cpp | 11 +- mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp | 8 +- .../Dialect/Quant/Transforms/ConvertSimQuant.cpp | 11 +- mlir/lib/Dialect/SPIRV/SPIRVOps.cpp | 104 +- mlir/lib/Dialect/StandardOps/IR/Ops.cpp | 2 +- mlir/lib/Dialect/Vector/VectorTransforms.cpp | 20 +- mlir/lib/IR/MLIRContext.cpp | 19 + mlir/lib/IR/Operation.cpp | 9 +- mlir/lib/Parser/Parser.cpp | 4 +- mlir/lib/Pass/Pass.cpp | 109 +- mlir/lib/Pass/PassStatistics.cpp | 2 +- mlir/lib/Pass/PassTiming.cpp | 10 +- mlir/lib/Target/LLVMIR/ModuleTranslation.cpp | 2 +- mlir/lib/Transforms/BufferPlacement.cpp | 220 ++- mlir/test/Bindings/Python/ir_types.py | 58 + mlir/test/Conversion/GPUToSPIRV/if.mlir | 4 +- mlir/test/Conversion/GPUToSPIRV/load-store.mlir | 4 +- mlir/test/Conversion/GPUToSPIRV/loop.mlir | 4 +- .../GPUToSPIRV/module-structure-opencl.mlir | 5 +- .../Conversion/LinalgToSPIRV/linalg-to-spirv.mlir | 24 +- mlir/test/Conversion/StandardToSPIRV/alloc.mlir | 32 +- .../StandardToSPIRV/std-ops-to-spirv.mlir | 50 +- .../StandardToSPIRV/std-types-to-spirv.mlir | 112 +- .../VectorToLLVM/vector-mask-to-llvm.mlir | 48 + .../Conversion/VectorToLLVM/vector-to-llvm.mlir | 18 +- .../Conversion/VectorToSCF/vector-to-loops.mlir | 29 +- .../Affine/SuperVectorize/uniform_divergent.mlir | 60 + .../Affine/SuperVectorize/vectorize_1d.mlir | 19 - .../Affine/affine-loop-invariant-code-motion.mlir | 112 +- mlir/test/Dialect/LLVMIR/invalid.mlir | 7 - mlir/test/Dialect/Linalg/tile_conv.mlir | 2 +- mlir/test/Dialect/Linalg/tile_simple_conv.mlir | 6 +- .../test/Dialect/SPIRV/Serialization/glsl-ops.mlir | 14 + .../Dialect/SPIRV/Serialization/group-ops.mlir | 24 + .../SPIRV/Transforms/abi-interface-opencl.mlir | 5 +- .../Dialect/SPIRV/Transforms/abi-interface.mlir | 4 +- .../Dialect/SPIRV/Transforms/abi-load-store.mlir | 4 +- .../Dialect/SPIRV/Transforms/vce-deduction.mlir | 47 +- mlir/test/Dialect/SPIRV/glslops.mlir | 114 ++ mlir/test/Dialect/SPIRV/group-ops.mlir | 40 + mlir/test/Dialect/SPIRV/target-and-abi.mlir | 9 - mlir/test/Dialect/SPIRV/target-env.mlir | 32 +- .../Dialect/Vector/vector-contract-transforms.mlir | 64 +- ...acement-preparation-allowed-memref-results.mlir | 66 + .../Transforms/buffer-placement-preparation.mlir | 85 + mlir/test/lib/Dialect/Test/TestOps.td | 29 +- mlir/test/lib/Dialect/Test/TestPatterns.cpp | 3 +- mlir/test/lib/Transforms/TestBufferPlacement.cpp | 48 +- mlir/test/mlir-tblgen/op-attribute.td | 8 +- mlir/test/mlir-tblgen/op-decl.td | 4 +- mlir/test/mlir-vulkan-runner/addf.mlir | 4 +- mlir/test/mlir-vulkan-runner/addi.mlir | 4 +- mlir/test/mlir-vulkan-runner/addi8.mlir | 4 +- mlir/test/mlir-vulkan-runner/mulf.mlir | 4 +- mlir/test/mlir-vulkan-runner/subf.mlir | 4 +- mlir/test/mlir-vulkan-runner/time.mlir | 4 +- mlir/tools/mlir-linalg-ods-gen/CMakeLists.txt | 2 +- mlir/tools/mlir-tblgen/StructsGen.cpp | 35 +- .../mlir-vulkan-runner/vulkan-runtime-wrappers.cpp | 71 +- mlir/unittests/Pass/PassManagerTest.cpp | 43 + mlir/unittests/TableGen/StructsGenTest.cpp | 12 +- mlir/unittests/TableGen/structs.td | 4 +- openmp/libomptarget/include/Debug.h | 136 ++ openmp/libomptarget/include/omptarget.h | 39 - openmp/libomptarget/plugins/amdgpu/src/rtl.cpp | 23 +- openmp/libomptarget/plugins/common/elf_common.c | 6 +- openmp/libomptarget/plugins/cuda/src/rtl.cpp | 36 +- .../plugins/generic-elf-64bit/src/rtl.cpp | 22 +- openmp/libomptarget/plugins/ve/src/rtl.cpp | 24 +- openmp/libomptarget/src/api.cpp | 2 - openmp/libomptarget/src/interface.cpp | 4 +- openmp/libomptarget/src/omptarget.cpp | 7 - openmp/libomptarget/src/private.h | 63 +- openmp/libomptarget/src/rtl.cpp | 10 - 894 files changed, 23093 insertions(+), 13426 deletions(-) create mode 100644 clang/lib/Driver/ToolChains/ZOS.cpp create mode 100644 clang/lib/Driver/ToolChains/ZOS.h create mode 100644 clang/test/Analysis/std-c-library-functions-POSIX-lookup.c create mode 100644 clang/test/CodeGenCXX/visibility-inlines-hidden-static-local-var.cpp create mode 100644 clang/test/CodeGenObjC/attr-used-on-method.m create mode 100644 compiler-rt/lib/builtins/fp_div_impl.inc create mode 100644 compiler-rt/test/fuzzer/EntropicScalePerExecTimeTest.cpp create mode 100644 compiler-rt/test/fuzzer/KeepSeedTest.cpp create mode 100644 compiler-rt/test/fuzzer/cross_over_uniform_dist.test create mode 100644 compiler-rt/test/fuzzer/entropic-scale-per-exec-time.test create mode 100644 compiler-rt/test/fuzzer/keep-seed.test create mode 100644 flang/test/Preprocessing/compiler_defined_macros.F90 create mode 100644 flang/tools/f18/f18_version.h.in create mode 100644 libc/src/math/remainder.cpp create mode 100644 libc/src/math/remainder.h create mode 100644 libc/src/math/remainderf.cpp create mode 100644 libc/src/math/remainderf.h create mode 100644 libc/src/math/remainderl.cpp create mode 100644 libc/src/math/remainderl.h create mode 100644 libc/src/math/remquo.cpp create mode 100644 libc/src/math/remquo.h create mode 100644 libc/src/math/remquof.cpp create mode 100644 libc/src/math/remquof.h create mode 100644 libc/src/math/remquol.cpp create mode 100644 libc/src/math/remquol.h create mode 100644 libc/test/src/math/remquo_test.cpp create mode 100644 libc/test/src/math/remquof_test.cpp create mode 100644 libc/test/src/math/remquol_test.cpp create mode 100644 libc/utils/FPUtil/DivisionAndRemainderOperations.h create mode 100644 libcxx/test/libcxx/language.support/timespec_get.xopen.compile. [...] create mode 100644 libcxx/test/libcxx/libcpp_freestanding.sh.cpp rename lldb/source/{Interpreter => Commands}/CommandObjectRegexCommand.cpp (96%) rename lldb/{include/lldb/Interpreter => source/Commands}/CommandObjectRegexComman [...] rename lldb/source/{Interpreter => Commands}/CommandObjectScript.cpp (100%) rename lldb/source/{Interpreter => Commands}/CommandObjectScript.h (100%) create mode 100644 lldb/test/API/assert_messages_test/TestAssertMessages.py create mode 100644 lldb/test/API/commands/platform/basic/Makefile create mode 100644 lldb/test/API/commands/platform/basic/myshell.c create mode 100644 lldb/test/Shell/Process/Inputs/abort.c create mode 100644 lldb/test/Shell/Process/TestAbortExitCode.test create mode 100644 llvm/include/llvm/CodeGen/MachineStableHash.h create mode 100644 llvm/include/llvm/CodeGen/StableHashing.h rename llvm/include/llvm/{Support => FileCheck}/FileCheck.h (97%) create mode 100644 llvm/lib/CodeGen/MachineStableHash.cpp create mode 100644 llvm/lib/FileCheck/CMakeLists.txt rename llvm/lib/{Support => FileCheck}/FileCheck.cpp (99%) rename llvm/lib/{Support => FileCheck}/FileCheckImpl.h (99%) create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/combine-ext.mir create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-inver [...] create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/select-brcond-of-not.mir create mode 100644 llvm/test/CodeGen/AArch64/unwind-preserved-from-mir.mir create mode 100644 llvm/test/CodeGen/AArch64/unwind-preserved.ll delete mode 100644 llvm/test/CodeGen/AMDGPU/branch-relaxation-debug-info.ll create mode 100644 llvm/test/CodeGen/AMDGPU/branch-relaxation-debug-info.mir create mode 100644 llvm/test/CodeGen/AMDGPU/extra-sroa-after-unroll.ll create mode 100644 llvm/test/CodeGen/PowerPC/aix-framepointer-save-restore.ll create mode 100644 llvm/test/CodeGen/PowerPC/bfloat16-outer-product.ll create mode 100644 llvm/test/CodeGen/PowerPC/fp-strict-fcmp-noopt.ll create mode 100644 llvm/test/CodeGen/PowerPC/pr47373.ll create mode 100644 llvm/test/CodeGen/Thumb2/mve-zext-masked-load.ll create mode 100644 llvm/test/CodeGen/X86/machine-cp-mask-reg.mir create mode 100644 llvm/test/CodeGen/X86/stack-guard-memloc-vararg.ll create mode 100644 llvm/test/DebugInfo/X86/debug-names-end-of-list.ll create mode 100644 llvm/test/DebugInfo/X86/struct-fwd-decl.ll create mode 100644 llvm/test/ThinLTO/X86/Inputs/import-metadata.ll create mode 100644 llvm/test/ThinLTO/X86/import-metadata.ll create mode 100644 llvm/test/Transforms/GVN/preserve-memoryssa.ll create mode 100644 llvm/test/Transforms/GlobalOpt/const-return-status-atomic.ll create mode 100644 llvm/test/Transforms/GlobalOpt/const-return-status.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/monotonic_checks.ll create mode 100644 llvm/test/Transforms/InstCombine/commutative-intrinsics.ll create mode 100644 llvm/test/Transforms/LoopIdiom/disable-options.ll create mode 100644 llvm/test/Transforms/LoopVectorize/PowerPC/interleave_IC.ll create mode 100644 llvm/test/Transforms/SCCP/ipsccp-clear-returned.ll create mode 100644 llvm/test/Transforms/SCCP/replace-dereferenceable-ptr-with-unde [...] copy llvm/test/{Analysis/CostModel => Transforms/VectorCombine}/AArch64/lit.local. [...] create mode 100644 llvm/test/Transforms/VectorCombine/AArch64/vscale-bitcast-shuffle.ll create mode 100644 llvm/test/Verifier/weak-dllimport.ll create mode 100644 llvm/test/tools/llvm-dwarfdump/debug-line-str.yaml create mode 100644 llvm/test/tools/llvm-ml/line_continuations.test delete mode 100644 llvm/test/tools/llvm-readobj/ELF/Inputs/trivial.obj.elf-amdhsa-gfx803 delete mode 100644 llvm/test/tools/llvm-readobj/ELF/amdgpu-elf-definitions.test create mode 100644 llvm/test/tools/llvm-symbolizer/use-symbol-table.s delete mode 100644 llvm/tools/llvm-readobj/Error.cpp delete mode 100644 llvm/tools/llvm-readobj/Error.h create mode 100644 llvm/unittests/FileCheck/CMakeLists.txt rename llvm/unittests/{Support => FileCheck}/FileCheckTest.cpp (99%) copy llvm/utils/gn/secondary/llvm/{utils => lib}/FileCheck/BUILD.gn (52%) create mode 100644 llvm/utils/gn/secondary/llvm/unittests/FileCheck/BUILD.gn create mode 100644 mlir/test/Conversion/VectorToLLVM/vector-mask-to-llvm.mlir create mode 100644 mlir/test/Dialect/Affine/SuperVectorize/uniform_divergent.mlir create mode 100644 openmp/libomptarget/include/Debug.h