LLVM/project 85e5408 — llvm/test/CodeGen/RISCV/GlobalISel/irtranslator calling-conv-lp64-lp64f-lp64d-common.ll calling-conv-half.ll

[RISCV][GISel] Enable extended LLT

Pass -gisel-extended-llt to the GlobalISel TableGen backend and call
LLT::setUseExtended(true) in RISCVTargetMachine.

Update the GlobalISel tests: convert hand-written instruction-select
and knownbits MIR inputs from sN to iN/fN, and regenerate CHECK lines.
Some soft-float assembly output changes slightly (constants are
rematerialized instead of kept live across libcalls).

Co-Authored-By: Claude Sonnet 5.5 <noreply at anthropic.com>
DeltaFile
+1,073-1,062llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/vararg.ll
+867-867llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/insertelement.ll
+773-771llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-ilp32-ilp32f-ilp32d-common.ll
+770-770llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/shufflevector.ll
+865-658llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-half.ll
+594-593llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calling-conv-lp64-lp64f-lp64d-common.ll
+4,942-4,721219 files not shown
+13,743-13,137225 files

LLVM/project 7577462 — llvm/lib/Target/RISCV/GISel RISCVPostLegalizerCombiner.cpp RISCVLegalizerInfo.h

[RISCV][GISel] Prepare for extended LLT

Make the RISC-V GlobalISel code correct when LLTs carry integer/float
kinds, ahead of enabling extended LLT:

- Legalize scalar G_BITCAST: legal up to XLen bits, narrowed above that
  (i128/f128, or f64/i64 on RV32). Map it in RegisterBankInfo by type
  kind and subtarget (FPR only if the FP extension holds that size in an
  FPR), and select it as a COPY.
- Use f16/f32/f64/f128 in the FP legalizer rule sets so that types
  created by mutations (e.g. f16 -> f32 widening) match the imported
  TableGen patterns. Lower bf16 G_FCONSTANT via an integer constant.
- Add iXLen for building new instructions, keeping the any-scalar sXLen
  for legality rules. Build mask vectors with i1 elements and use
  integer types for other newly created values.
- Call lowering: bitcast f16/f32 values to integer before any-extending
  them into wider locations, and bitcast back after truncating.
- RegisterBankInfo: an f64 on a Zilsd target without D lives in a GPR
  pair, not an FPR.

    [2 lines not shown]
DeltaFile
+174-164llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
+26-14llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
+33-1llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
+7-6llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
+4-0llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h
+1-1llvm/lib/Target/RISCV/GISel/RISCVPostLegalizerCombiner.cpp
+245-1866 files

LLVM/project b455501 — libcxx/docs/Status Cxx26Issues.csv, libcxx/include stdatomic.h

[libc++] Mark LWG4480 as complete and test (#242789)

Resolves #189845

`<stdatomic.h>` already provides `ATOMIC_CHAR8_T_LOCK_FREE` via
`<atomic>`. This PR adds it to the synopsis along with a corresponding
test.

---------

Co-authored-by: A. Jiang <de34 at live.cn>
DeltaFile
+4-0libcxx/test/std/atomics/stdatomic.h.syn/types.compile.pass.cpp
+1-1libcxx/docs/Status/Cxx26Issues.csv
+1-0libcxx/include/stdatomic.h
+6-13 files

LLVM/project ed7f253 — llvm/test/CodeGen/AMDGPU combine-carry-into-uadde-usube.ll amdgcn.bitcast.1024bit.ll, llvm/test/tools/llvm-mca/AArch64/Cortex A53-neon-instructions.s

Merge branch 'main' into users/zhaoqi5/tests-buildvector-with-undef-vrepl
DeltaFile
+1,195-20,334utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+6,864-0utils/bazel/llvm-project-overlay/libc/src/__support/math/BUILD.bazel
+2,374-2,371llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+2,239-2,237llvm/test/tools/llvm-mca/AArch64/Cortex/A53-neon-instructions.s
+4,203-18llvm/test/CodeGen/AMDGPU/combine-carry-into-uadde-usube.ll
+3,686-0utils/bazel/llvm-project-overlay/libc/src/math/BUILD.bazel
+20,561-24,9603,549 files not shown
+158,278-84,0663,555 files

LLVM/project c701492 — llvm/lib/Transforms/IPO MemProfContextDisambiguation.cpp, llvm/test/ThinLTO/X86 memprof-trimmed-inlined-context.ll

[MemProf] Assign contexts trimmed within a call's inlined stack ids to its node (#240193)

When updating the stack nodes for callsites while building the graph, a
call with inlined frames is assigned the contexts that include all of
its stack ids that have context nodes. Profile matching trims a
context's stack once its allocation type is unambiguous, so a context
can be trimmed at an earlier stack id in that sequence. When a later
stack id has a node because of contexts for a different allocation,
such a context was only assigned to calls ending at the earlier id
that was last in the trimmed context (e.g. an out-of-line copy of
the inlined callee), and the call with the inlined frames kept calling
the original callee even though all of its profiled contexts were cold.

Give each such call duplicates of the trimmed contexts' ids, created up
front from the unmodified graph so the main stack node update loop can
also hand them to the other calls those contexts flow through, except
calls ending at a node of the creating call's own sequence, which would
compete with it for the duplicates. Measured a small (0.5%) peak RSS
increase on a large internal target due to the additional duplicates,

    [12 lines not shown]
DeltaFile
+366-69llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
+161-0llvm/test/Transforms/MemProfContextDisambiguation/trimmed-inlined-context.ll
+135-0llvm/test/Transforms/MemProfContextDisambiguation/trimmed-inlined-context-first-node.ll
+129-0llvm/test/ThinLTO/X86/memprof-trimmed-inlined-context.ll
+129-0llvm/test/Transforms/MemProfContextDisambiguation/trimmed-inlined-context-overlap.ll
+128-0llvm/test/Transforms/MemProfContextDisambiguation/trimmed-inlined-context-matching-calls.ll
+1,048-691 files not shown
+1,147-697 files

LLVM/project af6967c — llvm/lib/Target/RISCV RISCVCombine.td, llvm/lib/Target/RISCV/GISel RISCVPostLegalizerCombiner.cpp

Revert "[RISCV][GlobalISel] Combine byte-spreading operations to orc.b" (#243271)

Reverts llvm/llvm-project#240276

Test is failing when built without assertions.

Fixes #243242.
DeltaFile
+0-1,166llvm/test/CodeGen/RISCV/GlobalISel/orc-b-combine.mir
+0-357llvm/test/CodeGen/RISCV/GlobalISel/orc-b-patterns-rv64.ll
+0-220llvm/test/CodeGen/RISCV/GlobalISel/orc-b-patterns-rv32.ll
+0-52llvm/lib/Target/RISCV/GISel/RISCVPostLegalizerCombiner.cpp
+1-9llvm/lib/Target/RISCV/RISCVCombine.td
+1-1,8045 files

LLVM/project 6447d4d — llvm/include/llvm/CodeGen MachineBlockPlacement.h, llvm/lib/CodeGen MachineBlockPlacement.cpp

[CodeGen][NFC] Factor MachineBlockPlacement::alignBlocks into reusable helper (#241995)

Post-layout passes such as BasicBlockSections reorder and clone blocks
after MachineBlockPlacement (changing fallthrough predecessors) and
operate on Propeller block/edge counts rather than MBFIWrapper. Extract
the block alignment logic from MachineBlockPlacement::alignBlocks() into
llvm::alignMachineBlocks() with a lightweight BlockAlignmentProfile
interface so BasicBlockSections can recompute block alignments from
Propeller profiles without re-implementing the core alignment logic.

Assisted by: Gemini-4 Carbon
DeltaFile
+108-88llvm/lib/CodeGen/MachineBlockPlacement.cpp
+64-0llvm/include/llvm/CodeGen/MachineBlockPlacement.h
+172-882 files

LLVM/project 3cf0fa9 — llvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/test/Transforms/InstCombine simplify-libcalls-new.ll

SimplifyLibCalls: preserve allocation attributes in optimizeNew

When `LibCallSimplifier::optimizeNew` rewrites an `operator new` call into a
`__hot_cold_t` allocation call, forward the allocation attributes
(`allockind`, `allocsize`, `"alloc-family"`, and parameter `allocalign`) from
the original call onto the synthesized call instruction alongside its metadata.

This is a new patch since 2023 (unlike most of the rest of the stack)
and allows the next patch to remove more specialized C++ knowledge
from the LLVM layer, instead leaving it in clang where it seems more
sensible.

This patch was authored with the assistance of an LLM and was reviewed
by me before posting.
DeltaFile
+10-1llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+1-1llvm/test/Transforms/InstCombine/simplify-libcalls-new.ll
+11-22 files

LLVM/project 5076836 — clang/lib/CodeGen CGExprCXX.cpp, clang/test/CodeGenCXX new_hot_cold.cpp

CGExprCXX: emit family and allockind attributes

This allows us to remove the special knowledge about C++ allocation from
LLVM's MemoryBuiltins.cpp, instead trusting attributes to communicate
the important properties.

Annoyingly, clang has to grow a little bit of hard-coded knowledge about
mangled symbol names in order to actually get the most-basic-matching
::operator::new when working out the alloc-family attribute. I spent
some time trying to do this "right" by looking up the available
operators new and finding the best one, but that's super tricky and this
has the virtue of working and being pretty obviously correct when
compared to the old code.

Happily, clang now emits allocator family attributes for custom
allocators like the `__hot_cold_t` overloads in `new_hot_cold.cpp`
(which `isReplaceableGlobalAllocationFunction` in clang recognizes),
allowing us to remove that special knowledge from LLVM.


    [7 lines not shown]
DeltaFile
+2-120llvm/lib/Analysis/MemoryBuiltins.cpp
+51-51llvm/test/Transforms/InstCombine/new-delete-itanium.ll
+51-3clang/lib/CodeGen/CGExprCXX.cpp
+10-22clang/test/Headers/openmp_new_nothrow.cpp
+14-14llvm/test/Transforms/InstCombine/new-delete-itanium-32.ll
+16-10clang/test/CodeGenCXX/new_hot_cold.cpp
+144-22017 files not shown
+177-25023 files

LLVM/project 936b0ba — clang/lib/CodeGen CGCall.cpp, clang/test/CodeGen alloc-align-attr.c catch-alignment-assumption-attribute-alloc_align-on-function.cpp

clang: emit allocalign to LLVM for alloc_align attributes (#239730)

LLVM is growing knowledge of this, so we should inform it when we have
the information available. As a bonus, since we now check return
alignments in the callee as of an earlier patch of mine, we can now drop
the redundant llvm.assume() that this previously emitted.

This patch is originally from 2023 and was rebased and revised with
assistance from an LLM. I have manually reviewed the diffs to the limit
of my abilities (I don't do much in LLVM, and this is my first time
touching clang in a meaningful way) and they appear sensible. The commit
messages are entirely written by me.

Differential Revision: https://reviews.llvm.org/D119271
DeltaFile
+14-85clang/test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function-variable.cpp
+7-36clang/test/CodeGen/catch-alignment-assumption-attribute-alloc_align-on-function.cpp
+24-2clang/lib/CodeGen/CGCall.cpp
+6-16clang/test/CodeGen/alloc-align-attr.c
+8-8clang/test/CodeGenCXX/new_hot_cold.cpp
+6-6clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp
+65-1539 files not shown
+80-18115 files

LLVM/project 03607e8 — clang/lib/Driver Driver.cpp

[clang] Pass VFS to the ExpansionContext in expandResponseFiles (#243244)

expandResponseFiles() created the llvm::cl::ExpansionContext without a
file system and only set the provided VFS afterwards. The constructor
falls back to vfs::getRealFileSystem() when no file system is given, so
the real file system was always obtained even when the caller provided
a VFS. With the IO sandbox enabled, this is a sandbox violation, e.g.
when the dependency scanner builds a compilation for a by-name query.

Pass the VFS to the constructor instead.
DeltaFile
+1-3clang/lib/Driver/Driver.cpp
+1-31 files

LLVM/project 641199c — libc/src/__support/math lgammaf.h asinpi.h

[libc][math] Use multiply_sub and sub_multiply across math headers.

Replace negated multiply_add calls (multiply_add(a, b, -c), multiply_add(-b, c, a),
and multiply_add(b, -c, a)) across FPUtil and math implementation headers with
multiply_sub and sub_multiply.
DeltaFile
+9-10libc/src/__support/math/acos.h
+7-8libc/src/__support/math/asin.h
+7-7libc/src/__support/math/sincosf.h
+7-7libc/src/__support/math/sincos_eval.h
+6-7libc/src/__support/math/asinpi.h
+6-6libc/src/__support/math/lgammaf.h
+42-4587 files not shown
+198-20193 files

LLVM/project b4c618d — utils/bazel/llvm-project-overlay/libc libc_build_rules.bzl

[bazel] Add outputs to runfiles in `libc_generated_headers` (#243277)
DeltaFile
+6-2utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
+6-21 files

LLVM/project 11948ae — libc/src/__support/FPUtil dyadic_float.h double_double.h, libc/test/src/__support/FPUtil CMakeLists.txt multiply_add_test.cpp

[libc][math] Add multiply_sub and sub_multiply to multiply_add.h.

- Add fputil::multiply_sub (x * y - z) and fputil::sub_multiply (x - y * z)
  alongside fputil::multiply_add (x * y + z).
- Use template-based hardware FMA dispatch and size-aware inline overloads so
  explicit multiply_add<T> calls also use hardware FMA when available.
- Add NumberPair<T> add/sub overloads in double_double.h, and matching
  multiply_sub and sub_multiply overloads for DoubleDouble and DyadicFloat.
- Add unit tests in libc/test/src/__support/FPUtil/multiply_add_test.cpp.
DeltaFile
+156-40libc/src/__support/FPUtil/multiply_add.h
+159-0libc/test/src/__support/FPUtil/multiply_add_test.cpp
+50-0libc/src/__support/FPUtil/double_double.h
+14-0libc/src/__support/FPUtil/dyadic_float.h
+13-0libc/test/src/__support/FPUtil/CMakeLists.txt
+12-0utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel
+404-402 files not shown
+410-408 files

LLVM/project f0fe4bc — llvm/utils/gn/secondary/libcxx/include BUILD.gn

[gn] port bf92e35c9a86 (#243280)
DeltaFile
+1-0llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+1-01 files

LLVM/project dfc37f0 — llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone BUILD.gn

[gn] port 6518708ecc76 (#243279)
DeltaFile
+1-0llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
+1-01 files

LLVM/project 0b028d8 — llvm/utils/gn/secondary/clang/test BUILD.gn

[gn] port 393f5e5a922d (#243278)
DeltaFile
+2-0llvm/utils/gn/secondary/clang/test/BUILD.gn
+2-01 files

LLVM/project 4fbd32c — llvm/lib/Target/SPIRV SPIRVLegalizePointerCast.cpp SPIRVEmitIntrinsics.cpp, llvm/test/CodeGen/SPIRV/passes SPIRVLegalizePointerCast-invalid-multiple-errors.ll SPIRVEmitIntrinsics-logical-gep-dominance.ll

[SPIR-V] Legalize folded byte-offset GEPs for workgroup memory (#227104)

Fix `SPIRVLegalizePointerCast` crashes on constant-index workgroup array
accesses.

Rebuild folded byte-offset GEPs as typed logical access chains. For
example, byte offset `1024` into `[257 x i32]` becomes indices `0, 256`.

This keeps byte-address resource legalization unchanged and adds a
regression test for #227064.

Fixes #227064 
Assisted by: Github Copilot
DeltaFile
+132-0llvm/test/CodeGen/SPIRV/passes/SPIRVLegalizePointerCast.ll
+82-20llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
+38-10llvm/lib/Target/SPIRV/SPIRVLegalizePointerCast.cpp
+42-0llvm/test/CodeGen/SPIRV/pointers/getelementptr-byte-addressing-constant.ll
+32-0llvm/test/CodeGen/SPIRV/passes/SPIRVEmitIntrinsics-logical-gep-dominance.ll
+30-0llvm/test/CodeGen/SPIRV/passes/SPIRVLegalizePointerCast-invalid-multiple-errors.ll
+356-308 files not shown
+457-3114 files

LLVM/project a34f1a7 — llvm/test/CodeGen/X86 vector-interleaved-store-i64-stride-7.ll vector-deinterleave8-i64.ll

[X86] Enable SlotIndexes compaction by default

Compacting SlotIndexes before greedy allocation drops the entries of
erased instructions, so live range sizes and instruction distances
reflect the code being allocated rather than how much was erased
before it. AMDGPU has done this since #235806; do the same for X86.

Codegen changes only through allocation: no new crashes, verifier
errors or allocation failures in the lit suites, including
EXPENSIVE_CHECKS, and a stage-2 build of LLVM, clang and lld with
-verify-machineinstrs passes its own tests. On llvm-test-suite at -O3,
spills drop 0.3% and .text 0.06%, with compile time unchanged.

Most test updates are regenerated checks. misched-matmul now inserts
20 spills instead of 24. live-debug-vars-stale-slotindexes.mir gets
one more use of %27 so that accumulate_fit still reaches the stale
index path it was written for.
DeltaFile
+20,796-20,889llvm/test/CodeGen/X86/vector-interleave7-i16.ll
+17,854-17,989llvm/test/CodeGen/X86/vector-interleave7-i32.ll
+17,166-17,229llvm/test/CodeGen/X86/vector-interleave6-i16.ll
+15,403-15,465llvm/test/CodeGen/X86/vector-interleaved-load-i64-stride-7.ll
+13,897-13,898llvm/test/CodeGen/X86/vector-deinterleave8-i64.ll
+13,329-13,243llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+98,445-98,713505 files not shown
+675,059-677,611511 files

LLVM/project 25bdadd — llvm/test/CodeGen/X86/apx reloc-opt.ll

[X86][APX] Test the relocation of an NF add

test_regclass_not_updated_by_regalloc_2 only produced an NDD/NF add
with a GOT operand because the allocator happened to give the add a
destination different from its source. With SlotIndexes compaction it
picks the same register, so the add is compressed to the legacy form
and the CODE_6 TODO lost its test.

Add a function whose add keeps its source live, so it stays NDD and
becomes NF under any allocation.
DeltaFile
+20-1llvm/test/CodeGen/X86/apx/reloc-opt.ll
+20-11 files

LLVM/project c245ed9 — utils/bazel/llvm-project-overlay/libc libc_build_rules.bzl

[bazel] Add outputs to runfiles in `libc_generated_headers`
DeltaFile
+6-2utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
+6-21 files

LLVM/project aa117f6 — clang/test/CIR/CodeGenCUDA builtins-nvptx-wmma.cu builtins-nvptx-wmma-loads.cu, libc/test/src/wchar swprintf_test.cpp

Merge branch 'main' into users/jroelofs/constraint-elim-minmax-2
DeltaFile
+3,137-5libc/test/src/wchar/swprintf_test.cpp
+758-0clang/test/CIR/CodeGenCUDA/builtins-nvptx-wmma-loads.cu
+548-14llvm/test/Transforms/Attributor/nofpclass-fadd-fsub.ll
+422-0llvm/test/Transforms/SLPVectorizer/X86/copyable-fp-identity-exact.ll
+168-52llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+208-0clang/test/CIR/CodeGenCUDA/builtins-nvptx-wmma.cu
+5,241-71407 files not shown
+9,186-1,286413 files

LLVM/project a562cde — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[SLP][NFC] Refactor to create TreeEntry::isInOrder() (#243262)

Code pattern is repeated across the file.

Assisted By: Codex
DeltaFile
+28-42llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+28-421 files

LLVM/project 76f55c5 — llvm/lib/Analysis LoopAccessAnalysis.cpp, llvm/test/Analysis/LoopAccessAnalysis predicated-stores-same-ptr.ll multiple-stores-same-pointer.ll

[LAA] Check dependences between predicated stores to the same pointer. (#242902)

Vectorization may reorder stores to the same pointer across iterations
if some of them are predicated, e.g. the stores in one branch are all
executed before the stores in the other. This is only safe if the
dependences between them are safe, but they were not checked in two
cases:

* A write is only checked if there is an earlier write in its alias set,
so the dependences between stores to the first written pointer were
never checked.
* Loops with a single written pointer and no reads were treated as safe
without any checks, even if the pointer is written by multiple stores.

Check writes with multiple stores to the same pointer: if any of them is
predicated don't treat as safe. Also only skip the checks for loops with
a single store and no reads.
DeltaFile
+25-12llvm/lib/Analysis/LoopAccessAnalysis.cpp
+18-3llvm/test/Analysis/LoopAccessAnalysis/multiple-stores-same-pointer.ll
+16-4llvm/test/Analysis/LoopAccessAnalysis/predicated-stores-same-ptr.ll
+59-193 files

LLVM/project 5544705 — llvm/lib/Target/AMDGPU GCNFeatures.td SIModeRegister.cpp, llvm/test/CodeGen/AMDGPU float-to-arbitrary-fp-fp8-hw.ll mode-register-fp16-ovfl.gfx1250.mir

[AMDGPU] Select saturating FP8 converts on gfx1250

The f32 to FP8 and BF8 conversions on gfx1250 also clamp overflow and
infinity to the largest finite value while MODE.FP16_OVFL is set, so
enable the saturating selection there.

gfx1250 selects the True16 forms of these conversions, which need
their own saturating variants. WMMA and SWMMAC depend on FP16_OVFL
without reading the mode register, so restore the default before them
as well.

Change-Id: I2680d540f102adaa9b2293e21cdcbd3b9e4afd09
Co-Authored-By: Claude Fable 5.2 <noreply at anthropic.com>
DeltaFile
+492-0llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-fp8-sat.ll
+97-0llvm/test/CodeGen/AMDGPU/mode-register-fp16-ovfl.gfx1250.mir
+19-68llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-fp8-hw.ll
+14-0llvm/lib/Target/AMDGPU/VOP3Instructions.td
+8-1llvm/lib/Target/AMDGPU/SIModeRegister.cpp
+1-0llvm/lib/Target/AMDGPU/GCNFeatures.td
+631-696 files

LLVM/project 7810a61 — llvm/lib/Target/AMDGPU VOP3Instructions.td SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU float-to-arbitrary-fp-fp8-hw.ll mode-register-fp16-ovfl.mir

[AMDGPU] Select saturating FP8 converts on gfx950

llvm.convert.to.arbitrary.fp with saturation was expanded generically
because v_cvt_pk_{fp8,bf8}_f32 do not saturate by default. For
E4M3FN, which has no infinity, the non-saturating form is poison on
overflow, so frontends had no way to get the hardware conversion with
defined overflow behaviour.

On gfx950 these conversions clamp overflow and infinity to the largest
finite value while MODE.FP16_OVFL is set. Select them for the
saturating form and let SIModeRegister set the bit, restoring the
default before anything else that depends on the mode and before
calls and returns.

Managing a second mode field exposed that a pending mode change could
be merged into an earlier insertion point without regard for the
instructions in between. Track the bits those instructions depend on.

Change-Id: I502af5acdc1d05de89189b7de63c8fe4e0d55107
Co-Authored-By: Claude Fable 5.2 <noreply at anthropic.com>
DeltaFile
+337-0llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-fp8-sat.ll
+323-0llvm/test/CodeGen/AMDGPU/mode-register-fp16-ovfl.mir
+87-22llvm/lib/Target/AMDGPU/SIModeRegister.cpp
+4-58llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-fp8-hw.ll
+23-8llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+12-1llvm/lib/Target/AMDGPU/VOP3Instructions.td
+786-894 files not shown
+804-8910 files

LLVM/project 9105264 — llvm/lib/Target/RISCV RISCVCombine.td, llvm/lib/Target/RISCV/GISel RISCVPostLegalizerCombiner.cpp

Revert "[RISCV][GlobalISel] Combine byte-spreading operations to orc.b (#240276)"

This reverts commit 5ae4fd672b4fc54d814671c378cefa6f77845dda.
DeltaFile
+0-1,166llvm/test/CodeGen/RISCV/GlobalISel/orc-b-combine.mir
+0-357llvm/test/CodeGen/RISCV/GlobalISel/orc-b-patterns-rv64.ll
+0-220llvm/test/CodeGen/RISCV/GlobalISel/orc-b-patterns-rv32.ll
+0-52llvm/lib/Target/RISCV/GISel/RISCVPostLegalizerCombiner.cpp
+1-9llvm/lib/Target/RISCV/RISCVCombine.td
+1-1,8045 files

LLVM/project 718a404 — clang/lib/Sema HLSLExternalSemaSource.cpp, clang/test/AST/HLSL implicit-using-namespace.hlsl

[HLSL][[202x] Do not emit implicit using directive if hlsl 202x and later (#243154)

Doesn't emit the implicit using namespace hlsl directive if 202x or
later.
Updates all tests which are 202x or later and relied on the implicit
directive with an explicit 'using namespace hlsl'.
Adds a new test showing for all versions of HLSL before 202x the
implicit using directive is included.

Closes #235100 

Assisted by Copilot GPT-6.1 Sol
DeltaFile
+19-0clang/test/AST/HLSL/implicit-using-namespace.hlsl
+5-4clang/lib/Sema/HLSLExternalSemaSource.cpp
+2-0clang/test/SemaHLSL/matrix_layout_attr.hlsl
+2-0clang/test/SemaHLSL/Types/ElementwiseCastConstantExpr.hlsl
+2-0clang/test/SemaHLSL/Types/BuiltinVector/VectorCastConstantExpr.hlsl
+2-0clang/test/SemaHLSL/Types/BuiltinVector/TruncationConstantExpr.hlsl
+32-4142 files not shown
+316-4148 files

LLVM/project d0b5bc8 — lld/test/COFF pdb-section-contribs-determinism.test

Add determinism test
DeltaFile
+28-0lld/test/COFF/pdb-section-contribs-determinism.test
+28-01 files

LLVM/project d16798e — lld/COFF PDB.cpp

Use prefix-sum to parallelize across all output sections at once.
DeltaFile
+20-9lld/COFF/PDB.cpp
+20-91 files