Skip to content

Commit b3732c6

Browse files
authored
Upstream merge Sprint 54 with Navi3x fixes (#1891)
* Squashed 'external/llvm-project/' changes from 3332d18c2507..997363823fcc 997363823fcc [Clang][OpenMP][Fix] Process debug info for reduction - fix SWDEV-535727 (#2618) 2d45b35c0118 [NFC] Fix stale hyperlinks after GitHub organization and repo movement (#2569) c2b79ef22342 merge main into amd-staging (#2661) 02bf4c0ff70b merge main into amd-staging (#2658) c7acac65967d [Clang][OpenMP] Process debug info for reduction - fix SWDEV-535727 2e85f5ec7a18 Revert "[OMPIRBuilder] - Make offloading input data persist for deferred target tasks (#133499)" 3d220a7ae5b1 merge main into amd-staging b99ae4096ef8 Revert part of d257e57. (#2654) 205cb3626a05 Revert "[RISCV] Remove B and Zbc extension from Andes series cpus." (#144402) 90d0837bd331 merge main into amd-staging 47cf464183f4 merge main into amd-staging (#2647) 73f35973c602 Revert part of d257e57. 404597061f97 [OMPIRBuilder] - Make offloading input data persist for deferred target tasks (#133499) 6f1b5ed7e127 [X86] LowerCONCAT_VECTORS - pull out repeated SDLoc(). NFC. f0373295e823 [clang][Parser] Fix crash on malformed using declaration in constexpr function (#144286) 38fa7533fbac Fix diagnostic documentation build errors 4692f0d3448e Revert "[AMDGPU] Extended vector promotion to aggregate types." (#144366) f2734aa25e80 [InstCombine] fold icmp with add/sub instructions having the same operands (#143241) 7c25db3fbfc6 [DAG] Fold (and X, (add (not Y), Z)) -> (and X, (not (sub Y, Z))). (#141476) 8e333e3cedec [mlir] Expose linearize/delinearize lowering transforms (#144156) 595a273d9232 [mlir][emitc] Support 'emitc::LValueType' in 'emitc::VerbatimOp' (#144151) 42e336fe1f75 Regen Transforms/LoopVectorize/AMDGPU/assert-vplan-cost-model.ll 39ad3151e073 [TableGen] Use default member initializers. NFC. (#144349) a54712c8ec25 [LSR] Make canHoistIVInc allow non-integer types (#143707) d57b86701a7b Revert "AArch64: Move AArch64MCExpr functions to AArch64MCAsmInfo" 329dfa16564d [X86] fixup-blend.ll - add commuted load test coverage 01f9dff61fb0 [Flang] Add llvm-profdata to list of tools to be built (#144325) 4f7b5e6d8327 Fix a tablegen pattern that results in a warning; NFC ddea4fe85a01 Fix some "not all control paths return" warnings; NFC e00853859e89 [MLIR][Transform] apply_registered_pass: support ListOptions (#144026) 5922bdc9c226 merge main into amd-staging 299a55a88fae [InstCombine][Docs] Update InstCombine contributor guide (#144228) 3824a2dbcefe [MemoryBuiltins] Support allocas in getInitialValueOfAllocation (NFC) b2bf017acd03 [X86] X86FixupInstTuning - prefer VPBLENDD to VPBLENDW shuffles on AVX2+ targets (#144269) eddab9b75772 [clang] Fix PointerAuth semantics of cpp_trivially_relocatable (#143969) 79a2b15a4c2d [libc++] Remove a few workarounds for old Clang versions (#143858) fde89debc703 merge main into amd-staging (#2644) a75e0627f97c [LV] Use vscale for tuning when updating profile information (#143690) 3dd61c187644 [LV] Fix MVE regression from #132190 (#141736) f12dd8f86a29 [ValueTracking] Remove unused variable in matchSimpleRecurrence (NFC). (#144316) 383b3268794d [llvm-debuginfo-analyzer] Fix ODR violation in llvm::logicalview::LVObject (#140265) 0952992ac6e1 [BOLT] Fix LLVM_APPEND_VC_REV support (#142410) 08cb72ca71a7 [NFC] Fix stale hyperlinks after GitHub organization and repo movement cca454b54c7d [ValueTracking] Remove opcode whitelist from matchSimpleRecurrence. (#144031) fbade95ebf2b [LV] Strip unnecessary make_{pair,optional} (NFC) (#141924) e61405033bba [clang] Fix -fclang-abi-compat for clang 20 (#144109) 4e0dd007ac6a [InstCombine] Combine trunc (lshr X, BW-1) to i1 --> icmp slt X, 0 (#142593) (#143846) ee2d7a6975f3 MIPS: Remove unneeded printImpl 0bb4d9c30207 ARM: Migrate to the new relocation specifier representation 9fcd14d9b013 [MLIR][ODS] Optionally generate public C++ functions for attribute constraints (#144275) 222ab28a9240 [aarch64] Fix Arm64EC libcall lowering after recent refactoring. (#143977) 7d9a451d8753 [RISCV] Change input register type for QC_SWM and QC_SWMI (#144294) f875efe1d82d [RISCV] Use `GetVTypeMinimalPredicates` instead of `GetVTypePredicates` for vrgatherei16/vslideup/vslidedown. NFC. 7efc861ec45e [AArch64][GlobalISel] Add test coverage for fdiv-combine.ll. NFC f3021e79fd5a ARM: Rename ARMMCExpr::VK_ to ARM::S_ 4f9e6bad8438 [clang][bytecode] Fix calling operator new with nothrow/align parameter (#144271) ab8f3deebe1d merge main into amd-staging 7e4c488aef7c merge main into amd-staging (#2643) 4ea616d072d1 AArch64: Move AArch64MCExpr functions to AArch64MCAsmInfo 945b12f6c823 [gn build] Port 05a9ad977624 05a9ad977624 Lanai: Migrate to the new relocation specifier representation f8e0518120cd MC: Adjust -show-inst output for MCExpr 29fcad000ca6 AVR: Replace deprecated MCExpr::print with MCAsmInfo::printExpr e2afda6fc95e [RISCV] Fix incorrect predicates for fp16 permutation intrinsics (#144063) cab09e76e0c4 [InstCombine] Propagate FMF from fptrunc when folding `fptrunc fabs(X) -> fabs(fptrunc X)` (#143352) c01532177ff6 [clang] Remove unused includes (NFC) (#144285) 7a4a83b551ea [TableGen] Use range-based for loops (NFC) (#144283) f71fb2dc01e1 [clang] Use StringRef in range-based for loops (NFC) (#144242) 9adde28df784 [LLD][ELF][RISCV][Zicfilp][Zicfiss] Support `-z zicfilp=` and `-z zicfiss=` to force enable/disable features (#143114) e1d5ab231c4f merge main into amd-staging 167223f8c2c2 [gn build] Port b591f6dad407 b591f6dad407 SystemZ: Migrate to newer relocation specifier representation d64ee2cd4fe4 [RISCV] Add GetVTypeMinimalPredicates for the operation supported by zvfhmin. NFC. (#143847) cf679e66fade SystemZ: Rename SystemZMCExpr::VK_ to SystemZ::S_ 993c158a30b9 MIPS: Reduce MipsMCExpr uses ba7369c49c6f WebAssembly: Move runtime libcall setting out of TargetLowering (#142624) f23b841f0fa7 MIPS: Move MipsMCExpr functions to MipsMCAsmInfo 1506ba95d7c3 [clang-format][NFC] Clean up DisallowLineBreaks lambda (#144255) ad94f77a6a0c [AVR] Add many new AVR MCU model definitions (#144229) d793168e3b1a MIPS: Rename MipsMCExpr::MEK_ to Mips::S_ c9d511bc642f Replace deprecated MCExpr::print with MCAsmInfo::printExpr 22ad0359f900 NVPTX: Replace deprecated MCExpr::print with MCAsmInfo::printExpr 178fac3d61aa Hexagon: Replace deprecated MCExpr::print with MCAsmInfo::printExpr dca2b261d77a Lanai: Replace deprecated MCExpr::print with MCAsmInfo::printExpr a7e5de472314 SystemZ: Replace deprecated MCExpr::print with MCAsmInfo::printExpr dcb8cd8ecdd7 ARM: Replace deprecated MCExpr::print with MCAsmInfo::printExpr 0894094efdfb X86: Replace deprecated MCExpr::print with MCAsmInfo::printExpr 95acd6199f37 AMDGPU: Replace deprecated MCExpr::print with MCAsmInfo::printExpr 81d8c89da056 M68k: Replace deprecated MCExpr::print with MCAsmInfo::printExpr 9a87c9462286 MIPS: Replace MCExpr::print with MCAsmInfo::printExpr 489dcc9e5233 AArch64: Replace MCExpr::print with MCAsmInfo::printExpr f11dd116e0aa RISCV: Replace RISCVMCExpr with MCSpecifierExpr 51b63bbee56c RISCV: Replace MCExpr::print with MCAsmInfo::printExpr fedf6c68ddfb RISCV: Move RISCVMCExpr functions to RISCVMCAsmInfo or RISCVMCAsmBackend 4635b6076dc1 RISCV: Rename RISCVMCExpr::VK_ to RISCV::S_ e3025c95090f RISCV: Rename RISCVMCExpr::VK_ to RISCV::S_ e448c3e5fc2a LoongArch: Migrate to MCAsmInfo::printExpr 34c85ed2bc1a [clang-reorder-fields] Use expanded location for macros (#142147) f4a63523b886 PowerPC: Migrate to newer relocation specifier representation 7c6635b08be8 merge main into amd-staging (#2642) 790df93298b3 [VPlan] Mark VPFirstOrderRecurrencePHI as not reading/writing memory. 087a6ac420ad [LV] Add users to some first-order recurrence tests. a8d76acdd88b PowerPC: Replace MCExpr::print with MCAsmInfo::printExpr b839632bf44f PowerPC: Rename PPCMCExpr::VK_ to PPC::S_ 444c6ae530e4 M68k: Remove M68kMCExpr 5cf138a68744 M68k: Replace M68kMCExpr::VK_ to M68k::S_ d3e9e2d433a6 [Clang] Fix typo in is_replaceable diagnostic (#144247) 7c22612b2948 SPARC: Remove dead specifier code from asm operand printer cf9665dd2bce Xtensa: Migrate to newer relocation specifier representation 490d7bb89a02 Xtensa: Remove unneeded XtensaMCExpr::create calls 97ef8bc5897e merge main into amd-staging 72de33a40638 MC: Add MCAsmInfo::evaluateAsRelocatableImpl and replace VEMCExpr with MCSpecifierExpr 254a92d49a4c MC: Add MCSpecifierExpr::create df54a2d9357f [VPlan] Only skip induction phis in planContainsAdditionalSimps (NFC). b16d43a87474 VE: Rename VEMCExpr::VK_ to VE::S_ 8f5c338b89a2 [Sema] Use a range-based for loop (NFC) (#144252) d78eec864c60 [lld] Use range-based for loops (NFC) (#144251) fef5df9d8437 [TableGen] Use range-based for loops (NFC) (#144250) 2669664605d0 [modularize] Use range-based for loops (NFC) (#144244) 886174a83520 [X86] shuffle-blend.ll - regenerate test checks 567647888ea3 [clang][bytecode] Avoid revisiting decomposition decl in visitDeclRef (#144226) b983431c281a [rtsan] Fix issue when intercepted function was not execve in test (#144018) 147a4c7743c4 [rtsan] Fix issue where close test would lead to crash (#144017) 2dde2343ee49 merge main into amd-staging (#2641) 6aa19efef47a merge main into amd-staging 89f692a24f6a [GlobalISel] Split Legalizer debug ouput into paragraphs. NFC (#143427) 48e54f3a2250 [CostModel] Mark all TTIImpls as final. NFC (#143404) 30a41a642358 [ValueTracking] Add subtraction support for setLimitsForBinOp (#143618) 149cb5c43c3a [ValueTracking] Infer `X | Y != 0` from `X != Y` (#117443) 9e1679263924 [mlir][bzl] Add CAPIIndex rule. (#144248) 84ff1bda2977 [RISCV] Use StringRef in a range-based for loop (NFC) (#144243) c4ba734993ac [mlir] Compare std::optional<T> to values directly (NFC) (#144241) f053c8b93d4c merge main into amd-staging (#2640) a0c00ccd5ff1 [libc++] P2944R3: Constrained comparisons - update `reference_wrapper` implementation (#139368) 24c8d900c47e [RISCV] Remove B and Zbc extension from Andes series cpus. (#144022) f039723bcf36 merge main into amd-staging 4ed10db85919 [clang][cmake] Don't pass -fno-strict-aliasing for GCC 951ea8b68145 [mlir][nvvm][NFC] Fix typo in TargetAttr (#144159) f45394e1fb91 merge main into amd-staging (#2639) 0ff95c9eb1e3 [Clang] add fix-it hints for unknown attributes (#141305) 6fcf21bf521f merge main into amd-staging db682a721aab [utils] Add "aarch64-apple-macosx" triple to update_llc_test_checks.py (#144023) d6e25c4d21eb [SelectionDAG] Take passthru into account when widening ISD::MLOAD (#144170) 577199f9221e Reapply "[VPlan] Set branch weight metadata on middle term in VPlan (NFC) (#143035)" 72f99b75afc1 [LV] Add test case with branch weights. 62d8e001dac4 Revert "[AVR] Add support for many new AVR MCUs (#143914)" 10bc17fc3676 [AVR] Add support for many new AVR MCUs (#143914) ff295d2f3429 [OpenMP][clang] declare mapper: fix handling of nested types (#143504) 42595d34bda7 [llvm] [cmake] Use pkg-config to obtain libffi search hints (#144221) 94f87be27fca merge main into amd-staging (#2637) 2cb32e29408a [Clang] Fix fix-it hint regression from #143460 (#144069) 646406678719 [CIR] Upstream CreateOp for ComplexType with folder (#143192) 292a19fedeee merge main into amd-staging 1bc0b08e1978 CMake: Fix LLVM_ENABLE_DEBUGLOC_COVERAGE_TRACKING to be 1 or 0. 732ebf803b80 [VPlan] Address post-commit comments for f68848015f62. 892513e51864 [clang] fix infinite recursion (#143244) b448a9ade4dd merge main into amd-staging (#2636) f46c44dbc0d2 [clang-tidy][NFC] change patterns 'anyOf(..., anything())' to 'optionally(...)' (#143558) 2e7fbb94bc26 [clang-format] Fix a bug in annotating braces (#144095) 5ab30d28c138 merge main into amd-staging (#2635) 2796c412499a [MSan] Fix minor issues in testcases (#144073) 07fa6d1d90c7 [InstCombine] Avoid folding `select(umin(X, Y), X)` with min/max values in false arm (#143020) 0bd614a8ee11 [Cygwin] Don't use version script for Cygwin target (#143133) 35e3c5073187 [RISCV] Simplify macros used for commuting vector multiply-accumulate instructions. NFC (#144169) ef265ed23038 [RISCV] Simplify macros used by RISCVInstrInfo::convertToThreeAddress. NFC (#144173) 709ba084c563 [RISCV] Use RISCVII::getVecPolicyOpNum instead of making assumptions. NFC (#144175) a60a20301087 Revert "[AMDGPU] Extended vector promotion to aggregate types. (#143784)" 74c2d37ec08e merge main into amd-staging bc10b668bef0 merge main into amd-staging dad483094f85 merge main into amd-staging (#2629) d4c7d0be1f52 MCObjectStreamer: Replace getAssemblerPtr with getAssembler 2aeb68be4fc6 [clang] [OpenMP] Added support for Xteam reduction for std::min/max. (#2621) e37707b1e85c [RISCV] Use unsigned instead of uint16_t for the Opcode argument to getVectorLowDemandedScalarBits. NFC 6890f01f26fd merge main into amd-staging bd319d9071fb [Cygwin] CYGWIN is not WIN32 in current CMake (#143130) 3ec436e50203 mark 3 flang allocate tests as requires , AFAR breakage (#2625) 15f100d14458 [bazel] fix mlir/tblgen.bzl formatting after 6e988bd33f5fa8a529ef9208d3e147945b7bb7ed 417ab37d85ad [ConstantFolding] Fold deinterleave2 of any splat vector not just zeroinitializer (#144144) 7f69cd578de8 [clang-doc] remove default label on some switches (#143919) 7d80b7a2e3d6 mark 3 flang allocate tests as requires , AFAR breakage 3d3ba87a5f89 Manual update of LLVM_MAIN_REVISION to 540910 (#2623) d7e64d9594d2 [MSAN] handle assorted AVX permutations (#143462) 30deb4648a37 [flang][OpenMP] Update atomic tests (#2620) ca38027c0365 Revert "Turn LIBC_COPT_STRING_UNSAFE_WIDE_READ on by default" (#144167) a591bd222b2e Turn LIBC_COPT_STRING_UNSAFE_WIDE_READ on by default (#144163) 2c440232e261 [bazel][libc] Add missing deps after 51689c9df2fbb81aab1ff802f3efb86cac926853 9931051f9cd9 Manual update of LLVM_MAIN_REVISION to 540910 473dea9b0b86 [libc] Output all headers with LIBC_CONF_OUTPUT_ALL_HEADERS (#144114) 3afc2be1f0a4 llvm-lto2: Add print-guid subcommand. 8229628cf181 [Clang] Relax DICompileUnit producer check in debug-info-coff.cpp test (NFC) 10f5634fd76e Unxfail tests aa17d2e5d466 [flang][OpenMP] Update atomic tests 9b692d024eed [clang] [OpenMP] Added support for Xteam reduction for std::min/max. 5ab285e0a60a [LLD][COFF] Fix ARM64X CHPE exception data size relocation when no x86 .pdata is present (#144085) f62a8ab9304f [CIR] Extend VecShuffleOp verifier to catch invalid index (#143262) be5c96bfac32 [CodeGen][COFF] Always emit CodeView compiler info on Windows targets (#142970) 60d000496b54 [Cygwin] Define LLVM_ABI for Cygwin (#143222) 5e289efb0323 merge main into amd-staging (#2615) 52a6492136ef [bazel] Add missing errno deps one more time a89df72ec086 WholeProgramDevirt: Fix importing in llvm.type.checked.load case. 5064a5bc3e95 [IR] Remove a redundant control flow statement (NFC) (#144100) 2a805589f56b [SPIRV] Use llvm::all_of (NFC) (#144099) 6d0cfc2ca51e [Vectorize] Use llvm::drop_begin (NFC) (#144098) 938e91e4fe10 [memprof] Use testing::IsEmpty (NFC) (#144096) c42912b8c96f Fix string_length function so that it always returns. (#144148) 1ded2c599fd2 [LV] Use createIterationCountCheck during epilogue skeleton creation. f5df231d8cae [LV] Fix test line and regen an autogen test 65eaed7d5a08 [CIR] Handle character literal values (#144141) b7cb34840cd1 [CIR] Enable floating point casts (#144142) acc58ac8bf79 [bazel] Add missing dep for 52d34865b9db3485c (#144147) f952af30fd2e [clang][docs][RISCV] Prepend the HelpText for -mrvv-vector-bits into the DocBrief. (#144128) 83f215b03502 Reland "[llvm-cov] Add support for baseline coverage" (#144130) 90d98a38b273 Revert "[Clang] Added explanation why `is_constructible` evaluated to false. " (#144127) 2f1e6eb6c3e7 [BPF] Report an warning if certain insn imm operand cannot fit in 32bit (#142989) a08de429e4ae [gn] port cc365331af42 79e06bf1ae99 [AMDGPU] Extended vector promotion to aggregate types. (#143784) 24bbc820701b [CIR] Support for static variables (#143980) f68848015f62 [VPlan] Manage Sentinel value for FindLastIV in VPlan. (#142291) 59388fb0b92d [InstCombine] Preserve NSW/NUW flags when folding const BOp with min/max (#143471) f6bf3bd5e001 [bazel] Fix XeGpu deps for 5578bcbcfd25c (#144133) 52d34865b9db Fix and reapply IR PGO support for Flang (#142892) f82cf7442029 [mlir][tensor] Fix `getReassociationForCollapse` for tensor/scalar re… (#144118) 0c7ce6883a04 Revert "[mlir][vector] Fix for WarpOpScfForOp failure when scf.for has results that are unused." (#144124) 452276ecc0f5 [libc] Fix missing errno include in fuzzer (#144132) 608875f85e95 merge main into amd-staging 572b8ea1038c Revert "Revert "[flang][OpenMP] Overhaul implementation of ATOMIC construct (#137852)"" 92a116c4ef82 Revert "Fix/reapply "[libc] Migrate stdio tests to ErrnoCheckingTest."" (#144129) 9d49b82de077 [clang-scan-deps] Implement P2223R2 for DependencyDirectiveScanner.cpp (#143950) 09c54c2e9e04 [IR2Vec] Minor vocab changes and exposing weights (#143200) ecdb549e6de6 [TableGen] Avoid evaluating RHS of a BinOp until short-circuit is complete (#144021) d1bb1b1c5c96 merge main into amd-staging (#2611) 5578bcbcfd25 [mlir][xegpu] add support for structure control flow ops in workgroup to subgroup distribution (#142618) 51689c9df2fb [libc][NFC] clean internal fd handling (#143991) ec330cf67017 [bazel] Update llvm-config.h and disable DebugLoc tracking (#144125) 62eea86424c4 [CIR] Update isSized with upstreamed types (#143960) 9a3082276d21 [CIR][NFC] Fix forrange.cpp test (#144123) fd432151a607 [libc] Fix bugs found when testing with all headers (#144049) 493c1612d6f8 [SPIRV] Fix ExecutionMode_fragment.ll test (#144116) c609112a5383 Fix/reapply "[libc] Migrate stdio tests to ErrnoCheckingTest." (#143972) b81d5e06c7cb [InstCombine] Fold shuffles through all trivially vectorizable intrinsics (#141979) 1072196c2737 [tosa] Add duplicate indices check for Scatter (#143736) 9e23e85d6597 [LLD][Cygwin] Implement --dll-search-prefix (#143263) 65d88d31ea27 Revert "[llvm-cov] Add support for baseline coverage" (#144121) 2704b27a0b45 [lldb] Include unistd.h for _exit in multi-process-driver.cpp 6e988bd33f5f [mlir] Forward **kwargs through gentbl_shard_rule (#144001) c403cf1e38fa VE: Replace VEMCExpr::printImpl with printSpecifierExpr b184672ec7f1 [libc] Implemented wmemmove (#142245) 3bf1e1f79ce5 [mlir][spirv] Add definition of OpImageRead (#144038) 36c710c40e8a [CIR] Change default assumption about allowing builtins (#144004) 3b09a3d5ae41 MC,SPARC: Replace SparcMCExpr with MCSpecifierExpr 68b6f392ed44 [MLIR][AMDGPU] Fix bug in GatherToLDSOpLowering, get the correct MemRefType for destination (#142915) bd33eef7f101 [HLSL][SPIRV] Use resource names (#143412) dec576514cb7 [X86] X86FixupInstTuning - add dbg message for each instruction replacement (#144083) d688df52ba90 [instsimplify] Add tests for missing vp.reverse simplifications 18b67a7a102c MC: Add MCAsmInfo::printExpr to replace MCExpr::print dc9e300f12f3 [llvm-cov] Add support for baseline coverage (#117910) ca5040990ed1 [clangd] Collect references in array designators (#140356) ec21b0fc9f64 [X86] Add X86FixupInstTuning test coverage for (V)BLENDPD/S <-> (V)MOVSD/S patterns for various scheduler models eba63cd76f7b [flang][OpenMP] Improve handling of REQUIRES ATOMIC_DEFAULT_MEM_ORDER (#143917) 3ea45a65edb2 [AArch64] Add fixed-length SVE USDOT support (#143730) 6751b3a549eb Revert "[lit] cleanup unused imports" (#144054) bcfbba12e675 [llvm] Compare std::optional<T> to values directly (NFC) (#143913) 9e622986526a [mlir][spirv] Fix FuncOpVectorUnroll to process placeholder values in all blocks (#142339) ebd7f7539b1c [KeyInstr][NFC] Fix incorrect atomGroup/rank uint size in computeKeyInstructions cf6ae065a042 [OpenMP] Remove declaration and usage of __AMDGCN_WAVEFRONT_SIZE (#143761) 9670e09d0eac Enable unique-object-duplication warning for windows (#143537) 82911f188be7 [lldb][test] Skip ReadAfterClose JSON Transport tests on Windows c3499e120f5f update sgprTotal lit : llvm/test/CodeGen/AMDGPU/uncalled-local-functions.ll e6a357965319 [Offload] Replace device info queue with a tree (#144050) 0a0960dac69f [mlir][spirv] Add bfloat16 support (#141458) 8b11de706813 [AMDGPU][SDAG] Initial support for ISD::PTRADD (#141725) a361a3dc7a12 [llvm][InstCombine] Fold select to cmp for weak and inverted inequalities (#143445) 6f999a5d99e5 [x86] vector-pcmp.ll - regenerate VPTERNLOGD asm comment c3ec9e3f6553 [lldb][DWARF] Don't try to compute address range information of forward declarations (#144059) ea73fc5f079d [PowerPC] fixed mtvsrbmi.ll test case error caused by run the update_llc_test_checks.py (#144075) 7e0bb2b0b9f6 [flang][fir] Extend locality specs lowering to support `init` and `dealloc` regions (#144027) 9c2e0bd59ce0 [PowerPC][NFC] Pre-commit test case for checking whether `mtvsrbmi` power10 instruction not used (#143956) 6ca31ad720ba [flang][OpenMP] improve semantic check for invalid goto (#144040) 4a47634a0075 [flang][OpenMP] Support substrings and complex part refs for DEPEND (#143907) 85a9f2e14859 [PowerPC] enable AtomicExpandImpl::expandAtomicCmpXchg for powerpc (#142395) a59e4acd7530 [RISCV] Lower SELECT's with one constant more efficiently using Zicond (#143581) 4f8187c0dc6e [TSan] Regenerate test checks (NFC) d7ddd461162c [X86] Add start/end debug messages for the X86CompressEVEXPass and X86PadShortFunctionPass (#144056) 9a237f35ef58 [AMDGPU][AsmParser] Support true16 register suffix for valid register range (#143997) fbea0fc5c777 Add Macro for CSSC Feature (#143148) cc365331af42 [DLCov] Origin-Tracking: Add config options (#143590) f1036d844e4b [X86] X86InstrInfo::commuteInstructionImpl - remove (V)BLENDPD/S commutation to (V)MOVSD/S optsize handling (#144051) 41b37f05554a [lldb] CommandObjectMemoryFind: Improve expression evaluation error messages (#144036) 4236423ee863 [LLDB] Add bit extraction to DIL (#141422) 30725efe671b Fix build after removing delayed typo expression ad27f9377436 merge main into amd-staging be9994b09206 [SystemZ][z/OS] Refactor AutoConvert more (#143955) a5cbd2ab0beb Revert "[AMDGPU] Skip register uses in AMDGPUResourceUsageAnalysis (#… (#144039) 9eef4d1c5fa6 Remove delayed typo expressions (#143423) 541e5118ce57 [LV] Use getFixedValue instead of getKnownMinValue when appropriate (#143526) 2019553a0b88 [InstCombine] Extract EmitGEPOffsets() helper (NFC) 6fc8ec720ea5 [InstCombine] Restore splat gep support in OptimizePointerDifference() (#143906) e2c27fd66a13 [X86] X86FixupInstTuning - hoist OptSize flag. NFC. 058602372e2b [X86] X86FixupInstTuning - fold BLENDPS -> MOVSD (#144029) 5762491e2a19 [lld] Refactor storage of PAuth ABI core info (#141920) f355df4aae70 merge main into amd-staging (#2610) 06c783567069 [lldb][test] Disable TestMultipleDebuggers again 67c590004d05 [mlir][AMDGPU] Add scaled floating point conversion ops (#141554) 4b59b7b94608 [mlir][Linalg] Fix fusing of indexed linalg consumer with different axes (#140892) 2d49bc01cf07 [LV][NFC] Tidy up check-prof-info.ll test (#143884) 8ba62fdb3d2d [CIR] Function calls with aggregate arguments and return values (#143377) addd98f7a5b9 [lldb][test] Don't call SBDebugger::Terminate if TestMultipleDebuggers times out (#143732) 0cf333878d31 [NFC] Pack MDNodeKeyImpl<DILocation> from 40 to 32 bytes (#143891) d4826cd324d9 [AArch64] Observe Z-reg inline asm clobbers without SVE (#143742) c4caf00bfbf1 [AMDGPU] Convert more 64-bit lshr to 32-bit if shift amt>=32 (#138204) 02b6ed0bf139 [Clang] Added explanation why `is_constructible` evaluated to false. (#143309) cd3d234868ca [X86] X86FixupInstTuning - extend BLENDPD/S -> MOVSD/S handling to SSE variant (#143961) 02f1f6967a84 [mlir][linalg] Add pure tensor check for `winogradConv2DHelper` (#142299) 1f4b1729851b GVN: Fix trying to inspect uselist of constants when emitting remark (#144009) 1fae5918b3d6 [clang-format] Fix an off-by-1 bug with -length option (#143302) 43be31e35ab0 SPARC: Simplify SparcMCExpr 4903c11a7e14 [RISCV] Support memcmp expansion for vectors 483d19619c32 [RISCV] Add tune features for Andes 45 series cpus (#143899) f64b3bb276e8 [mlir][llvm] Op interface LLVM converter (#143922) 279b83e2528e merge main into amd-staging 7ec6394a26c5 merge main into amd-staging (#2608) 4e80a033a1ba [NVPTX] Use prmt.f4e to lower pointer alignment fshr idiom (#143407) 432d06ab919a [NFC][AMDGPU] Fix stale links to ROCm repositories (#143949) dfc5125946ad [NVPTX] Consistently check fast-math flags when lowering fsqrt (#143776) 054f4a50bb2e [polly] Remove an unused local variable (NFC) (#144012) 752538c12cf4 [llvm-pdbutil] Remove an unused local variable (NFC) (#144011) cd573e0a547d [compiler-rt] Remove unused local variables (NFC) (#144010) 4268360003e2 [Flang] [OpenMP] Allow any type as argument to the FlushOp (#143844) 9992668404cf [flang][cuda] Add runtime check for passing device arrays (#144003) 92591c0d58dd merge main into amd-staging 07dad4ecba43 [ELF] Implement -z dynamic-undefined-weak cf409fe1f5db merge main into amd-staging (#2606) 7232c07eb97d Reland [HIP] use offload wrapper for non-device-only non-rdc (#143964) 8890706db673 Revert "Reland [HIP] use offload wrapper for non-device-only non-rdc (#132869) (#143964)" 029f8892a500 [RISCV] Fold vmv.v.v into vleNff.v (#143981) 22f9b4aa1dad Reland [HIP] use offload wrapper for non-device-only non-rdc (#132869) (#143964) 3ddd13733223 [flang] [cuda] Move SetImplicityCUDADevice after symbols in block construct are converted to objects (#143791) e1bb35d06756 [bazel] Fix modules build for llvm-libc (speculative) (#143995) 70f44ec6feba [libc][NFC] Accept doc fix (#143996) c323b82196fa merge main into amd-staging 32e1360aaa9f [CIR][NFC] Fix build problems with [[maybe_unused]] (#143994) 28c14d475fbd [libc] Independent strcat/strncat/stpcpy (#142643) 703e4460228f [Clang] Add check for -mstack-alignment (#143124) 2b8f82b8308f [RISCV] Remove implicit $vl def on vleNff pseudos (#143935) 4e544f453302 merge main into amd-staging (#2604) 2ee8fdbfddcc [libc] Prevent building wchar on MacOS (#143978) 26f91610011f [lit] cleanup unused imports (#143930) 8a2895ad8979 [lldb] Implement JSON RPC (newline delimited) Transport (#143946) 4a4035c86b0d [CIR] Add support for delegating constructors (#143932) 1ac61c833478 [mlir][Vector] Remove `vector.extractelement/insertelement` from sparse vectorizer (#143270) 902a991e1245 [BOLT] Make memory profile parsing optional (#129585) e4c32a414701 [Clang][NFC] Move Input into SmallVector instead of copy (#143830) ee6362515dfa [RISCV][CostModel] Add additional high LMUL reverse tests 6f3e2c076d6e [MSAN] fork avx512vl-intrinsics and x86-vpermi2 tests (#143643) 8a8ea8fec063 Reland "[lldb][headers] Create Python script to fix up framework head… (#143945) 741ea80446e2 [gn build] Port 8ee9646b06cd 8ee9646b06cd [LV] Simplify creation of vp.load/vp.store/vp.reduce intrinsics (#143804) d65904675ea1 [LV] Move logic to create trip count check to helper (NFC). b1f5e26b78a9 [lldb] Properly handle locate module callback when Target change arch (#143793) c19e900ce8b4 [AArch64] Signed comparison using CMN is safe when the subtraction is nsw (#141993) cbf27bf711c0 Revert " [PowerPC] frontend get target feature from backend with cpu name (#137670)" 891f6ae783b3 [instcombine] Add test coverage for vp.reverse elimination combines 030a47175342 [AArch64][Clang] Exclude address spaces from pointer-only coercion types. 5115bc566d3e merge main into amd-staging c317eda6e378 [PowerPC][NFC] Update lowering STXVP to STXV in Oct word spilling (#143953) df7db441d4e9 Revert "[PowerPC][NFC] Update lowering STXVP to STXV in Oct word spil… (#143948) 46085d8f8362 [lld/ELF][x86-64] Place large executable sections at the edges of binary (#70358) edf636afe405 [PowerPC][NFC] Update lowering STXVP to STXV in Oct word spilling (#142220) 3c1053811e69 Revert "[clang-tidy] Improve integer comparison by matching valid expressions outside implicitCastExpr" (#143944) 4a58a63280a6 [mlir][linalg] Remove the `test-linalg-to-vector-patterns` option (#142116) 639e811434d2 [CIR][NFC] Fix an unused variable warning (#143933) fd88aef21bae [Doc][NFC] Fix Sanitizer Ignore list example errors. (#143755) f94950db89a9 [libc] Changed mbstate struct (#143942) 5a6a4b6ba694 [libc] Implement perror (#143624) 4e765b7a6b93 [x86] dpbusd_i4.ll - regenerate VPTERNLOGD asm comment 06dad352dba1 Revert "[lldb][headers] Create Python script to fix up framework headers" (#143941) 9208b343e962 [PowerPC] frontend get target feature from backend with cpu name (#137670) 6311f039b267 [libc] Build fixes for widechar characterconverter (#143805) d1ca8d891ff0 [libc][math] Refactor expf implementation to header-only in src/__support/math folder. (#143790) eab1a1d4914a [libc++][test] Improve test coverage for flat_set (lack of) SCARY iterators (#139649) cbc2ef0e890e [llvm][utils] Add synthetic provider for llvm::DenseSet (#143631) 82f19674bff5 [libc] Update size_t and ssize_t definitions to use __SIZE_TYPE__ and __PTRDIFF_TYPE__ respectively. (#143921) 53e50472ff44 [Clang][NFC] Move FatbinFileName instead of copy (#143827) 217304a09949 [X86] Use X86FixupInstTunings to select between (V)MOVSS/D and (V)BLENDPS/D (#143895) 1a4cf1d3edff [lldb][headers] Create Python script to fix up framework headers (#142051) 0d4b852bde95 merge main into amd-staging (#2601) 2c20bc5112a1 [mlir][spirv] Add definitions for GL FindILsb and FindSMsb (#143916) e65131a56335 MC,test: Specify explicit triple for include.ll ae7ea6e3a28c [libc] Fix ioctl errno inclusion (#143928) cd8facebabab [CIR] Implement folder for VecCreateOp (#143355) 31daed868d69 [RISCV] Prefer QC_EXTU to ANDI for certain 12-bit mask immediates (#143838) 56548e1d9b2e [Matrix] Fix a crash in VisitSelectInst due to iteration length mismatch 639c19ddb688 [NFC][mlir] make the assert consistent with the declared behavior (#143874) 77834a40cf35 [CIR] Upstream support for emitting constructors (#143639) 4039fdb7ba5a [libc] add ioctl (#141393) c6da2c877cb4 [lldb][Commands] Fix memory find for Swift expressions (#143860) daee5eee8562 [Offload][PGO] Fix new GPU PGO tests (#143645) ef1cb8277ac3 [SPIR-V] Fix ExecutionMode generation (#143888) 882b58a90ae0 [DirectX] Reland #142853 with Circular GEP fixes (#143747) 73ec5927bdb6 Refactor how IsAMapping is checked in https://github.com/AMD-Lightning-Internal/llvm-project/pull/2279 (#2559) a53003fe23cb [libc++] Update GDB pretty-printer to work with GDB 17 (#142106) 316f530724ee [X86] getTargetConstantBitsFromNode - handle EXTRACT_SUBVECTOR through bitcasts (#143886) 2a905dd1ebb4 [Matrix] Use range-for in Visit* Result construction. NFC 1c1df94d0982 [lldb][Commands][NFC] Extract memory find expression evaluation into helpers (#143686) 13fe07d670e8 [libc++] Expand Android libc++ test config files (#142846) f12b1ed11672 [flang][OpenMP] Add TODOs for target [teams|parallel] private (#143706) f6eaa2b00cc8 Reland "[clang-format][NFC] Clean up fillRanges() in ClangFormat.cpp" (#143477) 9b679889b596 [clang][darwin] Fix assertion failure when reporting fatal errors when inferring OS versions (#143817) 2e5fb77ce037 [llvm] Make TestData compatible with c++20 (#143801) e4de74ba11ea [mlir][Vector] Tighten up application conditions in TransferReadAfter… (#143869) 62b694090093 [mlir][spirv] Add definition for GL Pack/UnpackHalf2x16 (#143889) 4bd0a0e50bcf Revert "[flang] Enable delayed localization by default for `do concurrent` (#142567)" (#143905) 4f60321ca183 [Offload] Add `ol_dimensions_t` and convert ranges from size_t -> uint32_t (#143901) 5c1a021f7f28 [libc++] Fix typos in documentation (#143912) bba4ded3c2f9 [libc++] Fix constructing `bitset` from non-null-terminated arrays (#143691) ca5b71a45598 [Matrix] Propagate shape information through Select insts (#141876) b6a56b8ef26a [llvm-remarkutil] bitstream2yaml: Keep output file (#143220) 36878158586b [gn build] Port e1e1836bbd70 e1e1836bbd70 [CodeGen] Inline stack guard check on Windows (#136290) cc17f68e566a [SLP] NFC: Precommit test for pull/137419 (#137730) 79f4a4383938 [X86] VPTERNLOG comments - use "mem" just for full width loads and "m32bcst" / "m64bcst" for broadcast loads (#143721) 3100b50f78c0 [AMDGPU] Flatten recursive register resource info propagation (#142766) b8e3e0749fb6 [InstCombine] Export logic for common base pointer (NFC) 622df892b844 [lldb/cmake] Remove EXTRA_CXXFLAGS arg (#143731) 843f256623a6 [gn] port 20d5d09e99188 d49bc5e621c8 [llvm][MemProf] Correct position of LLVM_ABI macro in computeFrameHistogram ce747a16328b [LV] Pre-commit test case for support VPWidenCastRecipe in isSingleScalar. nfc (#143498) a08a83151591 [DLCov][NFC] Propagate annotated DebugLocs through transformations (#138047) 36ac72f4e3e4 [llvm][MemProf] Fix unused variable warning in release build 41c8df147b83 [DAG] Convert foldMaskedMerge to SDPatternMatch to match (m & x) | (~m & y) (#143855) ba888a041ecf merge main into amd-staging 5aed4800f33a [GISel] KnownFPClass ValueTracking fix handling of vectors (#143372) 527cb392335c merge main into amd-staging (#2598) b9793118423f [libc++] Remove allocator support from std::function (#140395) aac603c47800 ARM: Avoid repeating hardcoded windows division libcall names (#143834) 633375a29f52 [llvm][DWARFLinker] Fix gcc 13 -Wuninitialized warnings (#143867) 3550662c0400 ARM: Avoid using getTargetLowering in TargetLowering (#143833) bc7fafbeea08 [AA] Take read-only provenance captures into account (#143097) 2ecbfc0beb42 [LoongArch] Fix '-mno-lsx' option not disabling LASX feature (#143821) 9f542f14701c [RISCV] Add new tests for RISCV zicond extension (#143580) 0604dc199c01 Revert "[VPlan] Set branch weight metadata on middle term in VPlan (NFC) (#143035)" d698ede748e6 [mlir][amx] Restore conversion interface for AMX (#143871) 013034cd0f5a Follow-up to 97ac6483aae, squelch an unused lambda capture warning 478974c88143 [Flang][AMD] Skip setting alloc idx for allocate in target (#2550) 97ac6483aaea [DebugInfo][RemoveDIs] Delete debug-info-format flag (#143746) fe28ea37b640 [LoongArch] Add demanded bits support for [X]VMSKLTZ (#143528) 20d5d09e9918 [compiler-rt] remove unused default in compiler-rt lit tests (#143738) 971c49fbf361 [InstCombine] Ensure Safe Handling of Flags in foldFNegIntoConstant (#94148) d517f15e09e4 [LICM] Regenerate test checks (NFC) 702b9033c115 [LLVM][CodeGen][AArch64] Lower vector-(de)interleave to multi-register uzp/zip instructions. (#143128) 7ef77eb9984d [LV] Support scalable interleave groups for factors 3,5,6 and 7 (#141865) 5987f1ee5cc5 [InstCombine] Regenerate `narrow-switch.ll` test (NFC) ab1b25b27c0d merge main into amd-staging a8c6fb4cb8e6 [MemCpyOpt] Fix lifetime marker sizes in tests (NFC) 3e5d50f9c61b [NVPTX] Add cta_group support to TMA G2S intrinsics (#143178) 8e4fdff6f021 [X86] Update tailcc-ssp.ll assertions using update_llc_test_checks.py (#143500) 1d1f9afe911c [C++20] [Modules] Treat directly imported internal partition unit as reachable 2a27c059eccd [X86] Use BSR passthrough behaviour to fold (CMOV (BSR ?, X), Y, (X == 0)) -> (BSR Y, X) (#143662) db8d34db26e9 [VPlan] Set branch weight metadata on middle term in VPlan (NFC) (#143035) 4551e5035565 [clang] Reset FileID based diag state mappings (#143695) ce621041c2f1 [RISCV] Get host CPU name via hwprobe (#142745) 5434b85d2c7a ARM: Remove fake entries for divrem libcalls (#143832) 4079ed3c9e72 ARM: Move setting of more runtime libcalls to RuntimeLibcallInfo (#143826) edaac11df3f8 [X86] combineSelect - attempt to combine with shuffles (#143753) 6e5a1423b752 [mlir] Reapply "Loosen restrictions on folding dynamic reshapes" (#142827) 2d35b568ef94 [X86] bsf.ll - add icmp_ne coverage to bsf passthrough tests 77062244ed56 Fix two instances of -Wparentheses warnings [NFC] 6157028fea93 [BasicAA][ValueTracking] Increase depth for underlying object search (#143714) 3f0cf742ac4e [C++20] [Modules] [Reduced BMI] Don't write specializations with local args 9d491bc602c2 [AArch64][GlobalISel] Enable extract_vec_elt_combines postlegalization. bec85f3b187f [LLD] [COFF] [test] Readd lto-late-arm.ll (#143494) 2efff47363f1 [NFCI][msan] Show that shadow for partially undefined constant vectors is computed as fully initialized (#143823) 4aea8dbe474a merge main into amd-staging (#2593) 95bbaca6c1dc [AArch64] Extend usage of `XAR` instruction for fixed-length operations (#139460) 28bda778437f Introduce MCAsmInfo::UsesSetToEquateSymbol and prefer = to .set 02550da93291 [OpenMP 60] Initial parsing/sema for `need_device_addr` modifier on `adjust_args` clause (#143442) 99638537cd19 [AArch64] Fix a warning a93e55e57ed0 Revert "[libc] Migrate stdio tests to ErrnoCheckingTest." (#143829) c3be4524a56b [ELF,test] Improve weak-undef-got-plt.s 282e471018d2 [flang] Erase `fir.local` ops before lowering `fir` to `llvm` (#143687) f09050fdc850 [C++20] [Modules] Fix module local lookup ambiguousity 5f231db76482 [RISCV] Use StringRef for RequiredExtensions in RVVIntrinsicDef (#143503) 2fcaa00d1e23 [ELF] -z undefs: handle relocations referencing undefined non-weak like undefined weak 968d8eaa44c5 [OpenMP][Flang]Fix omp_get_cancellation return type from integer to logical (#142990) a71210e5abdb Revert "[libc] Fix stdio tests after #143802" (#143824) b46f34452e9d libunwind: Do not use __attribute__((target("gcs"))) with non-clang compilers (#138077) d8118ed6db28 [ELF,test] Improve weak-undef-rw.s faa49d6662b4 [gn build] Port de51b2dd3c6f de51b2dd3c6f [lldb] Move Transport class into lldb_private (NFC) (#143806) bb3b8306dc22 [NFC] [C++20] [Modules] Add a test module local declaration lookup 9261cd48e739 Revert "[flang][OpenMP] Overhaul implementation of ATOMIC construct (#137852)" 082251bba4ef [AArch64] fix trampoline implementation: use X15 (#126743) 52360d195b85 [NFC] Use `llvm::includes` instead of `std::includes` (#143542) c4316180418c [Clang][Driver] Override complex number calculation method by -fno-fast-math (#132680) 7034014d0824 [InstCombine] Combine or-disjoint (and->mul), (and->mul) to and->mul (#136013) 7a3bcf9f7179 [RISCV] Add missing predicate for PseudoTHVdotVMAQA family instructions d7c6cad744bc [sanitizer_common] Implement interception on AIX (#138606) bc7ea63e9c88 [MemCpyOpt] handle memcpy from memset for non-constant sizes (#143727) 6c72084a578a [bazel] port 1ecd108cb7ceda2b11281b5d173e2827feb60c55 3c7af175e51c [libc] Fix stdio tests after #143802 (#143810) 7f46a4c084c9 merge main into amd-staging 1ecd108cb7ce [libc] Migrate stdio tests to ErrnoCheckingTest. (#143802) dc4335a2bf75 [libc] Perform bitfield zero initialization wave-parallel (#143607) ee35e342945d [ConstantFolding] Add folding for [de]interleave2, insert and extract (#141301) 0e457315f558 [mlir][generate-test-checks] Emit attributes with rest of CHECK lines (#143759) 74172add65aa [mlir][generate-test-checks] Do not emit the autogenerated note if it exists (#143750) 9c9a4a284e95 [LOH] Don't emit AdrpAddStr when register could be clobbered (#142849) 6f2ba4712f17 [mlir] Fix ComposeExpandOfCollapseOp for dynamic case (#142663) 7838fc0cd3fb [Clang] [NFC] Move diagnostics emitting code from `DiagnosticIDs` into `DiagnosticsEngine` (#143517) 625bfb7179ad Workaround MSVC Linker Issue when Cross-Compiling for ARM64EC (#143659) d7e7f22626f2 [Clang] fix missing source location for errors in macro-expanded (#143460) f39f53e569f9 [Clang][NFC] Move HeadingAndSpellings to avoid copying (#143611) c0c0f60ca144 [GlobalOpt] Bail out on non-ConstExprs in isSimpleEnoughtToCommit. (#143400) a4ba17eae5f4 merge main into amd-staging (#2586) 79108da325da [libc][obvious] Changed incorrect type (#143780) d87eea35fac5 [libc] Move libc_errno.h to libc/src/__support and make LIBC_ERRNO_MODE_SYSTEM to be header-only. (#143187) fb761aa38b0b [MLIR][Transform] apply_registered_op fixes: arg order & python options auto-conversion (#143779) e389a0e7bb3d [libc] Switched calls to inline_memcpy to __builtin_memcpy for wide char utilities (#143011) b42aef5e6f32 [flang] Don't duplicate hermetic module file dependencies (#143605) a2d2941830d9 [lldb][RPC] Upstream LLDB to RPC converstion Python script (#138028) 52583b3ed7dd [libc] Character converter skeleton class (#143619) c70658e32deb [bazel] port 5dafe9dca867b90f20dcd71c620ad823aee4262b 5623b7f2d56e [LV] Use GeneratedRTChecks to check if safety checks were added (NFC). e7e491f6ee2b [SelectionDAG] Add ISD::VSELECT to SelectionDAG::canCreateUndefOrPoison. (#143760) ad2a2b8eed2f [llvm] Add a tool to check mustache compliance against the public spec (#142813) 43c35e858cca [mlir] Simplify calls to *Map::{insert,try_emplace} (NFC) (#143729) 8da1ac98efa0 [llvm] Use std::tie to implement operator< (NFC) (#143728) c1d21f443409 [lld] Use std::tie to implement comparison operators (NFC) (#143726) e266d6a5da68 [Format] Use llvm::min_element (NFC) (#143725) ebc90d50b88a [SandboxVectorizer] Use llvm::find (NFC) (#143724) ace356bc9777 [VPlan] Always verify VPCanonicalIVPHIRecipe placement (NFC). 02161c635fd7 [NVPTX] Misc table-gen cleanup (NFC) (#142877) 34a1b8ce2518 [acc] acc.loop verifier now requires parallelism determination flag (#143720) 22fd11fe66a0 [SystemZ][z/OS] Refactor AutoConvert.h to remove large MVS guard (#143174) 5dafe9dca867 [libc] Reduce direct use of errno in src/stdlib and src/__support tests. (#143767) d5f68cb14505 [bazel] Port fe7bf4b90b1a835418bddd2b2aa63b4977a9f6d2 8a14135f28e5 Reland: [Offload] Don't check in generated files (#141982) (#2572) 574f77a1ee34 [OpenACC][CIR] Add parallelism determ. to all acc.loops (#143751) 02b6849cf1fe [Clang][OpenMP] Fix mapping of arrays of structs with members with mappers (#142511) 0c62571d9f02 [libc++] Remove static_assert from hash.cpp that fires unconditionall 8dc63ca59003 Make clang/test/Frontend/aarch64-print-enabled-extensions-cc1.c write output file to temp dir 773d357b9882 [libc++] Simplify the implementation of __next_prime a bit (#143512) 8d7da9a2a403 Update BUILD.bazel 7a0c9f607a26 [NFC][PowerPC] Pre-commit test case for exploitation of xxeval for the pattern ternary(A,X,or(B,C)) (#143693) 806333063ff9 [RISCV] Guard the alternative static chain register use on ILP32E/LP64E (#142715) 42c82fcc29c1 [libc++] Upgrade to GCC 15 (#138293) fad1972d74ae [SPIRV] FIX print the symbolic operand for opcode for the operation OpSpecConstantOp (#135756) bbe59e19b60b [OpenMP][Offload] Update the Logic for Configuring Auto Zero-Copy (#143638) c2f0af514beb [GISelValueTracking] Add test case for G_PTRTOINT 66f533e7e34d [IR] Fix warnings (#143752) 3e24dadee0d7 [Clang][Tooling][NFC] Use move to avoid copies of large objects (#143603) 7414d88b5f8a Squelch an unused-function warning 621a7d0f66f3 [flang] silence bogus error with BIND(C) variable in hermetic module (#143737) 370e54d03a5b [CIR] Upstream splat op for VectorType (#139827) 2200d175374e merge main into amd-staging 145b1b0f103e [lldb][nfc] Factor out code checking if Variable is in scope (#143572) 469922f7c40a [X86] Don't emit ENDBR for asm goto branch targets (#143439) 117e78fe5012 [libc] Add NULL macro definitions to header files (#142764) aa8a1fa6f515 [DLCov][NFC] Annotate intentionally-blank DebugLocs in existing code (#136192) f1575de4c5de [libc][NFC] Remove template from GPU allocator reference counter 459475020aef Reapply 76197ea6f91f after removing an assertion fe7bf4b90b1a [MLIR][Transform] apply_registered_pass op's options as a dict (#143159) ec8d68b59f82 [clang][analyzer] Correct SMT Layer for _BitInt cases refutations (#143310) 8e4f0d8614dc [CIR] Upstream minimal builtin function call support (#142981) 78765bb856bd [TableGen] Simplify computeUberWeights. NFC. (#143716) 2652d1b2fd65 [llvm] annotate interfaces in llvm/TextAPI for DLL export (#143447) 8f8ed23c6247 [llvm] annotate interfaces in llvm/SandboxIR for DLL export (#142863) 5188bea9afac [llvm] annotate interfaces in llvm/TargetParser for DLL export (#143616) 38fb0117ab10 [libc++] Make forward_list constexpr as part of P3372R3 (#129435) 2ab83e9f68f0 [NFC][PowerPC] Rename xxevalPattern to adhere to naming convention. (#143675) 91be47dccfa3 [flang] Fix warnings bc9f4edf47d2 [LTO] Fix used before intialised warning (#143705) adfea33f0c41 [PowerPC][AIX] xfail atan-intrinsic to unblock bot (#143723) e64f8e043cdf [flang][Driver] Guard check for pic/pie settings without driver flags (#143530) 141d390dcb6c [flang][OpenMP] Overhaul implementation of ATOMIC construct (#137852) 3ca6ea0f3aab [Clang][ByteCode][NFC] Move APInt into pushInteger since it is being passed by value (#143578) 9150a8249f69 [mlir][spirv] Add definition for GL Exp2 (#143678) 10f512f7bbda Revert runtime work queue patch, it breaks some tests that need investigation (#143713) 4e441665cc0d [BasicAA][ValueTracking] Use MaxLookupSearchDepth constant (NFC) b3db0c6a1d06 [HLSL][Driver] Make vk1.3 the default. (#143384) 67e8baaaa57d merge main into amd-staging (#2583) 775ad3e49c83 [flang][acc] Ensure all acc.loop get a default parallelism determination mode (#143623) fa9e1a151554 [AArch64] Expand llvm.histogram intrinsic to support umax, umin, and uadd.sat operations (#138447) 76e14deb4a69 [X86][BreakFalseDeps] Using reverse order for undef register selection (#137569) 4007289c670d [Offload] Explicitly create directories that contain tablegen output (#142817) 6fb2a8018901 [mlir][spirv] Truncate Literal String size at max number words (#142916) 76197ea6f91f Revert "[DebugInfo][RemoveDIs] Remove some debug intrinsic-only codepaths (#143451)" 46d9abbba2ad [flang] Add David Truby as maintainer for Flang on Windows (#142619) c71a2e688828 [DebugInfo][RemoveDIs] Remove some debug intrinsic-only codepaths (#143451) 6b0cb762af97 [Clang] _default-movable_ should be based on the first declaration (#143661) b09206db154b [mlir][spirv] Include `SPIRV_AnyImage` in `SPIRV_Type` (#143676) b512077c373a [flang][runtime] Another try to fix build failure (#143702) cc9f67416d04 [flang][OpenMP] Consider previous DSA for static duration variables (#143601) e15d50d5ff29 [mlir][spirv] Add lowering of multiple math trig/hypb functions (#143604) 3d7aa961ac96 [DebugInfo][RemoveDIs] Use autoupgrader to convert old debug-info (#143452) 2692c3aa6760 [gn build] Port 3c56437eafee 3585e69f2e84 [Flang][Alias-analysis] Revert downstream changes (#2563) b10d711362b8 [libc++][NFC] Move __libcpp_is_integral into the else branch (#142556) 3c56437eafee [libc++] Refactor signed/unsigned integer traits (#142750) b49c7896c0a3 [libc++] Fix constraints in `__countr_zero` and `__popcount` 50f534e21cfb [HLSL][SPIR-V] Handle SV_Position builtin in PS (#141759) 33fee5649985 [HLSL][SPIR-V] Change SPV AS map for groupshared (#143519) ac7fa4099e83 MSP430: Partially move runtime libcall config out of TargetLowering (#142709) 3ef7d035e21d MSP430: Stop using setCmpLibcallCC (#142708) 4a46ead8fb5b [lldb] Show coro_frame in `std::coroutine_handle` pretty printer (#141516) 953a778fabc4 [RISCV][FPEnv] Lowering of fpenv intrinsics (#141498) f44f411afa91 MSP430: Add tests for fcmp (#142706) 756e7cfd86c7 [debuginfo][coro] Fix linkage name for clones of coro functions (#141889) 2dd88c405d77 [flang][OpenMP] Extend locality spec to OMP claues (`init` and `dealloc` regions) (#142795) 2d1b40dc9bd8 merge main into amd-staging abbbe4a6cd1b [mlir][vector] Fix attaching write effects on transfer_write's base (#142940) 44a7ecd1d748 [doc] Use ISO nomenclature for 1024 byte units (#133148) 19b0e1227ca6 [ConstantFolding] Fold sqrt poison -> poison (#141821) 40cc7b4578fd [clang][AArch64] test -cc1 -print-enabled-extensions (#143570) 79a72c47d09c [AArch64] Consider negated powers of 2 when calculating throughput cost (#143013) 354cfba5209e [DebugInfo][RemoveDIs] Remove scoped-dbg-format-setter (#143450) ddef9ce8dad6 LLVM Buildbot failure on openmp runtime test (#143674) ea9046699eae [LLVM][SROA] Teach SROA how to "bitcast" between fixed and scalable vectors. (#130973) 22e40f579c85 merge main into amd-staging (#2579) c59cc2b690b9 [libunwind] Remove checks for -nostdlib++ (#143162) 9797b5fcfbb9 [C++20][Modules] Fix false compilation error with constexpr (#143168) 7ffdf4240d62 [flang][Driver] Enable support for -mmacos-version-min= (#143508) 6e0c2bc66810 [mlir][async][nfc] Fix typo in async op description (#143621) ddb771ecfd12 [AArch64][Clang] Update new Neon vector element types. (#142760) 7460c700ae30 [MemCpyOpt] handle memcpy from memset in more cases (#140954) e44a65ed98ad [flang][OpenMP] Map basic `local` specifiers to `private` clauses (#142735) afbcf9529a1e [OpenMP 6.0 ]Codegen for Reduction over private variables with reduction clause (#134709) 937be177528d [flang] Enable delayed localization by default for `do concurrent` (#142567) 24d730b3808a Reland "[SelectionDAG] Make `(a & x) | (~a & y) -> (a & (x ^ y)) ^ y` available for all targets" (#143651) 14c11e4bcb26 [coro][NFC] Move switch basic block to beginning of coroutine (#143626) 13115276d0d1 Revert "[AArch64][GlobalISel] Expand 64bit extracts to 128bit to allow more patterns (#142904)" e9bd1aee6537 [X86] bmi-select-distrib.ll - remove unused check prefixes and pull out PR comments above tests. NFC a72bcda1434c [X86] add test coverage for #143606 17f1dac805d3 [X86] Add test coverage showing failure to merge "zero input passthrough" behaviour for BSF instructions on x86_64 targets 521e6ce5c8fd [CI] Add mention of LLVM Developer Policy in email-check message (NFC) (#143300) 686ec6cfe863 [BOLT][AArch64] Fix adr-relaxation.s test (#143151) 32ac7dc2d218 [test][AArch64] Adjust vector insertion lit tests (#143101) a6ace2801e89 [X86] combineConcatVectorOps - ensure we're only concatenating v2f64 generic shuffles into vXf64 vshufpd 0f3c54a3b328 [X86] Add test coverage showing failure to merge "zero input passthrough" behaviour for BSR instructions on x86_64 targets a17e97e6778b [libc++] Add missing C++20 [time.point.arithmetic] (#143165) c2cb571c6cbc [Clang][NFC] Move UntypedParameters instead of copy (#143646) 602b11b31f8f merge main into amd-staging ef5980ddba51 merge main into amd-staging (#2578) 842377882a3f [RISCV] Select signed bitfield insert for XAndesPerf (#143356) a3201ce9e114 [flang][cuda] Add option to disable warp function in semantic (#143640) 3ece9b06a2d2 [RISCV][NFC] Improve test coverage for xtheadcondmov and xmipscmov (#143567) d75e28477af0 [flang][runtime] Fix build bot flang-runtime-cuda-gcc errors (#143650) 3872d073edfd merge main into amd-staging 28a4ed945dc1 [AMDGPU][True16] remove AsmVOP3OpSel (#143465) 0a6463039da8 [NFC] get rid of `undef` in avx512vl-intrinsics.ll test (#143641) 3f18ebe4144c [flang] set default off for defer_desc_map (#2576) e24db4225a64 merge main into amd-staging (#2577) 8c890eaa3f4c Revert "[SelectionDAG] Make `(a & x) | (~a & y) -> (a & (x ^ y)) ^ y` available for all targets" (#143648) 841a7f089727 [RISCV][NFC] Factor out VLEN in the SiFive7 scheduling model (#143629) 67ff66e67734 [PGO][Offload] Fix offload coverage mapping (#143490) 3cef099ceddc [TySan][CMake] Depend on tysan for check-tysan in runtimes build (#143597) 6f62979a5a5b Revert "[CI] Migrate to runtimes build" (#143612) 769ccfe17ce0 merge main into amd-staging b9329fe88e47 [CIR] Upstream support for calling constructors (#143579) ad479ddb343c Revert "[SeparateConstOffsetFromGEP] Decompose constant xor operand if possible (#135788)" 1bf4702d2bba Disable prctl test when building for arm or riscv. (#143627) 48122a797710 [flang][cuda] Fix CUDA generic resolution for VALUE arguments in device procedures (#140952) 32d2b6ba4797 [HWASAN] Disable LSan test on Android (#143625) 88a24235e0f7 [flang] set default off for defer_desc_map c7063380205d [lldb] Fix `target stop-hook add` help output 3a2bcd96e227 [RISCV][TTI] Allow partial reduce with mismatched extends (#143608) 32649e017eaa [IR2Vec] Exposing Embedding as an data type wrapped around std::vector<double> (#143197) 2f9dfdfb35bd [IR] Simplify scalable vector handling in ShuffleVectorInst::getShuffleMask. NFC (#143596) 1fff5da9ce1a merge main into amd-staging (#2570) 54e72d15bc09 [flang] Ensure overrides of special procedures (#142465) b994a4c04f38 [flang][NFC] Clean up code in two new functions (#142037) 163c67ad3d1b [flang][runtime] Replace recursion with iterative work queue (#137727) 0c774682889a [BOLT] Expose external entry count for functions (#141674) 13ccce28776d [SeparateConstOffsetFromGEP] Decompose constant xor operand if possible (#135788) 830a74092ada [Clang] [Cygwin] va_list must be treated like normal Windows (#143115) 62b3e89afc54 [LV] Remove unused LoopBypassBlocks from ILV (NFC). d7282c56cd29 [llvm-rc] Add support for multiplication and division in expressions (#143373) a7f495f17086 [lldb] Revive TestSimulatorPlatform.py (#142244) 94877ce1b4c5 [clang-tidy][NFC] fix 'misc-use-internal-linkage' check warnings (#143482) 719e7bea8af3 [LoopPeel] Add tests for last iteration peeling of min/max intrinsics b8f79f81a3fb [Clang][Attr] Fix possible crash when trying to check for DeviceKernel spelling (#143546) 766b3016c452 [mlir] Fix a warning e0cc556ad427 [IndVars] Teach widenLoopCompare to use sext if narrow IV is positive and other operand is already sext. (#142703) f72dd4eca8da [ConstantFolding] Fold scalable shufflevector of poison/undef. (#143475) be3c6a06d36d [Scalar] Fix a warning e48731bc0341 [AMDGPU][True16][CodeGen] v_s_xxx_f16 t16 mode handling in movetoVALU process (#141152) 8345d6247805 [Matrix] Hoist finalizeLowering into caller. NFC (#143038) 77da1257b61c [Matrix] Collect split/reshape stats, even without -debug-only= 616f83530f02 [libc++] Move swap test to a .compile.pass.cpp (#143167) 44b928e0d578 [Matrix] Propagate shape information through cast insts (#141869) 45ae41e0d8e1 [mlir][scf] Return `replacements` explicitly in `SCFTilingResult`. (#143217) 659cbac6593a [Offload] Fix missing dependencies in Offload API generation (#142776) 188f9d7b7212 [Offload] Don't check in generated files (#141982) 46b7a88548e5 fix access checking about function overloading (#107768) 4e706adc5ed8 [LoopPeel] Add test coverage for edge case for peel last d1399efd7286 merge main into amd-staging 9bda38f8d912 [TextAPI] Use MapVector::try_emplace (NFC) (#143564) 30dd652c29f8 [clang] Use *Map::try_emplace (NFC) (#143563) 1befb2440bf4 [IPO] Use std::tie to implement operator< (NFC) (#143561) 8da9eb235d7c [BOLT] Use std::tie to implement operator< (NFC) (#143560) 04cffaae8f61 [Support] Simplify CTLog2 (NFC) (#143559) 50313a5f556b [lldb] Fix warnings 06f6a771da10 [libc] Simplify wcscmp (#143457) bdcfcf6105a8 Fix unused variable warning after 68bb005ae021cbfaef8fe9fa8b3efcdf0e13e2b3 baceb7923f3f [libc++] Don't skip localization-related headers in header tests (#134877) f993f362ef58 [Flang][OpenMP] - When mapping a `fir.boxchar`, map the underlying data pointer as a member (#141715) 1b5303744f10 [gn build] Port 1c3320cdde8f abdab5020bef [gn build] Port 07a1d479cc4e 74a012ed756f [lldb/aarch64] Fix PC register info augmentation (#143499) 07a1d479cc4e [lldb-dap] Creating a 'capabilities' event helper. (#142831) c30952592a88 [compiler-rt] replicate changes from llvm/ProfileData/InstrProfData.inc (#143574) 47918e7cb741 [clang-doc] add namespaces to JSON generator (#143209) 84710b49f2e2 [CIR] Implement folder for VecShuffleOp (#143260) b053f955da9a [X86] pr40090.ll - add ctlz(x,false) (zero isn't poison) test coverage 522a375b996d [X86] collectConcatOps - assert that no ops were collected on failure 2ddf0caaed19 [clang][driver] Suppress gnu-line-marker when saving temps (#134621) 88f041f3e05e [clang][Darwin] Align all OS Versions for 26 (#143548) eb76d8332e93 Reland "[lldb][headers] Create script to fix up versioning" (#142864)" (#142871) 68bb005ae021 [Matrix] Add -debug-only prints when matrices get flattened (#142078) 9c54512c3ef1 [flang][cuda] Allocate the dst descriptor in data transfer (#143437) 8957e64a20fc [ELF,RISCV] Fix oscillation due to call relaxation 1cb906e8325d Minor fix to connect-url to support unix-connect sockets on localhost (#142875) d502c68dcb63 [flang][common] return ENUM_CLASS names definition to original state (#143553) c926bff560ba Revert "[Frontend][PCH]-Add support for ignoring PCH options (-ignore-pch). (#142409)" 30cabdda45a0 [X86] Distribute Certain Bitwise Operations over SELECT (#136555) 94c241614f49 [RISCV] Select signed bitfield extract for Xqcibm (#143536) 8f80a3757805 [gn] port d709dcc0909 (LLVMFrontendDirective) 7c946e6e478e [AArch64] Add Neon USDOT support (#143525) 9630d7cb92f1 [MLIR][XeGPU] add blocking support for reduce, broadcast, and transpose (#143389) bdcbe67400b8 [llvm] remove llvm:: qualification from appendLoopsToWorklist extern template instantiations (#143555) 1c3320cdde8f [clang-doc] add a JSON generator (#142483) 610d0572c6ba [llvm] clang-format llvm/TargetParser/Host.h and llvm/Target/TargetOptions.h (#143446) 8d6841f280ab [Clang][NFC][ByteCode] Initialize Function HasBody in constructor (#143443) ea0761ff0c10 [OpenMP] Update out of date documentation (#142411) beffd1509af7 [clang][Interpreter] Disable part of lambda test on Windows b2584e0b1783 [llvm] annotate interfaces in llvm/Transforms for DLL export (#143413) 3cb104e98b9a [gn] Unbreak build after b62488f8326c61f 7eb3c0544060 merge main into amd-staging (#2562) 6bd606fe49d6 [llvm] annotate interfaces in llvm/ProfileData for DLL export (#142861) 1c8206bd2a12 [llvm] annotate interfaces in llvm/Option and llvm/Remarks for DLL export (#142856) 09029045a88b [InstCombine] Fold max/min when incrementing/decrementing by 1 (#142466) e74d834cb155 [X86] combineConcatVectorOps - concat mixed v2f64/v4f64 faux shuffles into v4f64/v8f64 vshufpd (#143521) 007d29e30c6e [Flang] Turn on alias analysis for locally allocated objects (#143489) f7967effa3e0 [mlir][spirv][nfc] Add missing tests for GL Tanh Op (#143538) 713702109a02 [CGData] Make an option to skip reading Names into StableFunctionMap (#142095) 3eb9b7dbbd78 [RISCV] Implement Relaxation for Xqcilb Jumps (#142702) e295b0ce757e [flang][OpenMP] Fix detecting nested OpenMP constructs (#143383) cde1035a2fc6 [flang] Add support for -mrecip[=<list>] (#143418) 326429022ff8 [mlir][spirv] Deserialize OpConstantComposite of type Cooperative Matrix (#142786) b27ab06a3d3f [InstCombine] Preserve flags for difference of gep chains (#143488) 99f6cb89352f [BPF] Use heterogeneous lookup with std::map (NFC) (#143395) bf1fe6eb3312 [mlir][OpenMP] Reintroduce TODO for translation of linear clause (#143531) b21be0e440f1 [X86] scalarizeExtEltFP - don't assume setcc result pre-legalisation will be vXi1 65d530193e28 [SPIR-V] Add Fragment execution model (#141787) bf60aa1c551e [flang][cli] Add diagnostic flags to the CLI (#142022) c34351c92ae6 Revert "[lld] check cache before real_path in loadDylib (#140791)" c3057de024b7 [X86] Fix bugprone-argument-comment warnings. NFC. 535b24d10723 [flang][openmp] Propagate volatile on reduction variables (#142435) bb531ffcccb1 [DAG] getNode - assert that INSERT_VECTOR_ELT operand types are legal (#143502) 6f231165072e [SPIR-V] Add Vertex execution model (#142369) ee3f50939dcb [bazel] Turn on LLVM_ENABLE_PLUGINS on posix 59e4d0b34d67 [flang][hlfir] ensure hlfir.declare result box attributes are consistent (#143137) 6582d7d348c1 [HLSL] Add WaveGetLaneCount() intrinsic to FE (#143127) dbec6e424a6b [AArch64] Add AArch64 SVE lowering for usdot (#143403) d019d05ff063 [LLVM][CodeGen][AArch64] Add isel for i8/i16 sve.compact intrinsics. (#143139) acc43db9aa2e [LoongArch] Convert vector mask to `vXi1` using `[X]VMSKLTZ` (#142978) 4fb81f11cea0 [Frontend][PCH]-Add support for ignoring PCH options (-ignore-pch). (#142409) 5955f3e848bc [lldb][Widows] Remove unused WriteTryLock function f43aaf90df61 [NFC][LLVM] Refactor IRBuilder::Create{VScale,ElementCount,TypeSize}. (#142803) a08bf50ccf95 [RISCV][NFC] Update the comments in RISCVMatInt.h (#143402) 39a7664fc10d [RISCV] Select (add/or C, x) -> (add.uw C|0xffffffff00000000, x) (#143375) c0f8145cbc17 [RISCV] Simplify and remove unrelated testcases in reassoc-shl-addi-add.ll. NFC. 5e0e6a0dd6d5 [MLIR] Use mlir_target_link_libraries with MLIRTestIRDLToCppDialect (#143435) 5471d933af19 Disable clangd/test/module_dependencies.test on Windows f2fede609592 [libc++] Document our ABI guarantees and what ABI flags exist to modify these guarantees (#132615) fb054e6cf2b1 [X86] splitAndLowerShuffle - split a v8f32 bitcast from v8i32 operands as 2 v4i32 shuffles (#143493) 7e471c1fd0c4 [lldb/cmake] Use ADDITIONAL_HEADER(_DIR)?S (#142587) 95b5b6801ce4 [lldb][test] Add test for handling conflicting Objective-C NS_OPTIONS typedefs d61a06e25533 [mlir][spirv] Add definition for GL Log2 (#143409) 356bd6e94c26 [X86][FP16] Bitcast v8f16/v16f16 to vXi8 to use vXi8 vselect (#143484) a59a8ae1a9de [compiler-rt][ARM] Add missing PACBTI support to assembly aeabi functions (#142400) 902d6894f55a [JITLink] [test] Add a trailing newline to a test file. NFC. f715ff4a9d63 [JITLink] [test] Generalize UNSUPPORTED markings for Windows/arm64 (#142377) 9b282afb8ac1 [JITLink] [test] Extend preexisting MinGW XFAILs to new tests (#142375) 6ec48b449fb6 [lldb] Use 1 based row and column for statusline (#143385) 45f57ee573a8 [AArch64] Fix FEAT_SVE_AES2 instructions to depend on SVE2 not SVE2P1 (#142389) c450dd7e8398 [OpenMP][test] Support target= in tests (#142380) f03d1b0aeb15 [InstCombine] Add extra flag-preservation tests for sub of gep (NFC) 80ea5f46df3e [CI] Migrate to runtimes build 9312d5beb372 [llvm][RISCV] Handle required features of intrinsic correctly (#143062) e65d32316646 [clang-tidy] Improve integer comparison by matching valid expressions outside implicitCastExpr (#134188) 054646f335e8 [X86] commuteInstructionImpl - assert that only MOVSDrr is being commuted to SHUFPDrri 68870161e5d8 AMDGPU Mark permlane instructions as convergent (#142962) 823750d873df [flang][fir] Add fir.if -> scf.if and add filecheck test file (#142965) 4cafd28b7dd9 [lld] Delete lto-late-arm.ll f0d05b973b0d [NFC][DebugInfo] Make MDNodeKeyImpl<DILocation>::Column 16 bits (#143399) 6a8464b1251a [X86][FP16] Do not generate X86 FMIN/FMAX for FP16 when VLX not enabled, part 2 (#143483) e5ff7055beb1 [LoopPeel] Use loop guards when checking if last iter can be peeled. (#142605) 20e8de9c8f4c [InstCombine] Support nested GEPs in OptimizePointerDifference (#142958) ecc8b29eda2a [CIR][NFC] Use actual operand name in adaptor-obtained operands (#143028) 77347d6513de [llvm-rc] Allow ALT on non-virtkey accelerators (#143374) 0c3a7725375e [RISCV][test] Add tests for add.uw with a constant 530f5b779111 [X86] LowerStore - always split 512-bit concatenated stores (#143426) 487e757f3e58 [clang][NFC] Remove dead PassTypeToPlacementDelete field (#143448) bfe096760345 [RISCV] Remove the TODO for vqdotsu. NFC. 5f648c370edf [AArch64] Change the coercion type of structs with pointer members. (#135064) 6881c7d5fad8 [RISCV] Don't select sh{1,2,3}add if shl doesn't have one use (#143351) d56ce312d0c2 [Clang] Non-polymorphic trivially relocatable types can have [[trivial_abi]] (#143111) 591678bebd09 [CI] Explicitly compute needed runtime targets eccd81f20ba3 [libc++] Simplify the implementation of std::hash (#140407) 34b985f635a7 [RISCV] Select unsigned bitfield extract for Xqcibm (#143354) 0123ee51ef32 [alpha.webkit.NoUnretainedMemberChecker] Recognize NS_REQUIRES_PROPERTY_DEFINITIONS (#143408) 040e9e02ccbf [libc++] Inline __has_feature and __has_extension uses (#133634) b9d41328c6c6 [clang][CFG] Fix assertion failure in checkIncorrectLogicOperator (#142897) 17c807728d0d merge main into amd-staging 9a894ae794f2 [clang-format] Parse JSON outermost l_brace as braced list brace (#143327) e30cba54641d [llvm][ADT] Add wrappers to `std::includes` (#143297) 80064b6e326d AMDGPU: Try constant fold after folding immediate (#141862) 4bf2de18320f AMDGPU: Add test showing bit operations that should be reducible (#141837) ab954b11dbf7 [clang][NFC] Refactor replaceExternalDecls to use llvm::any_of (#143275) 505c550e4c12 DAG: Assert fcmp uno runtime calls are boolean values (#142898) 9056f30cb60a merge main into amd-staging (#2560) 48556108f250 [lldb][NFC] Split RegisterContextUnwind::SavedLocationForRegister (#139817) a082f665f85b ARM: Start moving runtime libcall configuration out of TargetLowering (#142617) 23fd60d99619 [MSAN] support vpermilvar AVX instructions (#143053) 2680afb76bea [RISCV] Migrate zvqdotq reduce matching to use partial_reduce infrastructure (#142212) f5733b0b859a [lldb][Mach-O] Fix DWARF5 debugging regression for Mach-O 3e6a704b5fe3 Require x86 target for test. f671e1698cbd [AMDGPU] Autogenerate bitop3 asm and dags. NFCI. (#143430) b3837f139235 cfi: Re-enable tests with lld on i386. NFCI. ce4a7c4a66c8 LowerTypeTests: Stop creating inline bitset tests on 32-bit architectures. 474db6a85257 [NFC] Separate high-level-dependent portions of DWARFExpression (revised) (#143170) d099d953ef7c [lld] Add missing includes. (#143453) c9cf5c26d8d7 [mlir] Add window.workDoneProgress LSP capability (#143449) 4e6896244f41 [mlir][spirv] Add definitions for GL inverse hyperbolic functions (#141720) a8c2b431c7bc [AMDGPU] Autogenerate dst bytesel asm. NFCI. (#143429) ba7c6468a527 [AMDGPU] Fix getAsmVOP3Base SrcMods arguments. NFCI. (#143428) 55858527da9e PowerPC: Move runtime libcall configuration to RuntimeLibcallsInfo (#142542) f5e499a3383c Revert "[HIP] use offload wrapper for non-device-only non-rdc (#132869)" (#143432) add6acc33374 NFC: stray whitespace cleanup from clang/test/SemaCXX/destructor.cpp 6f6dc9c8ba82 [RISCV] Implement Feature Bits for B, E, H (#143436) 49049131bbfc [git][NFC] add clang-tidy formatting commits to .git-blame-ignore-revs (#143438) 3c02150f0202 Revert "[clang-format][NFC] Clean up fillRanges() in ClangFormat.cpp (#143236)" 28b753b18551 [Clang][NFC] Add nullptr check in InitializationSequence::InitializeFrom (#143067) 339797d75b3f [clang][analyzer] Update python dependency versions (#143433) 62cae4ffcb04 [AArch64] Fix a multitude of AArch64 typos (NFC) (#143370) 4a6d31f4bf0c [LV] Pass resume phi to fixReductionScalarResumeWhenVectorizing (NFC). 4d50b405f158 [libc++] Remap headers in …
1 parent fb7999d commit b3732c6

File tree

6,517 files changed

+270724
-157981
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,517 files changed

+270724
-157981
lines changed

external/llvm-project/.ci/compute_projects.py

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@
5757
".ci": {"llvm", "clang", "lld", "lldb"},
5858
}
5959

60+
# This mapping describes runtimes that should be enabled for a specific project,
61+
# but not necessarily run for testing. The only case of this currently is lldb
62+
# which needs some runtimes enabled for tests.
63+
DEPENDENT_RUNTIMES_TO_BUILD = {"lldb": {"libcxx", "libcxxabi", "libunwind"}}
64+
65+
# This mapping describes runtimes that should be tested when the key project is
66+
# touched.
6067
DEPENDENT_RUNTIMES_TO_TEST = {"clang": {"libcxx", "libcxxabi", "libunwind"}}
6168

6269
EXCLUDE_LINUX = {
@@ -180,16 +187,20 @@ def _compute_project_check_targets(projects_to_test: Set[str]) -> Set[str]:
180187
def _compute_runtimes_to_test(projects_to_test: Set[str]) -> Set[str]:
181188
runtimes_to_test = set()
182189
for project_to_test in projects_to_test:
183-
if project_to_test not in DEPENDENT_RUNTIMES_TO_TEST:
184-
continue
185-
runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_TEST[project_to_test])
190+
if project_to_test in DEPENDENT_RUNTIMES_TO_TEST:
191+
runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_TEST[project_to_test])
192+
if project_to_test in DEPENDENT_RUNTIMES_TO_BUILD:
193+
runtimes_to_test.update(DEPENDENT_RUNTIMES_TO_BUILD[project_to_test])
186194
return runtimes_to_test
187195

188196

189-
def _compute_runtime_check_targets(runtimes_to_test: Set[str]) -> Set[str]:
197+
def _compute_runtime_check_targets(projects_to_test: Set[str]) -> Set[str]:
190198
check_targets = set()
191-
for runtime_to_test in runtimes_to_test:
192-
check_targets.add(PROJECT_CHECK_TARGETS[runtime_to_test])
199+
for project_to_test in projects_to_test:
200+
if project_to_test not in DEPENDENT_RUNTIMES_TO_TEST:
201+
continue
202+
for runtime_to_test in DEPENDENT_RUNTIMES_TO_TEST[project_to_test]:
203+
check_targets.add(PROJECT_CHECK_TARGETS[runtime_to_test])
193204
return check_targets
194205

195206

@@ -216,16 +227,16 @@ def get_env_variables(modified_files: list[str], platform: str) -> Set[str]:
216227
projects_to_test = _compute_projects_to_test(modified_projects, platform)
217228
projects_to_build = _compute_projects_to_build(projects_to_test)
218229
projects_check_targets = _compute_project_check_targets(projects_to_test)
219-
runtimes_to_test = _compute_runtimes_to_test(projects_to_test)
220-
runtimes_check_targets = _compute_runtime_check_targets(runtimes_to_test)
230+
runtimes_to_build = _compute_runtimes_to_test(projects_to_test)
231+
runtimes_check_targets = _compute_runtime_check_targets(projects_to_test)
221232
# We use a semicolon to separate the projects/runtimes as they get passed
222233
# to the CMake invocation and thus we need to use the CMake list separator
223234
# (;). We use spaces to separate the check targets as they end up getting
224235
# passed to ninja.
225236
return {
226237
"projects_to_build": ";".join(sorted(projects_to_build)),
227238
"project_check_targets": " ".join(sorted(projects_check_targets)),
228-
"runtimes_to_build": ";".join(sorted(runtimes_to_test)),
239+
"runtimes_to_build": ";".join(sorted(runtimes_to_build)),
229240
"runtimes_check_targets": " ".join(sorted(runtimes_check_targets)),
230241
}
231242

external/llvm-project/.ci/compute_projects_test.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,17 @@ def test_ci(self):
205205
"check-cxx check-cxxabi check-unwind",
206206
)
207207

208+
def test_lldb(self):
209+
env_variables = compute_projects.get_env_variables(
210+
["lldb/CMakeLists.txt"], "Linux"
211+
)
212+
self.assertEqual(env_variables["projects_to_build"], "clang;lldb;llvm")
213+
self.assertEqual(env_variables["project_check_targets"], "check-lldb")
214+
self.assertEqual(
215+
env_variables["runtimes_to_build"], "libcxx;libcxxabi;libunwind"
216+
)
217+
self.assertEqual(env_variables["runtimes_check_targets"], "")
218+
208219

209220
if __name__ == "__main__":
210221
unittest.main()

external/llvm-project/.ci/metrics/metrics.py

Lines changed: 2 additions & 201 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
import collections
22
import datetime
3-
import dateutil
43
import github
5-
import json
64
import logging
75
import os
86
import requests
9-
import sys
107
import time
118

129
from dataclasses import dataclass
@@ -55,18 +52,6 @@
5552
# by trial and error).
5653
GRAFANA_METRIC_MAX_AGE_MN = 120
5754

58-
# Lists the BuildKite jobs we want to track. Maps the BuildKite job name to
59-
# the metric name in Grafana. This is important not to lose metrics history
60-
# if the workflow name changes.
61-
BUILDKITE_WORKFLOW_TO_TRACK = {
62-
":linux: Linux x64": "buildkite_linux",
63-
":windows: Windows x64": "buildkite_windows",
64-
}
65-
66-
# Number of builds to fetch per page. Since we scrape regularly, this can
67-
# remain small.
68-
BUILDKITE_GRAPHQL_BUILDS_PER_PAGE = 50
69-
7055

7156
@dataclass
7257
class JobMetrics:
@@ -86,181 +71,6 @@ class GaugeMetric:
8671
time_ns: int
8772

8873

89-
def buildkite_fetch_page_build_list(
90-
buildkite_token: str, after_cursor: str = None
91-
) -> list[dict[str, str]]:
92-
"""Fetches a page of the build list using the GraphQL BuildKite API.
93-
94-
Returns the BUILDKITE_GRAPHQL_BUILDS_PER_PAGE last running/queued builds,
95-
or the BUILDKITE_GRAPHQL_BUILDS_PER_PAGE running/queued builds
96-
older than the one pointer by |after_cursor| if provided.
97-
The |after_cursor| value is taken from the previous page returned by the
98-
API.
99-
100-
Args:
101-
buildkite_token: the secret token to authenticate GraphQL requests.
102-
after_cursor: cursor after which to start the page fetch.
103-
104-
Returns:
105-
The most recent builds after cursor (if set) with the following format:
106-
[
107-
{
108-
"cursor": <value>,
109-
"number": <build-number>,
110-
}
111-
]
112-
"""
113-
114-
BUILDKITE_GRAPHQL_QUERY = """
115-
query OrganizationShowQuery {{
116-
organization(slug: "llvm-project") {{
117-
pipelines(search: "Github pull requests", first: 1) {{
118-
edges {{
119-
node {{
120-
builds (state: [CANCELING, CREATING, FAILING, RUNNING], first: {PAGE_SIZE}, after: {AFTER}) {{
121-
edges {{
122-
cursor
123-
node {{
124-
number
125-
}}
126-
}}
127-
}}
128-
}}
129-
}}
130-
}}
131-
}}
132-
}}
133-
"""
134-
query = BUILDKITE_GRAPHQL_QUERY.format(
135-
PAGE_SIZE=BUILDKITE_GRAPHQL_BUILDS_PER_PAGE,
136-
AFTER="null" if after_cursor is None else '"{}"'.format(after_cursor),
137-
)
138-
query = json.dumps({"query": query})
139-
url = "https://graphql.buildkite.com/v1"
140-
headers = {
141-
"Authorization": "Bearer " + buildkite_token,
142-
"Content-Type": "application/json",
143-
}
144-
data = requests.post(url, data=query, headers=headers).json()
145-
# De-nest the build list.
146-
if "errors" in data:
147-
logging.info("Failed to fetch BuildKite jobs: {}".format(data["errors"]))
148-
return []
149-
builds = data["data"]["organization"]["pipelines"]["edges"][0]["node"]["builds"][
150-
"edges"
151-
]
152-
# Fold cursor info into the node dictionnary.
153-
return [{**x["node"], "cursor": x["cursor"]} for x in builds]
154-
155-
156-
def buildkite_get_build_info(build_number: str) -> dict:
157-
"""Returns all the info associated with the provided build number.
158-
159-
Note: for unknown reasons, graphql returns no jobs for a given build,
160-
while this endpoint does, hence why this uses this API instead of graphql.
161-
162-
Args:
163-
build_number: which build number to fetch info for.
164-
165-
Returns:
166-
The info for the target build, a JSON dictionnary.
167-
"""
168-
169-
URL = "https://buildkite.com/llvm-project/github-pull-requests/builds/{}.json"
170-
return requests.get(URL.format(build_number)).json()
171-
172-
173-
def buildkite_get_incomplete_tasks(buildkite_token: str) -> list:
174-
"""Returns all the running/pending BuildKite builds.
175-
176-
Args:
177-
buildkite_token: the secret token to authenticate GraphQL requests.
178-
last_cursor: the cursor to stop at if set. If None, a full page is fetched.
179-
"""
180-
output = []
181-
cursor = None
182-
while True:
183-
page = buildkite_fetch_page_build_list(buildkite_token, cursor)
184-
if len(page) == 0:
185-
break
186-
cursor = page[-1]["cursor"]
187-
output += page
188-
return output
189-
190-
191-
def buildkite_get_metrics(
192-
buildkite_token: str, previously_incomplete: set[int]
193-
) -> (list[JobMetrics], set[int]):
194-
"""Returns a tuple with:
195-
196-
- the metrics recorded for newly completed workflow jobs.
197-
- the set of workflow still running now.
198-
199-
Args:
200-
buildkite_token: the secret token to authenticate GraphQL requests.
201-
previously_incomplete: the set of running workflows the last time this
202-
function was called.
203-
"""
204-
205-
running_builds = buildkite_get_incomplete_tasks(buildkite_token)
206-
incomplete_now = set([x["number"] for x in running_builds])
207-
output = []
208-
209-
for build_id in previously_incomplete:
210-
if build_id in incomplete_now:
211-
continue
212-
213-
info = buildkite_get_build_info(build_id)
214-
metric_timestamp = dateutil.parser.isoparse(info["finished_at"])
215-
for job in info["jobs"]:
216-
# This workflow is not interesting to us.
217-
if job["name"] not in BUILDKITE_WORKFLOW_TO_TRACK:
218-
continue
219-
220-
# Don't count canceled jobs.
221-
if job["canceled_at"]:
222-
continue
223-
224-
created_at = dateutil.parser.isoparse(job["created_at"])
225-
scheduled_at = dateutil.parser.isoparse(job["scheduled_at"])
226-
started_at = dateutil.parser.isoparse(job["started_at"])
227-
finished_at = dateutil.parser.isoparse(job["finished_at"])
228-
229-
job_name = BUILDKITE_WORKFLOW_TO_TRACK[job["name"]]
230-
queue_time = (started_at - scheduled_at).seconds
231-
run_time = (finished_at - started_at).seconds
232-
status = bool(job["passed"])
233-
234-
# Grafana will refuse to ingest metrics older than ~2 hours, so we
235-
# should avoid sending historical data.
236-
metric_age_mn = (
237-
datetime.datetime.now(datetime.timezone.utc) - metric_timestamp
238-
).total_seconds() / 60
239-
if metric_age_mn > GRAFANA_METRIC_MAX_AGE_MN:
240-
logging.warning(
241-
f"Job {job['name']} from workflow {build_id} dropped due"
242-
+ f" to staleness: {metric_age_mn}mn old."
243-
)
244-
continue
245-
246-
metric_timestamp_ns = int(metric_timestamp.timestamp()) * 10**9
247-
workflow_id = build_id
248-
workflow_name = "Github pull requests"
249-
output.append(
250-
JobMetrics(
251-
job_name,
252-
queue_time,
253-
run_time,
254-
status,
255-
metric_timestamp_ns,
256-
workflow_id,
257-
workflow_name,
258-
)
259-
)
260-
261-
return output, incomplete_now
262-
263-
26474
def github_get_metrics(
26575
github_repo: github.Repository, last_workflows_seen_as_completed: set[int]
26676
) -> tuple[list[JobMetrics], int]:
@@ -478,17 +288,13 @@ def upload_metrics(workflow_metrics, metrics_userid, api_key):
478288
def main():
479289
# Authenticate with Github
480290
github_auth = Auth.Token(os.environ["GITHUB_TOKEN"])
481-
buildkite_token = os.environ["BUILDKITE_TOKEN"]
482291
grafana_api_key = os.environ["GRAFANA_API_KEY"]
483292
grafana_metrics_userid = os.environ["GRAFANA_METRICS_USERID"]
484293

485294
# The last workflow this script processed.
486295
# Because the Github queries are broken, we'll simply log a 'processed'
487296
# bit for the last COUNT_TO_PROCESS workflows.
488297
gh_last_workflows_seen_as_completed = set()
489-
# Stores the list of pending/running builds in BuildKite we need to check
490-
# at the next iteration.
491-
bk_incomplete = set()
492298

493299
# Enter the main loop. Every five minutes we wake up and dump metrics for
494300
# the relevant jobs.
@@ -500,13 +306,8 @@ def main():
500306
github_repo, gh_last_workflows_seen_as_completed
501307
)
502308

503-
bk_metrics, bk_incomplete = buildkite_get_metrics(
504-
buildkite_token, bk_incomplete
505-
)
506-
507-
metrics = gh_metrics + bk_metrics
508-
upload_metrics(metrics, grafana_metrics_userid, grafana_api_key)
509-
logging.info(f"Uploaded {len(metrics)} metrics")
309+
upload_metrics(gh_metrics, grafana_metrics_userid, grafana_api_key)
310+
logging.info(f"Uploaded {len(gh_metrics)} metrics")
510311

511312
time.sleep(SCRAPE_INTERVAL_SECONDS)
512313

0 commit comments

Comments
 (0)