[AIROCMLIR-1056] LLVM Upstream Merge - June 2026#2427
Conversation
…a9bd
c8a7d0e0a9bd Update LLVM_MAIN_REVISION to 587102 (#3229)
9b25fcafaf0f merge main into amd-staging (#3227)
0757ea391079 [Comgr][hotswap] Fix scratch VGPR misallocation and fail safe on branch overflow (#3137)
852421574608 [Comgr] Fix comgr-isa-metadata.def for gfx12-5-generic (#3225)
23f7b684ae69 merge main into amd-staging
964ecc98e16c merge main into amd-staging (#3223)
06f4b027b2df [NFC][LLVM][NVPTX] Minor code cleanup in NVVMReflect (#207549)
81200d780eb6 [NFC][LLVM][NVPTX] Use namespace qualifiers to define functions (#207546)
f7f06613d4fc [RISCV] Pass structs containing riscv_rvv_vector_bits types using vector registers. (#203601)
3d517ee64865 [NFC] Fix dxil-dis/waveactiveballot.ll test (#207446)
6da965ce85fc [mlir][python] Set a static version in the standalone example pyproject.toml (#207860)
6e0311f07760 [Archive][COFF] Split hybrid COFF files when adding them to an archive (#205160)
8475e376043d [lldb] Change Python site-packages path (#207771)
1e7e166e39f4 [bazel][libc] Port 03c62ca40d pt2 (#207846)
6f47c92a82cc Revert "[Clang] Enable -Wunused-template under -Wall" (#207848)
5275ff2efaa9 [Clang][HIP] Add LLVM vendored device headers for `*-llvm` triple (#203980)
1fd46543f6b8 [lldb-dap] Migrate DAP exceptions test. (#207029)
e27218ee2423 Reapply "DebugInfo: Shrink-to-fit some containers to reduce peak memory usage" (#199145) (#201160)
c63adb28aa78 [clang] Cap MS RTTI TypeDescriptor name strings like MSVC does (#206317)
ff11bbce9e87 [clang] Reland: fix getTemplateInstantiationArgs (#207825)
94b325469b20 Revert "[Clang][Sema] Add -Wstringop-overread warning for source buffer overreads (#183004)" (#207840)
1b6f1528bbb9 [llvm][DebugInfo] Add DW_LNAME_ support to DWARFDie::getLanguage (#207151)
3df648c5678f [InstCombine] Add tests for select-abs through multiply (NFC) (#207833)
8014a1d208f0 [Support] Fix undefined shift in decodeULEB128/decodeSLEB128 for overlong encodings (#205907)
c9c7fdde03d0 [flang] keep runtime allocator for pinned allocations (#207822)
61d766817b9e [Clang][counted_by] Use the expr's RecordDecl that transitively contains the counter field (#205903)
23a01e949a55 [AArch64] Support 4-byte stack protector with large code model. (#205956)
f147395634dd [gn build] Port commits (#207839)
b69ec1023d66 Revert "[VPlan] Refine hasEarlyExit check." (#207838)
e64a71f09b01 [VPlan] Refine hasEarlyExit check. (#207791)
09f2062da3b3 clang: Use getFloatingPointType instead of reinventing it (#207213)
5a74b398d27e [lldb] Remove ConstString from SectionList::FindSectionByName (#207296)
2e1f347c3811 [libc++][ranges] Applied `[[nodiscard]]` to `views::zip_transform` (#207120)
f348d964af44 [Clang] Enable -Wunused-template under -Wall (#206123)
ddebfb9d1cbd [VPlan] Add intrinsic constant folding test for replicate recipes. (NFC) (#207792)
642c9f69772d [docs][NFC] Some small cleanup in llvm_sphinx (#207818)
2ef9c9d02409 [bazel][libc] Port 03c62ca40d (#207820)
5dfc35a50514 [docs] Disable sphinx's numfig option (#207817)
2d0f294d1b27 [AMDGPU] Precommit for pulling NUW large buffer offsets into SOFFSET (#207795)
cd44a2ab2721 [CI] Drive amd-staging automerge gating checks from GitHub REQUIRED_GATING_CHECKS variable
85653773caa8 [CI] Merge "main into amd-staging" sync PRs via gated admin merge
4868f2c1edfe [lldb] Modify test binaries that link against LLDB to use LLVM dylib (#207290)
3489b62a07e6 Fix numbering in AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst (#3219)
d2b6f83980ed clang: Remove useFP16ConversionIntrinsics target option (#207212)
8b9b44bee15e merge main into amd-staging
396354a3f7f6 [libc++] Install missing dependencies for running benchmarks on macOS (#207810)
9a6bac9ce742 Amd/dev/rlieberm/reland spmd (#3220)
2e0c6a254c4a [lldb] Fix TestFrameProviderCircularDependency.py on Arm (#207804)
3df6ca69c9e2 [AMDGPU][test] Use mir test for regalloc issue (#197363)
5e5490f2df9c [X86] combineToHorizontalAddSub - use PostShuffleMask to determine undemanded subvectors (#207789)
3ae61eb220dc [InstCombine] Turn Add into Or even when undef (#171556)
000f6bf9cb7e [flang][cuda] Recognize on_device() by its Fortran leaf name in CUFFunctionRewrite (#207298)
dbd7511ad288 [LowerBufferFatPointers] Correctly handle alignment modes (#134329)
c8c20662e036 ValueTracking: Improve frexp known range from dominating conditions (#206927)
76d253e2736c [docs][AMDGPU] Document amdgpu.buffer.oob.mode more, especially on fat pointers (#134734)
b74512899707 [NFC][PatternMatch] Simplify m_Intrinsic impl using variadic templates (#207211)
2590272e5674 [lldb] Move RegisterInfo and RegisterSet into their own header (#207286)
7b9a58e6cfa0 [libc] Implement fdopendir (#206590)
a4107d67f919 [libc++] Don't install custom Python on self-hosted macOS runners (#207794)
03c62ca40d19 [libc] Add Q length modifier to support float128 conversions in printf (#203077)
5e265484030e [NFC] Fix "is is" typos (#206288)
d1eae28e79d3 [InstSimplify] fold the identity interleave (#206646)
69ee64790ed6 InstCombine: Add baseline test for implied frexp exponent ranges (#206926)
96904e83cf69 [scudo] Make death tests use SCUDO_XXX_DEATH_TEST. (#206196)
82d27f67b6aa Revert "[ORC] Track __emutls_t definitions in IRMaterializationUnit" (#207775)
cde1cc48b471 merge main into amd-staging (#3217)
804a081a797c [GlobalISel][AArch64] Legalize PHIs with vectors smaller than 64-bits (#207356)
0f0b1c76a4d8 [libc++] Run the libcxx-run-benchmarks action on macOS in addition to Linux (#207780)
427460814597 [AMDGPU] Fix printf %s buffer slot oversized when strlen % 4 == 0 (#207772)
2e75acd861aa [libc][test] Remove internal linkage from ErrnoSetterMatcher helpers (NFC) (#207707)
9c823964dd43 [NFC][LLVM][NVPTX] Initialize pass-ids to zero (#207547)
78bc590bbc89 [IR][NVVM] Fixed null pointer deference in AsmWriter pretty printer (#207223)
20e12152f9b2 [TableGen][CC][NFC] Emit idiomatic guards for CallingConv. (#207758)
c35cba42e672 [SandboxIR] Fix pass pipeline parsing after aux arguments (#207237)
b0d35497b666 [MIR] Serialize/Deserialize MachineInstr::LRSplit flag (#197362)
a913e893c3f3 [SLP]Support Mul as the main copyable instruction
902273247db1 [clang][tablegen] Allow qualifiers on _Vector builtin types (#207091)
8e8e4e50f501 [flang][OpenMP][NFC] Move variant-matching context to semantics (#207087)
1aa74f6d98b3 [Analysis] Modernize CFGBlock GraphTraits; drop generic dominator tree special case (#207552)
f0bbde8630ed [AArch64] optimize lowering for icmp on i128 when RHS is an immediate (#181822)
d3d3fdd940d7 Disable test not supported on MSVC (#207752)
60cccae52fda [NFC] Remove dead code to fix build (#207753)
4ad89d11db9e [SystemZ][z/OS] Remove temporary gnu as output on z/OS (#181906)
ea165572a5e6 IR: Use switch in getFloatingPointType (#207750)
664515302536 [clang-scan-deps] Migrate more tests through scan-deps-filter (#207283)
b30e3c23a537 [flang][cuda] Make the second LAUNCH_BOUNDS() operand optional (#207273)
3b57d53a792c [LoopInfo] Reuse DomTree's own DFS numbering in analyze() (#207650)
d930a16182ae [Offload] run clang-format on olCreateProgram unit tests (#207757)
0cb5782f7ae0 [docs][AMDGPU] Correct spelling of DW_AT_LLVM_memory_space (#207745)
3ed7f90ec978 [libc++][ranges] Applied [[nodiscard]] to `elements_view` (#206589)
b8c1776668c2 [Clang] Add constant evaluation support for x86 psadbw (#169253)
39505025e424 [ClangLinkerWrapper] Use discrete steps in verbose mode (#204186)
6575e395e3f3 [ELF] Reuse SHT_GROUP selection verdicts in initializeSections. NFC (#207437)
343197e8da28 [CIR] Fix lit tests after explicit target feature for module asm (#207741)
26380406c852 [AMDGPU] Copy the nofpclass attribute onto a matching kernarg load (#207734)
8b50847a31f9 [clang][AST] Inline StmtVisitor fallback methods (#203125)
1ac400e69f26 [clang][Frontend] Batch LangOptions context hashing (#203162)
2c7d18c6ad5f [offload] add unit tests for olCreateProgram (#206462)
750f3bf80325 [Hexagon] Add XQFloat post-RA compliance checker (#207082)
c58675e91042 [libc++] Make atomic contention tables constinit (#207456)
acfbfca98888 [flang][HLFIR] Relax InlineElementals to support more than two users (#186916)
4109893350fe [mlir][ArithToAMDGPU] Skip tensor scaling ops (#207327)
0b94c13b6340 [Clang] Reduce the number of ways we have to print a codepoint. (#206990)
6dcadef39ffd [JumpTableToSwitch] Bail out on function type mismatch (#207700)
19368a42807e [MLIR][OpenMP] Prevent openmp-device attribute being added to the host (#207719)
7c7d68b14560 Revert "Revert "[Flang][OpenMP][MLIR] Improve SPMD-No-Loop handling""
f1b7f9758f4a [clang-tidy] Compact the confusable identifier table (#202626)
6dd93e338442 [mlir][tosa] Fix TosaNarrowTypes conversion order to prevent rollback crash (#207372)
5ddd08310373 [clang][AST] Outline constant-interpreter shift diagnostics (#202633)
4c6e57888514 [SystemZ][z/OS] Show instruction encoding in HLASM output (#181904)
5f66b6993354 [clang] accept member specializations declared in class scope (#207256)
dcf969eaf2c2 [scudo] Remove internal linkage from LargeBlock header helpers (NFC) (#207708)
62708d103022 [CodeGen] Compact cost table entries (#202836)
3fbe826e3707 [MLIR][OpenMP] Prevent openmp-device attribute being added to the host (#207719)
7cb7f074b71e [compiler-rt][sanitizer_common] Fix -Wunused-template in test helpers… (#207706)
a3624cb45f2a [ORC] Track __emutls_t definitions in IRMaterializationUnit (#207161)
c827c9011f81 Improving MinUI and MaxUI implementation in valuebounds (#207701)
6eb0dac37aa4 [flang][cuda] Only strip internal linkage for device globals (#207521)
bed625b42eee [InstCombine] Propagate debuglocs when replacing insert->extract elts (#206026)
9d59248664dd [AMDGPU] Do not copy the range attribute onto a widened kernarg load (#207655)
6840e6042cf5 [Clang][ExprConstant] Normalize aux target builtin IDs before dispatch (#201805)
7f8dcfacbbcd [LVI] Do not walk past cross-lane ops while determining value range (#207711)
25becf200620 [MC] Move addEncodingComment() into new base class MCAsmBaseStreamer (#188585)
ed2b1d792036 [mlir][tosa] Add new block-scaled tensor type and support for MXFP CAST (#203583)
04a26a032ac7 [X86] Add ISD::VECREDUCE_MUL lowering instead of matching in DAG (#207593)
592acb361000 [Clang] Add `std:c++26preview` for MSVC compat (#207693)
e1ecc759dfc4 [orc-rt] Add SPSSequence serialization from iterator_range. (#207715)
5c243188cf63 [SPIR-V] Diagnose stores into read-only storage classes (#207331)
b0623c024c2d [SPIR-V] Replace isPipeOrAddressSpaceCastBI hardcoded list with table lookup (#207147)
cb740ebaae9e [MergeICmps][DebugInfo] Preserve debug locations in mergeComparisons (#205796)
ecca07cc2180 Regen llvm/test/Transforms/Inline/always-inline-phase-ordering.ll
1df080a267ee [X86] Add test for VPBLENDW Tuning (#179906)
fb1de34e8db8 [Clang][Sema] Warn on a function reference compared/converted to null (#204944)
3264e4eba830 [SPIR-V] Fix invalid OpIMul emitted for i1 multiplication (#207388)
b9347e0f1bcf [RISCV] Fold vp.reverse of vp.load through binary ops (#205529)
8df9c8239cb3 merge main into amd-staging
1dd849b006fe [DAG] isKnownToBeAPowerOfTwo - add DemandedElts + OrZero handling to ISD::ZERO_EXTEND cases (#207697)
4226a8c4a270 Revert "[llvm-dwarfdump][LineCov 3/3] Add IR analysis for variable coverage" (#207703)
5f4940efe9c1 [llvm-dwarfdump][LineCov 3/3] Add IR analysis for variable coverage (#195342)
292c99c02eba [AMDGPU] Improve SelectionDAG codegen around barrier intrinsics (#207688)
eac4725ef0b5 [LV] Tests for combined exit conditions (#205104)
07e98388aea4 [RISCV][P-ext] Support packed reverse intrinsics (#207574)
dc9edeb0453b [AssumeBundleQueries] Remove unused code (#203927)
3ce39bb78b9c [offload] Fix duplicate __llvm_write_custom_profile on Windows PGO builds (#207366)
c196103a5b61 [lldb] Reintroduce ConstString stats (#207694)
18c0f3a20c46 [libc++] Use _LIBCPP_KEEP_TRANSITIVE_INCLUDES_LLVM23 in <future> (#207668)
335a584e9d95 [lldb-dap] Add tests for DAPConnection and EventHistory (#207037)
57b1519e4914 [RISCV][NFC] Remove unnecessary ZIP/VISNI checks (#207683)
f9f11eb515a8 [AArch64][InstCombine] xor(cmpne) -> cmpeq (#207007)
c7235dceaf25 merge main into amd-staging (#3213)
9de8a97a9e35 [MCP] Fix bug in spill copy elimination folding chain across a call. (#206858)
58bc8dff332e [mlir][x86] AMX memref source check (#206785)
fcfc9167b628 Reapply [IR] Explicitly specify target feature for module asm (#204548) (#207677)
4ffcfdfac177 [lldb] Reject NULL key in PythonDictionary::GetItem (#205753)
8e85d1f3d458 [lldb][test] Add expedited-stack-memory backtrace/locals packet test (#205897)
8470dfb1e619 [lldb] Guard DW_OP_convert against null DWARF unit and empty stack (#207008)
65bbeff0bdcf [mlir][SPIR-V] Add SPIRVToLLVM conversion for GL.FClamp/SClamp/UClamp (#203831)
334eb772a25d [mlir][SPIR-V] Add SPIRVToLLVM conversions for GL.FMix and CL.mix (#206935)
831ad2ee6af8 [libc] Add struct ipv6_mreq and IPv6 socket options (#206448)
b81a4c10c873 [AMDGPU] Fix s.barrier.init/signal.var member count mask (#207660)
46367bb4fbc2 [X86] Attempt to narrow XMM->i64 (v)movq -> (v)movd if the upper 32-bits are known to be zero (#207615)
672342f104a1 [NVPTX] Regenerate check lines (NFC) (#207684)
40d671f85d28 [ADT][NFC] Use isEqual for ImmutableSet/Map tree canonicalization (#207596)
74eebbe02b85 [BOLT] Fixed PerfScript unittest for X86 (#207408)
753ceecfdcdf [libc] Implement sockatmark (#205400)
b30c365833b2 [clang-format][NFC] Refactor UnwrappedLineParser::parseLabel (#207674)
2866d2333c47 [AArch64][Bitcode] Use target memory for SME state (#205829)
bf74249b5ecd [Clang] Require X86 backend for some coroutine tests (#207681)
0c38875e1ae4 [lldb] Revert stop-on-fork and stop-on-vfork (#207663)
d93dfabfba1b [NVPTX] Add missing Range attr to tensormap.replace intrinsics. (#207099)
61679c3a299b [libc] Add protocol family constants (#206911)
d180df7d2d54 [SPIR-V] Support i64 smul.fix/umul.fix via SPV_ALTERA_arbitrary_precision_integers (#207405)
e9e37211456e [AArch64] Remove duplicate combine-max-min.ll test. NFC (#207679)
4341c0c9b8b8 [mlir][memref] Implement ValueBoundsOpInterface for memref.extract_strided_metadata/assume_alignment (#206466)
46aa983d0990 [clang][analyzer] Add documentation for unix modeling checker options (NFC) (#207225)
cb942d009a5e [libc++abi] Always enable -fvisibility=hidden (#207333)
acafa250fd7a [LoongArch] Remove inaccurate LASX conversion pattern and use [X]VFFINT.S.L instead (#207107)
1b2efd2e079a [libc++] Split the multidimensional algorithms out of uninitialized_algorithms.h (#207447)
7bdca287b102 [InlineCost] Never inline functions with incompatible target features (#205113)
583035fb132c Update LLVM_MAIN_REVISION to 586900 (#3214)
ae3d310fa38f [clangd] Null-check AutoTypeLoc in CollectExtraHighlightings::VisitDeclaratorDecl (#207323)
f44ec21260a1 [clang][bytecode][NFC] Move float->ap cast ops to the source file (#207592)
a280b1b4f841 [Hexagon] Allow reservation of caller saved registers via -ffixed-rXX (#205733)
0ac6b4bd5b49 [clang][bytecode][NFC] Remove unnecessary loop variable (#207649)
aae9f9ed88ed [clang][bytecode][NFC] Move Scope classes to source file (#207647)
a929f649b490 [AMDGPU][NPM] Complete AsmPrinter support (#203509)
467390e7c08a [InstCombine] Skip redundant demanded element queries in insert chains (#205948)
45574a58a029 [RISCV] Remove -riscv-v-fixed-length-vector-lmul-max option (#207312)
4eb56cf497aa [InstSimplify] Fold value-preserving zext/sext of trunc (#204089)
4d7b4fd9879f [GitHub] Build llvm-size for test-suite.yml workflow (#207642)
6999884f9959 merge main into amd-staging
774f8a0b868c [libc][complex] Enable cabs and cabsf in libc (#206677)
f7d75024bf19 [SPARC] Make SPARC_REGISTER Sparc specific in llvm-readobj and LLDB (#206316)
311c3cee0c6c [NewPM] Port StaticDataAnnotator
dc56f7104e03 [NewPM] Port StaticDataSplitter
224b9d2ac05d [libc++] Make `<set>` `std::multiset` constexpr as part of P3372R3 (#206257)
9b2d44a51252 [ObjectYAML][NFC] Hoist ContiguousBlobAccumulator into a shared header (#207306)
deecf8dce7dd [docs][AMDGPU] move DMA operations to a separate file (#206917)
29fa6a82476b [RISCV][P-ext] Support Packed Merge. (#207110)
3c80ac5c2df0 Revert "Revert "[AMDGPU] Promote uniform i16 ABS to i32 (#204526)""
17c2161c7400 Revert "[AMDGPU] Promote uniform i16 ABS to i32 (#204526)"
319c1f1c1132 [NewPM] Port StaticDataProfileInfo and wire into x86 AsmPrinter
434e4e15f6a3 [RISCV] Run MakeCompresible at Os as well (#207172)
bb639a128559 [MLIR][NVVM]Import llvm intrinsics for nvvm.barrier (#202862)
f1d1746c4df9 [M68K][GlobalISel] Remove dependency on legal ruleset (#207614)
ecdd6403fd21 [LoopInfo] Avoid a throwaway vector in getLoopsInPreorder. NFC (#207607)
051bcefe0efe [GenericDomTreeConstruction] Store the semidominator value in Label (#207603)
3be67c72f5d5 [ELF] Add target-specific relocation scanning for SPARCV9 (#206284)
076af822d2bf [GlobalISel] Remove LegacyLegalizerInfo (#197308)
925f4f27b724 [libc++] Add an ABI flag to optimize mersenne_twister_engine (#206423)
a68147f0f056 [libc++] Use std::to_chars to format thread::id and canonicalize the representation across platforms (#181624)
4a02e116e58d [libcxxabi] Re-enable `thread_local_destruction_order.pass.cpp` on FreeBSD (#186129)
d8b223292490 [InstCombine] Fold fpto{u,s}i of int-cast fdiv into {u,s}div (#205853)
e3c881815ea2 [InstCombine] Fold commuted add of udiv/urem by two (#206272) (#207462)
5bc19784053e [MC][NFC] Store SubTypeKV names as string table (#207580)
9cd1001509c8 [GlobalISel] Add or_and_and pattern from SelectionDAG (#204618)
bfca639ab943 [CodeGen][NFC] Store CPU model index in SubTypeKV (#207351)
4f0329682dd9 merge main into amd-staging (#3200)
2ac46a3b86ba [AArch64] Update some arith and mul tests. NFC (#207589)
67d9abb916ac [GenericDomTreeConstruction] Use 0-based DFS numbering (#207524)
ecbadb43064a [CIR][AArch64] Upstream narrowing-subtraction NEON builtins (#207115)
9a858b68628a [DirectX] Fix format override in DXILPrettyPrinter.cpp (#207588)
d832bfe3c99a [libc++] Mark LWG4098 as resolved (#206295)
f2342e84e66c [SPARC] Don't combine misaligned memory ops with BSWAP (#206345)
a4b312912dbc merge main into amd-staging
4fb7bf3323ea [LifetimeSafety] Add multi-block support to buildOriginFlowChain (#204592)
32fe59cf3e6f merge main into amd-staging (#3196)
f26f3e659f4a [clang][CIR] Add lowering for Neon rounding builtins (#195021)
a8b40e80344d [llubi] Implement experimental vector intrinsics (#206899)
37f7fc7c0586 [RISC-V][RVY] Initial ISAInfo support for RVY
758f0394c015 [VPlan] Move consecutive vector pointer construction to VPBuilder (NFC). (#207563)
c4714e43dc36 [clang-format] Fix BlockIndent compat mapping of AlignAfterOpenBracket (#207187)
b0a64cf46adc [libc++] Mark LWG3454 as resolved (#207487)
5d13ff1e940b [MC] Generate FeatureKV with compact string table (#206331)
55669ac2f7df [Support][NFC] Use single predecessor array in DomTreeConstr (#207535)
8dd5bb6fe63c Update LLVM_MAIN_REVISION to 586882 (#3198)
5ec0eee3a67e [libc] Fix buildbot failure for bigint (#207534)
3aec6a40bb4e [Support] Remove virtual functions from formatv (#207516)
6b3433ae1900 [MC][NFC] Generate ComplexDeprecationInfos as function (#207496)
f33eb913f977 [AMDGPU][NFC] Remove direct access to FeatureKV (#206231)
8e210ddfed01 merge main into amd-staging
c7226ad68680 merge main into amd-staging (#3193)
7f449d38cd9d [SLP][NFC]Remove undef from the test, cleanup, NFC
c98a157d7d76 [SLP][NFC]Update test to avoid instructions folding, NFC
eaa33893a5d4 [VPlan] Add additional memory decision tests. (NFC) (#207537)
2925ca216d5a [AssumptionCache] Properly print assume operand bundles. (#207501)
3eb53013dca3 [VPlan] Make VPRegionValue a subclass of VPSymbolicValue. (NFC) (#196753)
163966489ab3 [Infra][Nightly] Enable rccl test to run on 1gpu (#3192)
beb4ca9295e2 merge main into amd-staging
725051d69b73 Mark test introduced in #205586 as unsupported on Windows because it creates paths that are too long (#207476)
fa7d2a86bfb2 [ProfileData] Fix formatting (#207442)
7a3767e361cc [clang][bytecode] Only pass OpPC if needed (#207479)
5b23e226ed8a [LifetimeSafety][NFC] Support printing propagated loans in Fact::dump (#207526)
143e5bf1935c [VPlan] Remove redundant VPIRValue cast in ::computeCost (NFC) (#207525)
33be7999a363 [DemandedBits] Track demanded bits for clmul instrinsics (#202415)
1ceada6b6466 [Docs][CodeView] Document `S_LOCAL` and `S_DEFRANGE*` (#190156)
580fac02f4ca [SLP][NFC]Remove undefs, NFC
e395479d5cf4 [GenericDomTreeConstruction] Speed up Semi-NCA construction (#207474)
4a2ad970c6fe [lldb] Add AMD GPU architectures to ArchSpec (#206369)
d23006de5d80 merge main into amd-staging (#3191)
64f834271e07 [clang] Remove always false comparisons (#207504)
103f170a390e [llvm-pdbutil] Support `--docnum` for yaml2pdb (#207058)
b105f35c2d0b [clang][bytecode][NFC] Unify "this pointer" naming in interp::Function (#207410)
6ae9fe5e2858 [cmake][NFC] Use `EXTRA_INCLUDES` in `tablegen` commands (#207514)
06554227c700 Reapply "[VPlan] Replace first-lane uses of BuildVector." (#206774) (#207512)
b3e8d7ebed1d [X86] Update #error to mention the right header name (#207507)
72070deb4d81 [APFloat] Extend fltSemantics with field for explicit integer bit (#204860)
bf09114d6164 [mlir][cmake][NFC] Remove duplicate `tablegen_compile_commands.yml` append (#207510)
645e02b88248 [lldb] Disable TestStopOnForkAndVFork on remote targets (#207509)
e173245deeaa [LV] Add test with BuildVector select condition. (NFC) (#207506)
924d71ef620a merge main into amd-staging
38ecfd2c0d9a [lldb] Add stop-on-fork and stop-on-vfork settings (#188710)
ab80358574ea [revPat] remove old spirv
5ea6fcc4b18a merge main into amd-staging (#3187)
f78d4b083b46 [LV] Use findUserOf to improve addReductionResultComputation (NFC) (#207427)
0649b2e7b39c [clang-tidy] Fix FP in misc-const-correctness (#206515)
b2755364764f [X86] Remove LowerToHorizontalOp vectorization lowering code (#207406)
fd7f674f2cc6 Update LLVM_MAIN_REVISION to 586852 (#3188)
c874b1b4b2bd [mlirbc] Address remaining missing encodings for builtin dialect. (#207488)
99c1a8c36e9f [Sparc] Handle two new cases in the GRLIB-TN-0010 workaround pass (#205780)
db0f427a25a4 [compiler-rt][nsan] Remove unused checkValueConsistency template (NFC) (#207441)
238dbdce63b4 [mlirbc] Add IntegerSetAttr (#207482)
5b53190d1209 [clang][bytecode] Remove unused local variable (#207480)
23827bac93a0 merge main into amd-staging (#3184)
951a60861a99 [clang][bytecode] Move the program counter into `InterpState` (#207393)
3ac5aeb11e8f merge main into amd-staging
e56864cf0b3a merge main into amd-staging
03e9c8f2ec6e [revPat] cleanup
9c6aed84a5b7 merge main into amd-staging (#3181)
0f1f456263b5 [FileCheck] Call out var captures on unmatched patterns (#206303)
76357610925c [llvm][object] handle GOFF in createObjectFile (#206636)
bf68b4165c41 [LV] Implement VPBuilder::createPtrAdd with createNoWrapPtrAdd (NFC) (#207467)
1381ef49fc5c [Clang] Add flags and lang option for C++2d (#203992)
5de2fb5112d0 [VPlan] Simplify VPHierarchicalChildrenIterator::operator*. NFC (#207464)
37fa9c4b74e9 [LAA] Use (Diff - 1) <u (Threshold - 1) for diff checks. (#188462)
a9c5602da71a [PowerPC] Custom Lower ABDU using branchless carry (#182704)
4fd535388e1b [gn build] Port 0418a88ae671 (#207463)
8ebdd278c335 merge main into amd-staging
e0289ad97908 [RISCV][P-ext] Use brev8 for bitreverse with Zbkb (#207338)
0418a88ae671 [z/OS][Clang] Reland Add wrapper headers to avoid macro name conflicts (#204472) (#207420)
365c26d5aba6 Put TextEncoding class in clang namespace to prevent naming conflicts (#207247)
ac0bc21bb3af Enable fexec-charset option (#138895)
66ae5b8f699a [gn build] Port f1aeaa7bd552 (#207458)
296ab5b03613 [gn build] Port e69038f9c2b1 (#207457)
a6f54816073f [gn build] Port b6976d223eeb (#207454)
0576c32331ea [gn build] Port bd338806e423 (#207455)
fbbf5df32b42 [gn build] Port 282416b6d457 (#207453)
e96a42daca51 [libc++] Fix SPEC benchmarks not producing a .lnt result file (#207450)
07ef930cd2aa [gn build] Port 24476abfac20 (#207452)
796dc1533958 [gn] Fix mistake from 4df00678d86fe (#207451)
43170c38063f [OpenMP][DeviceRTL] Remove obsolete __keep_alive
d05ff4419237 merge main into amd-staging (#3178)
3f724494ef0f [VPlan] Add VPBuilder::createVScale (NFC) (#207401)
cbb277a718bd [libc++abi][NFC] Avoid out parameter in dyn_cast_get_derived_info (#207326)
63b19740e0bc [ValueTracking] Fix frexp exponent range for nan/inf inputs (#202447)
320a8a4db872 [InstCombine] Don't blindly copy ninf when narrowing fptrunc(binop(fpext, fpext)) (#202489)
297261502dcf [X86] fmaddsub-combine.ll - remove 128/256-bit buildvector tests (#207436)
b6976d223eeb [clang-doc] Add Markdown AST node type definitions (#205609)
210834279ac6 [clang] fix redeclarations of the injected class name (#207301)
14d98081a574 [compiler-rt][hwasan] Remove internal linkage from check templates (NFC) (#207430)
4f64218c2aee [VPlan] Add m_VScale() pattern matcher. (NFC) (#207394)
80f2ae4b5681 [X86] zero_extend_vector_inreg.ll - regenerate checks to reduce diff in a future patch (#207424)
11d2e989db34 [X86] known-pow2.ll - regenerate checks to reduce diff in a future patch (#207425)
d24f20ab649a [X86] Pool sparse disassembler opcode rows (#202666)
554e32395cd5 [compiler-rt][sanitizer_common] Remove internal linkage from RegisterFlag (NFC) (#206308)
627b1645051f [AMDGPU] Remove obsolet __keep_alive declare in test (#207418)
0fd9b71a397c [NFC][LLVM][Verifier] Use auto when assigning result of `dyn_cast` (#207343)
e56187575b74 [ArrayRef] Make iterator_range constructor const-agnostic (#205183)
77cc8841df4f [SPIRV] Preserve FP types in atomic load/store instead of casting to integer (#194583)
e6cef24f6c5c [clang-format] Fix crash on numeric literals with an incomplete exponent (#206594)
d2b5a1fabf98 [clang-format] Fix annotating paren after in (#206810)
828b20f3ece7 [CI] Fix Teams notifier for Power Automate Workflows webhooks (#3103)
780298c44245 [NFC][LLVM] Define range attribute for `llvm.prefetch` args (#207300)
1ffae54e7ed2 [CostModel][X86] Reduce cost of pre-SSE41 select shuffle (#207400)
4ba692f421e0 Change ToLiteralEncodingConverter to a unique_ptr (#207258)
433eef6dea23 Revert "[IR] Explicitly specify target feature for module asm" (#207399)
6bc513523c70 [DebugInfo] Truncate implicit value constants to source type width (#206671)
e788a46f7311 [mlir][SPIR-V] Add SPIRVToLLVM lowering for GL Radians and Degrees ops (#205967)
fa0822a9dd7b [mlir][SPIR-V] Fix null deref in SpecConstantOperationOp::verifyRegions (#207328)
2a951083b1fd [mlir][SPIR-V] Guard getSizeInBytes() optionals in UnifyAliasedResourcePass rewriters (#207325)
eb9d61d8f50a Revert "[IR] Explicitly specify target feature for module asm (#204548)"
d1c2d8650ab1 Forward declare TextEncodingConverter in TextEncoding.h, move config.h into TextEncoding.cpp (#207382)
62f8a7b95711 [VectorCombine] isExtractExtractCheap - add dbg message showing OldCost vs NewCost (#207386)
ee82fc0ca6d2 [Clang] Fix crash on subscripting a complete matrix subscript expression (#207317)
ccfab9ee84ae [AArch64] Fix ReconstructShuffle for known vscale>1 (#205099)
624781038c03 [X86] haddsub-undef.ll - update remaining tests to match IR generated by middle-end (#207391)
c87a57fcce04 [Clang] Remove unused TokenKey::KEYNOZOS (#207132)
1d577d28b2d2 [analyzer][docs] Fix invalid MyST toctree 'numbered' option after Markdown migration (#207217)
7a3ed4d252ff [Clang][SVE ACLE] Remove +bf16 requirement from neon-sve bridge builtins. (#205332)
c1a016708ee3 [AMDGPU] Accept sext addresses when folding image ops to a16 (#203189)
a4e51ff84f7e [VPlan] Introduce m_Branch matcher (NFC) (#207383)
4cdb03356470 [VPlan] Optimize pre-increment IV latch users with tail folding (#206499)
ac47f992ffac [ADT][NFC] Remove unused includes in DenseMap/DenseSet headers (#207282)
afe7d8c4d0dc [CSKY] Fix build (#207389)
22e5273cc333 [mlir][OpenMP] Change device declare target functions to hidden visibility (#207234)
965b73ab185f [M68k] Fix build after removal of RegisterClasses pointer array (#207364)
df6e3809d218 [AArch64] Minor simplification in aarch64-ldst-opt with an early return (#207182)
3b908aaf1de3 [X86] haddsub-undef.ll - sync more testnames with their phaseordering equivalents (#207370)
61f64e3fecec [AMDGPU][InsertWaitCnt] Remove Leftover Comment (#207378)
4f06fa92b6cf [libc++][ranges] Enable CPO compile tests (#207123)
c010d108c85b merge main into amd-staging
ce68a9916a90 [AMDGPU][AsmParser] Fix representing src2 op_sel for MAC instructions (#206033)
35bbd6224676 [AArch64][llvm] Update POE2 thread-private system register names (#200428)
97f71863590c [ADT][NFC] Remove unused ValueInfoT from DenseSetImpl (#207277)
bb315b7e2953 [X86] Update (p)haddsub undef element tests to match the output IR from the middle-end (#207244)
1b976e98342c merge main into amd-staging (#3174)
59362e4224aa [lldb][test] Modernize and expand data-formatter-stl/generic/vbool (#206955)
47e3ac23cb90 [lldb][test] Truncate unexpectedly long test outputs (#206967)
c6579063cd66 [DebugInfo] Avoid std::function in DWARF verifier internals (#202866)
a4df89bcc69a [llvm-exegesis] Add raw PMU encoding in TargetPfmCounters tablegen (#201228)
38241083163a [mlir][linalg/scf/transform] scalable tiling and fusion for pack/unpack ops (#204007)
253d6f216a62 [CI][flang][OpenMP] Build OpenMP runtime mod files for flang tests (#206517)
aded5309868f [Clang][tests][NFC] Split __counted_by attribute testcases into two (#207144)
234960e7ad30 [LifetimeSafety] Point annotation suggestion location to fix-it insertion point (#207345)
ba8e423be48d [lldb][test] Add a function to spawn lldb-server platforms (#205083)
11438bc8e312 [AArch64] Combine undef UZP and NVCAST away. (#204623)
499eba67ee23 [SDAG][AArch64] Fold extract from pext to use status flags (#206443)
4d46b7afdab1 [clang][bytecode][NFC] Report error if HasGroup is set without types (#207334)
15b38829f76f [AArch64][FastISel] Update arm64-fast-isel-conversion.ll check lines (NFC) (#207159)
efcfff751f85 [libc++] Add assert test for string assign/append (#207164)
243211a9222d [ReleaseNotes] Remove leftover conflict marker (#207348)
67d7dfcfbc91 [AArch64] Fix reversed values in big-endian 128-bit atomics (#205760)
17e7497629cc [Dexter] Switch to using script-mode by default (#204369)
73e1c53474a4 [libc][ARM] Defend banked SP setup against register allocator (#206757)
473b0a3b727a Fix MSVC build after #206326 (again) (#207335)
0341dd51303f [IR] Explicitly specify target feature for module asm (#204548)
b0c9d8ad1078 [AArch64][InstCombine] Tidy [su]adalp combine (NFC) (#207219)
448e7fec76bd [LifetimeSafety] Track unary plus on a pointer (#207243)
2870ebbcb50d [CrossProjectTests] Fixup expect in ctor.cpp to accept multiple steps (#207337)
6de2b5f8f45d [Hexagon] Lower vselect instruction (#206675)
e8b509f10bf3 [clang] use decl itself in static assert failed boolean condition printer (#203736)
b8efbe920eeb Update LLVM_MAIN_REVISION to 586726 (#3176)
813f06de0df4 [AMDGPU] IGroupLP: Avoid DAG manipulation in greedyFind (#194827)
544767930532 Fix typo in release-documentation workflow (#207329)
2f3d02610748 [VPlan] Intersect all fast-math flags in VPIRFlags::intersectFlags (#204664)
f2334004d0ce [X86] matchUnaryShuffle - only prefer VZEXT_MOVL to VPMOVZX if it will fold away (#207031)
4d8ec1968023 [CodeGen][NFC] Remove RegisterClasses pointer array (#207204)
51e0c893151d [Sparc] Create MMO for STORE_BIG/LITTLE with MOStore (#206929)
805e89acff0d [Sparc] Mark LOAD_BIG/LOAD_LITTLE as MayLoad (#206924)
5969d640a349 [IR] Enable dereferenceable-at-point semantics (#204795)
aa7773bef31d [clang-tidy] Add regression tests for readability-redundant-typename. NFC. (#207318)
ac05f72d8fa8 [CodeGen] Merge TargetRegClass into MCRegClass (#207168)
d3b6ad1c11c2 [mlir-c] Reapply Add ConversionTarget dynamic legality C API (#207104) (#207253)
e49c8a036326 [libc++] Base string's alignment on __STDCPP_DEFAULT_NEW_ALIGNMENT__ (#171785)
1030639662bf [ELF] Precompute orphan output section names in parallel. NFC (#207321)
16a6b516d7b7 [NFC][Clang][OpenMP] Simplify checks for num_teams and thread_limit expressions (#207305)
602897f72911 [DAGCombiner] Reassociate chains of vector reductions (#206471)
e69038f9c2b1 [clang][ssaf] Add `MultiArchSharedLibrary` data structure (#206854)
8cd05c554cc9 merge main into amd-staging
8aaa28e8d735 [RISCV] Cost legal interleaved memory ops correctly for code size (#207162)
c671e80a2f30 [ELF] Parallelize demoteSymbolsAndComputeIsPreemptible (#207310)
5befe569e050 merge main into amd-staging (#3173)
b4e651bb2cb2 lit: improve long path support on Windows (#207250)
1bddfa5c75b5 [RISCV] Fix multiline RUN line in fixed-vectors-lmul-max.ll. NFC (#207309)
760bb06cb3cd [ThinLTO] Change GlobalValueSummaryMapTy from std::map to DenseMap+deque (#157839)
4fad93b912c9 [libc++] Use _LIBCPP_NO_UNIQUE_ADDRESS for the new vector layout (#207149)
2cf5b7bf4d7d [LegalizeType] Fix VECTOR_DEINTERLEAVE widening with incorrect insert_subvector (#207245)
be1d8d4bb908 [AArch64] Lower cttz(bitcast <Nxi1> to iN) with shrn-based compressed movemask (#199081)
604db5fc463d [PGO][HIP][NFC] Fix hipModuleGetGlobal -Wunused-function warning (#207293)
d7cd957bee26 [clangd] Invalidate preamble when new module imports are added (#199460)
b3d0b1f0415d [flang-rt] Use posix_memalign instead of std::aligned_alloc (#207248)
a4b184609b25 [docs] Rewrite 20 selected rst LLVM docs to Markdown (#205923)
20a60c52db18 [docs] Rename 20 selected rst docs to Markdown (#205921)
c3b744b585d5 [clang][CIR]: X86 movnti/movntsd/movntss CIR implementation. (#206388)
5302608fec8e [Offload] Guard __llvm_write_custom_profile null check on non-Windows (#207170)
7b11c7ce86aa [Clang] Fix offsetof sign-extending unsigned array indices >= 128 (#204139)
c2b50a15c1c3 [CodeGen] Add tests for `determineCalleeSaves`. (#204855)
dceeb8af4e98 [revPat] hipify comgr: fexec...
fc88da49e5df Revert "Enable fexec-charset option (#138895)"
084dc618d069 Revert "Put TextEncoding class in clang namespace to prevent naming conflicts (#207247)"
829812ff2584 merge main into amd-staging
b7623f523c31 [VPlan] Strip early-bail in noalias-check (#203936)
e8c4e9931688 [VPlan] Strip secondary SIVSteps constructor (NFC) (#207193)
7be188763ab7 [VPlan] Don't preserve NSW in mul -> shl conversion for bw-1 op. (#207280)
c3934eb452f0 merge main into amd-staging (#3171)
11576cacaa51 [ConstFold] Eliminate some undef-folding (#207184)
9a896c3f538c Add a pre-filter to the breakpoint resolver overrides (#198845)
130d6c3cddbc [clang] Add test for CWG3088 about macros defining special identifiers (#189309)
abe1aee8815b [LV] Add test showing incorrect nsw flag on shl. (NFC) (#207242)
e1d11a60584f [clang] fix crash-on-invalid with deduction guides (#207263)
1ced7e587e3f [DirectX] Remove now unreachable blocks in dxil legalize (#207259)
bc34ef261691 [lldb] Fix rpath settings for LLDB.framework in buildtree when using LLVM dylib (#207270)
7139c74b59a4 [SLP][NFC]Add a test with the masked non-power-of-2 stores, NFC
1823581ecb2f [libc] Make BigInt trivially constructible (#206277)
999715ac3e8c [lldb][CMake] Extend liblldb interposition fix to lldb-dap and lldb-mcp (#207251)
9bd12f6d8873 [HLSL][NFC] Update test check to be more specific (#207232)
2c4286e2e1fc [CIR] Update OGCG checks for 4 tests- (#207252)
a0145cf5efb5 [mlir][SPIR-V] Add SPIRVToLLVM conversion for GL.Fract (#206951)
6060a6b96bf9 Put TextEncoding class in clang namespace to prevent naming conflicts (#207247)
3166b22b0e71 [InstCombine] Sink instructions across assumes (#205314)
8b8a2d7613d9 [flang][cuda] Guard descriptor I/O ticket when building thin I/O (#206865)
db5740f1a633 [Dexter] Update lldb-based dexter-tests to use script-mode (#204367)
5587443d5fb6 [lldb] Synthesize data symbols for WebAssembly from DWARF (#207235)
8af376d72489 [VPlan] Also expand pointer-typed SCEVAddExpr in VPSCEVExpander. (#206366)
2e6621e6e379 [CIR] Support __builtin_elementwise_ceil (#204974)
62356985be4f [AArch64][clang][llvm] Add ACLE macros to support Armv9.7 (#192948)
1c9ebda13944 [libc++][NFC] Move the lower_bound/upper_bound benchmark to the sorting directory (#207215)
8f1bac0975c7 [lldb][test] Skip tests for features unsupported on WebAssembly (#207102)
53aa748c5ea2 ci(spirv-windows): disable PCH to fix MSVC C2855 on clang unit tests (#3170)
f1aeaa7bd552 Enable fexec-charset option (#138895)
75af8236d2f1 [VPlan] Expand SCEV casts in VPSCEVExpander. (#206371)
cb54896ff494 [Dexter] Add additional variable metrics, sanitize lldb-dap function names (#204366)
b5ccda993027 [revPat] flang spmd
c3153ddb6717 [llubi][Docs] Update docs and CLI interface of llubi (#207210)
86436867a56a [X86] Fold VPMOV*2M + masked VMOV* into VBLENDV* (#204723)
a1baf39dc1d8 [SLP][NFC]Remove undefs from tests, NFC
a3e93c32830e merge main into amd-staging
2c4816cc7eb9 [BOLT][Passes] reserve layout vectors in ExtTSP block reordering. (#206402)
2b08bf285824 [PhaseOrdering][X86] Add matching test coverage to CodeGen haddsub.ll / phaddsub.ll (#207224)
96df81a0f35b Revert "[Flang][OpenMP][MLIR] Improve SPMD-No-Loop handling" (#3168)
504fc83820b4 [flang][OpenMP] Fix user-defined reduction shadowing an intrinsic name (#205893)
cb4e7fff7d0e [compiler-rt][builtins] introduce libc math routines (#197950)
64b1d17103e5 [sanitizer] Raise kMaxAllowedMallocSize to 1TB on AArch64 (#206649)
b43a0db74e83 [Dexter] Document the structured script model (#204365)
eb89275268a8 [X86] phaddsub-undef.ll - rename undef functions to match equivalents in phaseordering tests (#207216)
025c4c1d6bd0 [mlir][tosa] Fold unit-expanded reshapes in reduce-transposes (#203529)
abdc6a2181cd [Instrumentor] Add spellcheck for instrumentor properties (#205416)
21167283a0d3 [MLIR][XeGPU] Enable end-to-end integration test compilation (#207158)
2c8d8643c32c [SLP][NFC]Add a test with the reassociated operands, NFC
947dc92d1a88 [Clang][CodeGen] Emit alignment information for indirect arguments (#201999)
e8c7c8768c27 [GitHub] Don't build unnecessary tools for test-suite.yml workflow (#207133)
25680b7d00df [LV] Handle partial reductions with predication (#194859)
dd4703ea0d26 [lldb][test] Always kill test processes (#207181)
78cbc45ce963 [X86] haddsub-undef.ll - rename undef functions to match equivalents in phaseordering tests (#207207)
4df00678d86f [X86] Add AVX512BMM support for AMD Zen 6 (znver6) (#182556)
fc1565f89eaf [clang] Check `T` and `U` operands of __reference_constructs_from_temporary are complete types (#206703)
6c5fa602151f [SimplifyCFG] Avoid calling `paramHasNonNullAttr` on a ptr vector argument (#207195)
edbeeee25721 merge main into amd-staging (#3166)
8f18d86a33e4 [OpenACC] Fix reduction var equality check for member variables (#207196)
142d555b62e8 [Dexter] Add ability to check float values within a range (#204161)
dab5d92f36ff [X86] haddsub-2.ll - sync scalar "not" hsub tests between the middle-end and backend (#207192)
507108edb627 [clang] Fix enum/non-enum conditional warning in ParseStmt (#207085)
846f3250ff85 [RISCV] Use simm12 instead of simm12_lo for CORE-V post-increment load/store. (#207067)
21f21d1cbb18 [RISCV] Use VECREDUCE_OR instead of VP_REDUCE_OR in combineVectorSizedSetCCEquality. NFCish (#207122)
3996867e6904 [X86] haddsub-2.ll - remove duplicate scalar tests (#207183)
08016b2dbd1d [X86] phaddsub.ll - add SSE2/SSE3 test coverage (#207179)
73cfa6bf6855 [SCCP] Avoid markConstant() in more places (#206494)
a62d8e068fe0 [clang][bytecode] Reject functions with invalid parameters (#207157)
329674f4f4dd [AArch64][InstCombine] Combine add with [su]adalp intrinsics (#204796)
e08041c78729 Upload man pages with attestation (#204852)
ce2a9c35e926 [X86] Sync scalar hadd/hsub tests between the middle-end and backend (#207163)
43082d6efa9c [analyzer] Rename z3 constraint manager backend to unsupported-z3 (#205370)
d3bff5693a00 Revert "[Flang][OpenMP][MLIR] Improve SPMD-No-Loop handling"
e8e379ef1ebc [LLD][COFF] Factor out addObjectFile (NFC) (#206811)
48a004672bbf [offload] check olInit and olShutDown error in unittests initialisation (#206764)
938751d78590 [Dexter] Allow matching lists of values for aggregate members (#204160)
a617ee3307ce [LLVM][CodeGen][SVE] Add ElementSize information to pseudo instructions. (#206133)
305dd8773f93 [lldb][Windows] Mark test as expected failure (#207153)
2d1dd6c182cd [LLVM][CodingStandard] More guidance for constants (#206972)
5b70c3eeb79f [mlir][vector] Add missing dependent dialect to TestVectorUnrollingPatterns (#207113)
8b10c2e17a4f [modules][test] Loosen size check in embed-files-compressed.cpp (#206879)
5f094a2734d7 [DAGCombiner][NFC] Use `m_Value(N, Pattern)` overload to simplify matching (#207154)
d05ff6fff1c2 [AArch64][llvm] Implement HINT instructions as aliases (NFC) (#206383)
fee6dc4b53b9 merge main into amd-staging
924f9e30a3f6 [LLVM][CodeGen][SVE] Add isel patterns for predicate "and a, (op b, c)" sequences. (#206751)
41b0e375678d merge main into amd-staging (#3162)
4f11992ff68d [lldb] Fix build after FileSpec::GetDirectory() ConstString removal (#207073)
b385e9f625b0 [clang] Implement P3733R1 (#203944)
ce787718c3c8 [AArch64][llvm] Add support for FEAT_HINTE for Armv9.6 onwards (#206905)
9db1a29384dd [Dexter] Add !type and !type/all nodes to test variable types (#204159)
2523d725d156 [ARM] Change register class of tTAILJUMPr's destination (#206763)
6f9ac38b7c19 [libc++][test] Cover byteswap _BitInt padding on every ABI with width 72 (#206360)
d59fe9e1d3d6 [Arm64EC] Add support for `fp128` (#206980)
75e0516da874 [lldb][Windows] Return EOF from PipeWindows::Read on a closed write end (#207017)
f1454e0005a0 [LV] Inline llvm-lit DEFINEs in interleaved-cost.ll NFC (#207143)
6a3359fefb84 [libc++] Remove _LIBCPP_COMPRESSED_PAIR from packaged_task (#200642)
88bf28094ec3 Reapply "[libc++] Optimize fstream::read" (#206453)
ea4ad685e400 [LV] Regenerate RISC-V interleaved-cost.ll with UTC. NFC (#207138)
855443d4be62 [RuntimeLibcalls] Use a multiclass for all libm impls (NFC) (#148349)
b2c506061f8f [LangRef] Clarify cttz.elts returns poison for undersized result types (#206970)
1fac729d5989 [CodeGen][NFC] Move getRawAllocOrder to TargetRegInfo (#207124)
efb601925afb [AArch64][GlobalISel] Add legalisation for G_INSERT_SUBVECTOR (#205349)
b25e5be70aa7 [clang][analyzer] Add allocation failure modeling to DynamicMemoryModeling (#205371)
9b631e7f2448 [Windows][Arm64EC] Enable thunk generation for bfloat16 (#206710)
a5114abd0c02 Revert "[libc++] Move threading and random device config into <__configuration/platform.h>" (#207134)
e7924d50db0a [clang] Handle constructor closures with consteval default args (#203554)
ad5add5fb625 [clang][serialization] Fix crash on imported pack indexing type (#205965)
0638973c4750 Update LLVM_MAIN_REVISION to 586522 (#3164)
091b20e78cc1 [lldb] Use std::map in MemoryRegionInfoCache (#206986)
9c51ed38f1e2 [NVPTX] Add support for empty type params and returns (#207057)
15801375bae0 [CI] Add test workflows for amd-compiler-vkallesh-test branch to amd-staging
4cb3cef5a4e5 [clang][docs] Add \code comments around code in doc comments (#207116)
f083dad787e4 [NFC][LLVM] Remove `XFAIL: vg_leaks` from TableGen lit tests (#207016)
e8950f2a0fb2 [RISCV] Constant fold bitcast of constant 0 in combineVectorSizedSetCCEquality. (#207112)
4425cf173752 [RISCV] Rework vmsge(u).vx pseudos to work better with near-miss assembler support (#207097)
672dfe90adb5 [RISCV] Add HasStdExtH to hfence.gvma and hfence.vvma aliases (#207061)
c78dd2fef98f [PHIElimination] Preserve SlotIndexes even without LiveIntervals
981651d01e42 [MSP430] Port AsmPrinter to NewPM
b8a15b4f9559 [MSP430] Port MSP430BranchSelect to NewPM
f122acf2d0b8 [MSP430] Add CodeGenPassBuilder
8ae4b199cfb0 [SimplifyCFG] Don't hoist a musttail call separately from the terminator (#207094)
b92286474caf [orc-rt] Add Session::tryAttach, construct ControllerAccess in attach. (#207114)
39f1fb931f81 [InlineAsm] Diagnose oversized non-scalar tied asm outputs (#206230)
56b5db17f9d4 [orc-rt] Apply noexcept to more Error.h APIs. (#207109)
92d257356065 merge main into amd-staging (#3161)
a8166e1c52c7 [SLP][NFC] Add non-power-of-2 buildvector test (#206332)
c9721e602a35 [CIR] Add alignment attributes to cir.copy (#206341)
ee6d9264da81 [orc-rt] Apply noexcept to newly fixed Expected::isFailureOfType. (#207106)
fb92fdee85de [RISCV] Canonicalize the true operand of vselect to fold more vmerge.vvm instructions (#206449)
d4fe91df8e57 [flang][cuda] Add CUFAllocDelay pass to defer device descriptor allocation (#206882)
815533b0f85b [clang] fix typo correction crash with template destructor names (#207101)
24e7deef7363 [clang] Fix crash in VisitVarTemplatePartialSpecializationDecl on failed instantiation (#200161)
70de698a9635 [orc-rt] Fix unused Expected::isFailureOfType, add testcase. (#207105)
c05cd0063d92 fix omp_alloc.cpp: param 2 OpenMPAlloc
37e83e760968 [orc-rt] Add some missing noexcept specifiers to Error.h. (#206984)
92313eff069c Revert "[mlir-c] Add ConversionTarget dynamic legality C API" (#207104)
53069acdb946 [CIR] Implement Flexible Array Members for const-record lowering (#206564)
53c5ebc80a2c merge main into amd-staging
6b3e7235edb6 [lldb] Harden PolicyStack against cross-thread Guard misuse (#195774)
26bf00b8c96e [CIR][NFC] Re-enable invalid linkage test (#205459)
32ae6b5e66e1 [lldb-mcp] Link liblldb instead of the full initialization stack (#206852)
87a09a0ff00c [clang][SYCL] Add -fsycl-device-image-split option (#206870)
a413409b4020 [HLSL][DXIL] InterlockedOr and InterlockedOr64 builtins (#180804)
e804fcedb910 merge main into amd-staging
1d793b018db8 [CI] Repurposing upstream auto-labeler job for ROCm labels (#2969)
0a2fb2a2269d [lldb] Find the default source file's main by base name (#207043)
88a3488c8a64 [libc][realpath] Implement symbolic path resolution (#204467)
4ce874e05ab8 [HLSL] Enable invoking a method on a constant buffer struct (#206596)
8dbd1cb22a87 [lldb][test] Use a valid main signature in the inlines test (#207093)
04cf6e09515d [lldb] Don't trust unwind information for outlined functions (#204500)
221752d3f398 [Flang][OpenMP][MLIR] Improve SPMD-No-Loop handling
459ed2b0653f [libc] add shared addsf3 builtin (#205676)
22ad1d6eeefd [clangd] Use plaintext newline handling for escaped markdown hover style (#185197)
18050dd6892e [RISCV][P-ext] Tighten checks for what scalar<->vector bitcasts are legal (#207038)
acbe93353907 [lldb] Remember server's primary stop thread on gdb-remote stops (#207020)
6407e80cbfda Implemented MVT::changeElementType based on EVT::changeElementType (#206783)
f74953b929fe [libfuzzer] Improve error message for file not found (#207081)
8286c6572d04 [clang] fix error recovery for invalid member specializations (#207068)
55e440655337 [lldb] Remove extra newline from ValueObject errors (#207050)
0ec217a0068e [LV] Return widening kind from memoryInstructionCanBeWidened (NFC). (#207056)
08aee5eee3c2 [NFC][libc++] Fix formatting for `<set>` tests (#207080)
c3d0465e6559 [libc++] Remove projection from __lower_bound_onesided (#206676)
ef5d72f387ca [flang][OpenMP][docs] add missing features to support page (NFC) (#207078)
3b5075609dd6 [RISCV] Report all near-miss reasons in the AsmParser (#205721)
3f3acdb279ce [MCP] Add test case to demonstrate issue with spill copy elimination (NFC) (#207065)
47458aa3de39 [IndVars] Refine tests for evaluating final value pointer AddRecs (NFC). (#207076)
fb81789e6e3b [Registry] Support static clang registries (#206750)
50f30bedaa81 [Clang] Rebuild lambda captures in default member initializers while skipping body (#196597)
5a05faa54c21 [LAA] Fall back to starting AddRec if replacing strides fails. (#207054)
066f7cb9de87 [clang][deps] Only disable app extension without PCHs (#207049)
4d767b93616e [AMDGPU] Consolidate CHECK lines for barrier-gep test. NFC (#207040)
24476abfac20 [clang][ssaf] Add `MultiArchStaticLibrary` data structure (#206148)
bd338806e423 [libc++] Add a size-based representation for `vector` in the unstable ABI (#155330)
381de9a7811f [flang][OpenMP] Compute the set of loop directives in parser, NFC (#206748)
7b8c4f5ad69d [Flang][MIF] Adding support of intrinsics with coarray argument (#192944)
43424c3e98f6 [clang-scan-deps] Add scan-deps-filter.py test helper to filter full output (#206758)
32f14d7cd999 [libc++] Move threading and random device config into <__configuration/platform.h> (#206262)
c646b9557f90 [GlobalISel] Implement threadlocal.address translation (#206908)
ce8cf3f0a427 Revert "Disable RelLookupTableConverter on AArch64" (#207046)
81350fb55b02 [Bazel] Fixes 282416b (#207051)
282416b6d457 [lldb] Move RegisterFlags from Target to Utility (#206861)
929284ff2dda DAG: Preserve poison in more concat_vectors folds (#206948)
3794329ca236 [AMDGPU] Fold constant offsets into named barrier addresses (#205216)
524b97ad3332 [lit] Truncate process output to 10 kiB (#206355)
fa84e624acca [NFC][AMDGPU] Use SIInstrFlags predicates in MCA (#206761)
539ad355f1ef [mlir][sme] Update the multi-tile e2e example (#202979)
8ed2a935911a Update LLVM_MAIN_REVISION to 586484 (#3152)
fdc29a9e1912 [llvm][SplitModuleByCategory] Fix infinite loop on cyclic global uses (#206862)
a201ae3addce Handle the case where the ISA we find when looking up a method implementation has masked bits (#206864)
e0500fa504b2 DAG: Preserve poison in all-undef build_vector/concat_vectors folds (#206947)
4a6f7b11e38e [lld] Make R_AARCH64_PREL32/16 only signed ints (#205963)
e6c909a48a62 [bazel] Fix remote exec with thin docker images (#205849)
842558edbb50 [TableGen] Fix SearchableTable lookup comparator w/ multiple string keys (#207021)
1d2645fef0f2 [CIR] Fix getNewInitValue on string-literal arrays
cf360fbc1f67 [LLVM] Avoid nested std::min and std::max. NFC. (#206982)
ce8509f96615 [OpenACC] append triples when materializing reduction destroy recipes (#207034)
d4147132172a [LLVM][Tablegen] Add Default arguments support for Intrinsics in TableGen (#198557)
dd6d1112d940 Fix MSVC build after #206326 (#206993)
f298ab915f28 [AMDGPU] Fix SIFoldOperands crash on REG_SEQUENCE with physical register (#206976)
a5864f9604e7 [Flang][OpenMP] Emit TODO for non-rectangular collapsed loop nests (#205558)
9b3d68f159e7 [Clang] Add FileCheck lines to atomic-auto-type codegen test (#206749)
fe7e78c72071 [Support] Fix VersionTuple DenseMapInfo conformance (#206872)
6ce05ad8384d [libc++] Add Android assertion handler (#198831)
b1b919870974 [flang] Implement check for statement function dummy argument names (#204417)
0ca111acd40f Revert "[MCP] Add test case to demonstrate issue with spill copy elimination (NFC)" (#207025)
a811d8f7c6e8 [llvm-pdbutil] Include DBI section contribs in YAML (#191624)
bfca0091b74f [lldb] Tighten TestFrameProviderCircularDependency loop (#206987)
0705e7be49ab [GlobalISel] Exclude scalar to ptr unmerges from unmerge_dead_to_trunc combiner (#206707)
4d87e55d8a41 [libunwind][aarch64] Fix auth on PAuth_LR'd frames (#206814)
fe5242883a81 [CIR] Round-trip wide cir.int attributes (#206602)
2abfdb597ee9 [Bazel] Port 58203500b5bd1628401c1a103eb264b7d78ea3bb (#207018)
ead99b0a6a2d [CIR] Fix unsigned/wide switch case-range lowering (#206575)
6bdb63f61911 [Clang] Try to fix data race on HasColors after #202441 (#206975)
8ba6f7b2b1e5 [Bazel] Port e7290b1f1815626c4461d38671d93093590bf405 (#207014)
154834916515 [Flang][OpenMP][MLIR] Improve SPMD-No-Loop handling (#206953)
dd8f6111ba36 [libcxx] Enable std module test on FreeBSD (#206269)
d15004a32ab1 [lldb][Windows] allow test_convenience_registers to PASS (#206956)
d8f0e0836a2e [MCP] Add test case to demonstrate issue with spill copy elimination (NFC) (#206855)
276bcc700a4c [LLVM] Fix signature for `gc.get.pointer.base` intrinsic (#206991)
adc037c1acf0 [SPIR-V] Use MathExtras helpers for bit arithmetic (NFC) (#206968)
c248ca1a72c1 [SPIR-V] Use llvm STLExtras range algorithms (NFC) (#206969)
a675a661b86f [Flang-RT] Change alignment for allocatable and pointer arrays to 64 … (#206525)
3848a2fceab7 [InstCombine] Don't try to fold alignment assumptions containing adds (#207001)
8fc5ad0e0308 [clang-tidy] Add AllowVirtualAndOverride to modernize-use-override (#206111)
cd7668d75d03 merge main into amd-staging (#3144)
ad021b65fc9d [lldb][Windows][CI] refine timeouts (#206942)
41f1d13b2e24 [CIR][OpenMP] Prevent HoistAllocas pass from hoisting above OpenMP regions (#206168)
eff826e91dc7 [MLIR][Vector] Generalize broadcast lowering for single-element vector to nD (#206501)
0c2d34d221b7 Reland "[mlir][nvvm] extract NVVM inliner interface from LLVM dialect" with flang fixes (#206782)
ac9a2048fd03 [lldb] Recover mangled symbol names from DWARF on WebAssembly (#206832)
0c69421ce1a6 [lldb-dap] Add a new lldb-dap test infrastructure (#203978)
fc5798ef92ed [SCEV] Cancel common addend/multiplier in SimplifyICmpOperands (#205014)
5f282ce09f96 [libc++] Assume that <wchar.h> in llvm-libc has const-overloads. (#206805)
3b0c4575ec62 [libc] add shared divdf3 builtin (#205675)
8a3b7152a396 [X86] Fold FP UNORD/ORD compare against known-non-NaN to self-compare (#206943)
4ddf664c6c3d [mlir][ABI] Fix scalable vector mapping in ABITypeMapper (#206617)
bb6868abb8dd [libc++] Fix behavior for `get_temporary_buffer` with non-positive size (#206871)
525f5a1ded8c Revert "[HIP][AMDGPU] Use non-LTO pipeline for non-RDC in the linker wrapper (#201135)" (#206961)
c9ae1305b081 [OpenMP][OMPT] Map `ompt_get_num_devices` to runtime function (#200790)
41f826f54cb7 [Dexter] Add condition check to state nodes (#203847)
6087989da294 [NFC][AMDGPU] Use SIInstrFlags predicates in Disassembler (#206762)
517e48db3117 [lldb] Return llvm::Error from EnableLogChannel (#206479)
5e4eb7f4c8f4 [orc-rt] Add missing noexcept specifiers to RTTI.h. (#206979)
19f4c9913d17 [Dexter] Enable after_hit_count for state nodes (#203846)
2146dab17c29 [mlir][affine] Add trip count check for affine-pipeline-data-transfer pass (#206755)
5a7be9b2a8fc [NFC][LLVM] Adopt vector overload types for vp cast intrinsics (#206548)
b5f36b15d16e [lldb] Print register enum types only once (#204818)
e16a0a30801e [NFC][LLVM][Verifier] Eliminate redundant checks for GC intrinsics (#206890)
28f08a6f64a7 [libc++] Don't make libc++ headers system headers in the modulemap (#205509)
2acd65750a34 Add batch copy kernel (#2556)
3c16a8b18369 [libc++] Don't #define __unused with glibc in system_reserved_names.gen.py (#206971)
d746bcfec552 [LoopInterchange] Add test for direction vector of `[* > =]` (NFC) (#206958)
53107fb19af4 [MLIR] Prevent CF to SCF transform from erasing blocks still in use (#206310)
f83c24cfa12c DAG: Use poison instead of undef in WidenVector (#206940)
3a674130a07a [llvm][HTTP] Assert that WinHTTP perform() is only called once (#195128)
a7ee75a8074a [clang] Fix code completion crash in lambda trailing requires-clause (#206373)
3b44af950386 [Dexter] Add support for writing !step values (#203845)
c643d31a0313 [M68k] Use getM68kMCRegisterClass accessor after MCRegisterClasses became relocation-free (#206945)
ddf06be97fbf [Clang] Fix clang build with GCC 7.5 (#206768)
a5c06c0b4c7d [libc++] Implement LWG3662 basic_string::append/assign(NTBS, pos, n) suboptimal (#206320)
a94b91b428ea [DA] Update stale weak-crossing SIV FIXMEs (NFC) (#206941)
55adc0a74c6a [flang][OpenACC] Accept ROUTINE directive within an interface block (#206863)
b8e5ea1ab3e2 [clang] Improve diagnostics for invalid named-universal-characters (#206326)
cd4fbde446cf merge main into amd-staging
f2fd0d648987 [mlir][SPIR-V] Add spirv.GL.Step and spirv.GL.SmoothStep ops (#206037)
c541bbfa346d [LLD][COFF] Prevent merging .bss into shared sections (#202817)
633344de1ba7 [mlir][bufferization] Introduce castBufferTypeFn hook and API (#205080)
6a909d68627f [runtimes][NFC] Re-indent shared library blocks (#205523)
f40650e4313e [orc-rt] Rewrite move_only_function in terms of CallableTraitsHelper. (#206906)
b2c908586a03 merge main into amd-staging (#3140)
a605942cc44c Reapply "[DirectX] Test stripping debug info for DirectX" (#206795)
f9ddebc5c6f0 [Dexter] Add !step node for testing stepping behaviour (#203844)
6e4eebc91c10 [lldb] Fix compiler warning in LibStdcpp.cpp (#206932)
bb033c19a4fe [lldb][Windows] reconfigure project in the correct directory (#206781)
713d95e8f30d [mlir][SPIR-V] Fix crash on empty composite in replicated constants pass (#206647)
07b9a96048d2 [gn build] Port e7290b1f1815 (#206923)
37387f4f69fa [gn build] Port 7e31f2cffd39 (#206922)
b0ab92a214fb [lldb][docs] Document how to test specific layers (#205581)
f5009119ced0 [AMDGPU][SIInsertWaitCnts] Remove VMemTypes (#206440)
400e4be559e5 [JITLink][x86-64] Fix GOTPCRELX call/jmp relaxation to use PC-relative fixup (#190179)
7f73dd43b142 [Dexter] Add at_frame_idx to check values in frames above current (#203505)
9f7dc772a32a [Sparc] Apply the GRLIB-TN-0011 errata workaround to ldstub (#205781)
7e31f2cffd39 [clang][SYCL] Diagnose reference kernel parameters (#192957)
abe984ce251f [ARM] Specify inlining behavior in TableGen (#205763)
aa47e59245e2 [X86][Windows] Return `fp128` on the stack (#204887)
09d944e91956 [BOLT] Make ICF bucket iteration order deterministic for single-threaded mode (#200706)
f92c1fe56c42 [NVPTX] Add asynchronous store intrinsics (#200768)
429afacb27aa [aarch64] Mix the frame pointer with the stack cookie when protecting the stack (#197346)
9e0aa61f7529 [SCEV] Prove implied conditions via matching SCEV differences (#201839)
d1bd8d3f21bf [Sparc] Enable CASA for the leon3 CPU target (#205810)
05da7186fce0 Update LLVM_MAIN_REVISION to 586406 (#3142)
58203500b5bd [libc] Migrate header .def files to public_includes (#206727)
2b07bbf52cd7 [libc++] Resolve LWG4366: Heterogeneous comparison of `expected` may be ill-formed (#185342)
4c2798135275 [compiler-rt] Support triples that start with thumb*- (#206848)
3ad796ad0613 [orc-rt] Fix unused function warning in testcase. (#206894)
ac493bb6ab3e [TargetParser][AArch64][NFC] Reference ArchInfo via index (#206699)
030e141fa93a [orc-rt] Silence an unneeded-internal-decl warning in testcase. (#206892)
25d46e474deb [MergeFunctions] Fix build failure in PR #202218 (#206651)
0b413b7d0f5a [MC][TableGen] Make MCRegisterClasses relocation-free (#206753)
8461c3bd07b7 [orc-rt] CallableTraitsHelper - record operator()'s noexcept-specifier (#206891)
3d8fafbc863f [X86] Insert WAIT before fnstenv/fnsave and skip meta-instructions (#204108)
67f027c83a84 [TargetParser][AArch64][NFC] Use StringTable (#206698)
4bab60f2c63a [orc-rt] CallableTraitsHelper - record call operator's const-qualifier (#206889)
bae9ddca4231 [clang-format] Fix a bug in recognizing trailing comments (#206393)
e5a518ef6ba6 merge main into amd-staging
afc855407074 [Flang][OpenMP] Update test checking for no GPU heap allocation, NFC
359541767029 [Comgr] Use llvm::object::CompressedOffloadBundle after dedup
98ebbcf94d79 [Offload][NFC] Deduplicate CompressedOffloadBundle into llvm::object (#206741)
809ad60b0db0 merge main into amd-staging (#3133)
2301475676b2 Revert "[flang][openacc] Skip implicit global declare constructor in managed mode" (#206884)
4a11eb33c70a [orc-rt] Drop redundant 'public' base access specifiers. NFC. (#206883)
e7290b1f1815 [llvm-debuginfo-analyzer] Add support for LLVM IR format. (#202120)
62ee075076de [AArch64][ISel] Fix comment misalignment (NFC) (#206878)
b5c555194be7 [orc-rt] Simplify CallableTraitsHelper specialization inheritance NFC. (#206869)
905c6d98f2d9 [RISCV] Disable combineVectorSizedSetCCEquality when fixed length vectors are disabled. (#206829)
f5ebc1a2e486 [AMDGPU] Apply target flag specifier when lowering MO_ExternalSymbol operands (#202389)
e3f2e3505c23 [Serialization] Delete an unreachable BlockDecl check (NFC) (#206298)
b0e490ad4f8c [Clang][Modules] Skip anonymous declaration numbering for local tags in dependent contexts (#202248)
3d96076c2e01 hipcc/hipconfig: Fix missing hsa include path in hipconfig (#3119)
14a19ce15807 Fix Windows Path Separator issues in create_symlink and readlink (#206665)
14d9c0c469be [AsmMatcher] Report a near-miss when all candidates mismatch multiple operands (#206390)
483d53409dd5 [TargetParser][NFC] Make FeatureBitset iterable (#206394)
76c92ec7aeed [lldb][test] Skip more unsupported tests on WebAssembly (#206857)
6a2cd1fabaa7 [libc] Support triples that start with thumb*- (#206847)
c31165688351 [clang][llvm]Uncorrelate CFI and Callgraph related type metadata annotations (#204266)
80723e01f328 Reland: [LoongArch] Custom scalar UINT_TO_FP and FP_TO_UINT with LSX instructions (#206655)
e2fc1e7467e0 [LoongArch] Support ISD::SET_ROUNDING (llvm.set.rounding) (#206395)
b34636ac2e0d [Comgr] Bump version to 3.4 for amd_comgr_hotswap_rewrite_with_options (#3134)
0bec0afa108b merge main into amd-staging (#3132)
c7e2809a631a [HLSL] Enable conversion of ConstantBuffer<T> to T (#205996)
f9f4331c2883 [libc] add shared muldf3 builtin (#205674)
292d25eb24fc [Comgr] Document API versioning rule in AGENT_CONVENTIONS.md (#3135)
443d933cef6e [libunwind] Fix comment about phase (NFC) (#206660)
bc59f8f4f31b [ORC] Add missing std::move. (#206859)
fe80adea429c [libc++][test][NFC] Remove implementation-detail noise from _BitInt test comments (#206666)
475bc045b47c [libc++] Make `<set>` `std::set` constexpr as part of P3372R3 (#167241)
9a725a7e86b1 [lldb] Create a BSS section for WebAssembly object files (#206840)
1f7a93d088f0 [lldb][Windows] Fix "Invalid register name" for eax on x86_64 attach (#203498)
7479a7943358 [flang][openacc] Fix DEFAULT(NONE) errors for array sections (#204248)
99e855f10cf3 [lldb][NFC] Target::RemoveNameFromBreakpoint should take a StringRef (#206834)
58b8c0f7e249 merge main into amd-staging (#3127)
642c84c54e2f AMDGPU: add hotswap entry trampoline core (#3008)
d0130477dda6 Revert "[Offload][NFC] Deduplicate CompressedOffloadBundle into llvm::object (#206741)"
db45a86f37ad merge main into amd-staging
7dc0a37db17b [Clang][SYCL] Remove unnecessary null pointer check (#206813)
f9b5264523b1 [lldb] Remove ConstString getters from FileSpec (#206802)
a2cc0b6e997a [gn build] Port df108f91d5b8 (#206845)
021d3a5c1c55 [gn build] Port b74fc87d30d8 (#206844)
e9cf4b892d7d [gn build] Port a96686a6c490 (#206843)
04d8e842d600 [gn build] Port 527c4e7e2baf (#206842)
d9528adce66e [gn build] Port 31340a9222bb (#206841)
31843e9d426b [lldb][NFC] Remove ConstString from remaining Breakpoint headers (#206823)
6207788c367f [gn] port c2da3ace1beac5a7 (#206837)
dd66f9eb9c87 [CIR] Skip int_to_bool when value is already bool (#206582)
61cdb3366669 [CIR] Lower add/sub-with-carry builtins (#206598)
a96686a6c490 [ORC] Add InProcessEPC: orc_rt::InProcessControllerAccess partner. (#206725)
a474af75689e [clang] __has_feature(modules) should only be true for Clang modules (#206199)
3ceb3f2d3e32 [VPlan] Extract IV exit value from vector loop if predicates are needed. (#200020)
bc01a162bd1b merge main into amd-staging
26ac0c49a920 merge main into amd-staging
7497cb1c1f78 [lldb] Add accelerator plugin connection support (#201449)
527c4e7e2baf [SandboxVec][PassBuilder] Add support for RegionPass aux args (#205643)
675f3d260422 [Clang][HIP] Forward hipstdpar flag to clang-linker-wrapper (#206497)
6b5c27376a27 Revert "[lldb] Move common functionality out of Itanium ABI runtime (#191275)" (#206816)
ab99d704c2ae [lldb] Add std::source_location summary provider (#203185)
0bd538ad4ce5 [Dexter] Add for_hit_count for state nodes (#203359)
5726f6ee8140 [DirectX][SPIRV] Consolidate the use of resource pointers across backends (#205433)
9cdea3b9d5c0 [BOLT] Preserve relocation to rela/relr association (#206612)
6ae0aab16af4 [ADT] Add printPercentEncoded to StringExtras (#206794)
0d828854dd2f [flang][cuda] Propagate CUDA attrs from parent variable to component allocations (#206614)
fb83b9b663e0 [docs][HIP] Document source-based device code coverage workflow (#200197)
aec1df1e5a4b [LLVM][Autoupgrade] Delete invalid lifetime.start/lifetime.end intrinsic decls and calls (#206769)
242d4b60fe91 [Dexter] Write expects for variables in Debugger scopes (#203254)
24d187791ca0 [LoopFusion] Reorder dependence checks to reduce compile time (NFC) (#206275)
31340a9222bb [lldb] Add memory region info cache to Process (#206208)
c6c87fd48e39 [llvm] Add Triple::isOSWindowsOrUEFI and use it, NFC (#206608)
97f1c7c18508 [docs] Register MLIR lexer for Sphinx docs (#206194)
92a84f255ec8 [lldb][test] Don't dead-strip WebAssembly test inferiors (#206799)
1805f5f7d1fd [flang][cuda] Allow host procedure references in host,device subprograms (#206736)
4b985767f26f [Infra] Update the test runner to use ccs-csp
75453abe1cc5 [Infra] Update the test runner to use ccs-csp
166209c3b05c Fix false match on nullPointerConstant for array indices (#201893)
ede433bf09dd [Dexter] Allow fetching "scopes" from the debugger (#202802)
b213a5454f17 [flang][openacc] Skip implicit global declare constructor in managed mode (#206610)
54f05f964bde AMDGPU: Remove dead check lines in a test (#206777)
ce29fdf9345d [infra] Exclude libc config files from RISC-V label (#205407)
fa981b17cc60 [MLIR][OpenMP] Fix taskloop charbox privatization (#205568)
c0af755c57ee [lldb] Forward the inferior's environment to the Wasm runtime (#206780)
397eecf82a8a [docs][HIP] Document offload PGO workflow (#200208)
45afced2e7fe Fix ProcessElfCore::FindModuleUUID() so it work with symlinks. (#206601)
638d71403a85 Revert "[VPlan] Replace first-lane uses of BuildVector." (#206774)
3325a1f02e35 [mlir][nvvm] Revert #206557 (#206770)
ddb0f5fa5148 [CIR] Implement Aggregate atomic to non-atomic cast (#206322)
5c02f7530c79 [flang] Enumeration Type: (PR 2/5) Name Resolution + Expression + Relational + SELECT CASE (#193028)
bdec41e358a9 Revert "[z/OS][Clang] Add wrapper headers to avoid macro name conflicts" (#206778)
1fca1ae11e00 [lldb][Windows] Synchronize on LOAD_D…
There was a problem hiding this comment.
Verdict: APPROVE -- submitted as COMMENT (automated reviews are advisory) · Findings: 0 (0 Critical, 0 Major, 0 Minor)
Scope
LLVM upstream merge (June 2026). The vast majority of the diff is vendored external/llvm-project changes (out of scope for rocMLIR review). The rocMLIR-side changes are 12 files: build fixes to MfmaInsnGroup.{h,cpp}, BufferLoadMerge.cpp, RockPipeline.cpp; test-infra updates to three lit.cfg.py files; FileCheck expectation refreshes in four .mlir tests; and a regenerated librockcompiler_deps.cmake.
Findings
No blocking issues found in the rocMLIR-side changes.
MfmaInsnGroup.h/.cpp: cleanamdgpu::MFMAPermB→ROCDL::MFMAPermBmigration; the newmlir/Dialect/LLVMIR/ROCDLDialect.hinclude is placed in correct lexicographic order afterAMDGPUDialect.h, and everyusing ROCDL::MFMAPermB;/MFMAPermB::nonesite is consistent.BufferLoadMerge.cpp/RockPipeline.cpp: removal of the customDenseMapInfo<MemoryAccessType>specialization and of the empty/tombstone-key guard inSimpleOperationInfo::isEqualcorrectly tracks the upstream DenseMap rework.MemoryAccessTypevalues (READ=1, WRITE=2, UNKNOWN=3) don't collide with the auto-provided enum specialization's sentinels, so theDenseSet<pair<GpuAllocOp, DependencyType>>usage remains sound.- The three
lit.cfg.pyfiles default to the internal shell while honoringLIT_USE_INTERNAL_SHELL(ShTest(execute_external=not use_lit_shell)), matching upstream MLIR's own config afterexecute_external=Trueremoval. librockcompiler_deps.cmakeis the regenerated dependency list, satisfying the checklist item requiring it be updated when dependencies change.
Notes
- The
.mlirFileCheck refreshes (pipelines.mlir,runner-pipelines.mlir,prepare_llvm.mlir,add_alias_info.mlir) are mechanical expectation updates for new upstream pass options and the ROCDL buffer-op cache-policy operand form; correctness rests oncheck-mlirpassing. - Pre-existing (out of scope):
MfmaInsnGroup.cpphas no SPDX license header, andRockPipeline.cppusesstd::set/std::vector/std::mapwhere LLVM ADTs are usually preferred — neither introduced by this PR. - Recent commit history shows
external/llvm-projectchanges carried under a separate[EXTERNAL]-prefixed commit, consistent with the repository convention.
CI status
No failing or cancelled checks in the pre-fetched status (only detect passing and the auto-review pipeline in progress). The unchecked PR/Nightly/Weekly boxes in the description are the author's manual checklist, not CI signal.
Motivation
LLVM upstream bump for June 2026.
Technical Details
Build fixes
external/llvm-project/.../Bufferize.cpp): Update theunknownTypeConverterFnlambda ingetPartialBufferizationOptions()to the new upstream signature (TensorLikeType→BufferLikeTypeinstead ofTensorType→MemRefType), matching the other updated call sites.MFMAPermBnamespace move (MfmaInsnGroup.{h,cpp}): Upstream moved theMFMAPermBenum from theamdgpunamespace toROCDL. Updated the field type, initializers, andusingdeclarations, and added theROCDLDialect.hinclude.DenseMapInforefactor (RockPipeline.cpp,BufferLoadMerge.cpp): Upstream reworkedDenseMapto track occupied buckets via a separate bit-vector, soDenseMapInfono longer exposesgetEmptyKey()/getTombstoneKey()and now auto-provides an enum specialization. Removed the now-redundant customDenseMapInfo<MemoryAccessType>specialization and dropped the empty/tombstone-key guard fromSimpleOperationInfo::isEqual(mirroring the upstream CSE change).Test fixes
mlir/test/lit.cfg.py,mlir/test/e2e/lit.cfg.py,mlir/test/fusion/e2e/lit.cfg.py):ShTest(execute_external=True)is removed in upstream lit. Switched all three configs to default to the internal shell (honoringLIT_USE_INTERNAL_SHELL), matching upstream MLIR's ownlit.cfg.py.rocmlir-driver/pipelines.mlir,runner-pipelines.mlir): Refresh-dump-pipelinesFileCheckexpectations for new upstream pass options/passes:linalg-morph-ops's newcategory-to-namedoption, andconvert-vector-to-llvm's newenable-gep-inbounds-nuwoption.prepare_llvm.mlir,add_alias_info.mlir): Upstream changedrocdl.raw.ptr.buffer.storeandrocdl.raw.ptr.buffer.load.ldsso the trailing cache-policy operand is now a cache-policy-family keyword or a 32-bit integer literal instead of an SSA value. Updated the test IR accordingly.Diff Files
diff -rup llvm-project/llvm rocMLIR/external/llvm-project/llvmllvm-diff.txt
diff -rup llvm-project/mlir rocMLIR/external/llvm-project/mlirmlir-diff.txt
Test Plan
External Tests
check-llvmcheck-mlirCI
Submission Checklist