LLVM/project fb9f551 — clang/lib/CIR/Dialect/Transforms CIRABIClassifierAMDGPU.cpp, clang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.h CIRABIRewriteContext.cpp

[CIR] Lower va_arg for AMDGPU in CallConvLowering
DeltaFile
+130-0clang/test/CIR/Transforms/abi-lowering/amdgpu-vaarg.cir
+89-0clang/test/CodeGen/AMDGPU/abi-va-arg.c
+59-13clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+4-5clang/lib/CIR/Dialect/Transforms/CIRABIClassifierAMDGPU.cpp
+1-1clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.h
+283-195 files

LLVM/project 65fac40 — llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize interleave_uncountable_exits.ll

[VPlan] Move extract-lane(0, canWideIV) combine before unrolling

Some extract-lane combines can't be performed before unrolling, e.g. the one that combines it to Instruction::ExtractElement can end up extracting from a different part. But the extract-lane(0, canWideIV) can because at index 0 you're always extracting from the first part. Do this before unrolling, which improves codegen of unrolled code.
DeltaFile
+16-24llvm/test/Transforms/LoopVectorize/VPlan/early_exit_with_stores_vplan.ll
+4-12llvm/test/Transforms/LoopVectorize/interleave_uncountable_exits.ll
+6-6llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+26-423 files

LLVM/project 81785cf — llvm/lib/Transforms/Vectorize LoopVectorize.cpp VPlanUnroll.cpp, llvm/test/Transforms/LoopVectorize interleave_uncountable_exits.ll

[VPlan] Support interleaving early exit loops with side effects

We couldn't do this on main previously because the exit mask `active-lane-mask(0, FirstActiveLane(Cond))` doesn't get unrolled properly across parts. Now that we use mask.beforefirst we can unroll it properly in a chain. The unrolled form is:

    unroll(mask.beforefirst, P) = mask.beforefirst(cond[P] | broadcast(anyof(not(unroll(mask.beforefirst, P-1)))))

On AArch64 this can be combined to brkpb in another patch.
DeltaFile
+106-7llvm/test/Transforms/LoopVectorize/interleave_uncountable_exits.ll
+10-0llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+10-0llvm/lib/Transforms/Vectorize/VPlanLowering.cpp
+0-9llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+126-164 files

LLVM/project 63f1a78 — libc/src/langinfo nl_langinfo.h nl_langinfo_l.h, libc/test/src/langinfo nl_langinfo_test.cpp

[libc] Add nl_langinfo and nl_langinfo_l implementations (#243540)

POSIX defines nl_langinfo and nl_langinfo_l so callers can query locale
parameters such as CODESET and standard date, numeric, and message
strings without parsing external locale files.  Now that the internal
locale tables exist, this change implements both entrypoints across all
57 POSIX <langinfo.h> items and exposes them on Linux targets.

nl_langinfo resolves directly against the fixed compiled-in default
locale tables without consulting mutable global or thread-local state,
while nl_langinfo_l queries the caller-supplied locale_t handle (falling
back to the compiled-in default when LIBC_CONF_ENABLE_RUNTIME_LOCALE is
disabled).  Unrecognised nl_item values return "" without modifying
errno.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+133-0libc/test/src/langinfo/nl_langinfo_test.cpp
+132-0libc/src/langinfo/langinfo_utils.h
+40-0libc/src/langinfo/CMakeLists.txt
+28-0libc/src/langinfo/nl_langinfo_l.cpp
+27-0libc/src/langinfo/nl_langinfo_l.h
+26-0libc/src/langinfo/nl_langinfo.h
+386-012 files not shown
+509-018 files

LLVM/project fee573a — llvm/docs AMDGPUDMAOperations.md

Apply suggestion from @ritter-x2a

Co-authored-by: Fabian Ritter <fabian.ritter at amd.com>
DeltaFile
+1-1llvm/docs/AMDGPUDMAOperations.md
+1-11 files

LLVM/project d56bc48 — llvm/lib/CodeGen RegisterCoalescer.cpp, llvm/test/CodeGen/X86 coalescer-erasable-implicit-def-partial-redef.mir

Reland "[RegisterCoalescer] Keep endpoints of lane-carrying IMPLICIT_DEF" (#243068)

Relands #230141, reverted in #242409.

The new test had a kill flag on a virtual register, which the
MachineVerifier rejects since #239012. Dropped it; no code change.

Original commit message:

Since #196895, pruneValues discards the endpoints of a value copied from
an erasable IMPLICIT_DEF. A partial IMPLICIT_DEF without `<read-undef>`
carries other lanes those endpoints may read, so discarding them leaves
a hole in the live range. Keep them unless the source has no ValidLanes.

Assisted-by: Claude Opus 5.5
DeltaFile
+67-0llvm/test/CodeGen/X86/coalescer-erasable-implicit-def-partial-redef.mir
+14-7llvm/lib/CodeGen/RegisterCoalescer.cpp
+81-72 files

LLVM/project 4d36931 — llvm/lib/Transforms/Vectorize VPlan.h VPlan.cpp

[VPlan] Make VPlan::hasEarlyExit operate on loop regions. NFC (#243753)

This allows it to handle early exit loops with side effects, which it
currently misses. Early exit loops with side effects have
indistinguishable control flow to regular loops after the regions are
dissolved.

The only post-dissolve caller is the LoopInfo fixup for dispatch blocks.
However we don't need to check hasEarlyExit here, as it won't touch any
loops that aren't dispatch blocks.
DeltaFile
+27-29llvm/lib/Transforms/Vectorize/VPlan.cpp
+6-18llvm/lib/Transforms/Vectorize/VPlan.h
+33-472 files

LLVM/project 6372543 — llvm/utils/TableGen/Common CodeGenDAGPatterns.cpp

TableGen: Index patterns by predicates when generating variants (#244106)

GenerateVariants quadractically compared each new variant against
every pattern to find duplicates, though only patterns with the same
predicates can match. Index the patterns by predicates and only
compare against those.

RISCVGenDAGISel.inc tablegen run:

            Gigainstructions  Gigacycles      CPU seconds
  Before    56.9              27.8            8.7
  After     50.0 (-12.2%)     25.2 (-9.3%)    8.0 (-8.8%)

AMDGPUGenDAGISel.inc tablegen run:

            Gigainstructions  Gigacycles      CPU seconds
  Before    91.2              44.6            14.2
  After     85.3 (-6.5%)      42.7 (-4.2%)    13.4 (-5.4%)


    [6 lines not shown]
DeltaFile
+9-5llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
+9-51 files

LLVM/project 07f2b97 — lld/test/MachO arm64-thunk-visibility.s

[lld-macho] Check the exact set of thunk symbols

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+10-10lld/test/MachO/arm64-thunk-visibility.s
+10-101 files

LLVM/project 507de0c — llvm/lib/Target/Hexagon HexagonInstrInfo.h HexagonInstrInfo.cpp, llvm/test/CodeGen/Hexagon mux-debug-use.mir mux-debug-clobbered.mir

[Hexagon] Ignore debug uses when generating muxes (#232237)

HexagonGenMux incorrectly treats register uses from DBG_VALUE
instructions as executable register uses when building its def-use maps.
A debug-only use of the destination register can therefore prevent two
complementary conditional transfers from being folded into a C2_mux.
Keep debug instructions in the positional map but exclude them from the
executable def-use information used by mux analysis. Add a regression
test covering a DBG_VALUE between the conditional transfers.

Fixes #227919
DeltaFile
+49-0llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
+49-0llvm/test/CodeGen/Hexagon/mux-debug-same-var.mir
+48-0llvm/test/CodeGen/Hexagon/mux-debug-up.mir
+47-0llvm/test/CodeGen/Hexagon/mux-debug-clobbered.mir
+46-0llvm/test/CodeGen/Hexagon/mux-debug-use.mir
+12-0llvm/lib/Target/Hexagon/HexagonInstrInfo.h
+251-01 files not shown
+257-17 files

LLVM/project 70d1fc8 — mlir/lib/Target/LLVMIR DebugTranslation.h DebugImporter.h, mlir/test/Target/LLVMIR llvmir-debug.mlir

[mlir][llvm] Import and export DIEnumerator debug info (#243873)

Import llvm::DIEnumerator as DIEnumeratorAttr and export it back, so
enumeration types keep their enumerators. This follows the attribute
added in #241969, and the discussion in
https://discourse.llvm.org/t/interest-in-adding-dienumerator-and-template-parameter-debug-info-to-the-llvm-dialect/92776.

Before this change DebugImporter did not handle DIEnumerator, so
translating an enumerator returned null, and because the importer drops
the whole elements list when one element fails to translate, an
enumeration type was imported without any of its enumerators.

The importer keeps the name (null when the LLVM name is empty), the
unsigned flag, and the value as an IntegerAttr with exactly the width of
the LLVM APInt. The exporter builds the llvm::DIEnumerator from the same
three pieces. As usual for signless integers, an unsigned value prints
in its signed form, for example value = -1 : i64, isUnsigned = true, and
a one bit value prints as true or false. LLVM's textual IR parser gives
a literal such as 0 or -1 a width of one bit, so these two import as

    [12 lines not shown]
DeltaFile
+34-0mlir/test/Target/LLVMIR/llvmir-debug.mlir
+29-0mlir/test/Target/LLVMIR/Import/debug-info.ll
+8-2mlir/lib/Target/LLVMIR/DebugTranslation.cpp
+10-0mlir/lib/Target/LLVMIR/DebugImporter.cpp
+1-0mlir/lib/Target/LLVMIR/DebugTranslation.h
+1-0mlir/lib/Target/LLVMIR/DebugImporter.h
+83-26 files

LLVM/project a4329f5 — lld/MachO SyntheticSections.cpp ConcatOutputSection.cpp, lld/test/MachO arm64-thunk-visibility.s

[lld-macho] Give thunks to linker-private labels no symbol

Like the labels themselves, their thunks stay out of the output symbol
table, as in ld-prime.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+8-2lld/test/MachO/arm64-thunk-visibility.s
+3-2lld/MachO/ConcatOutputSection.cpp
+2-1lld/MachO/SyntheticSections.cpp
+13-53 files

LLVM/project b86056e — orc-rt/test/Inputs CMakeLists.txt orc-rt-test-dylib.c, orc-rt/test/unit CMakeLists.txt

[orc-rt] Make NativeDylibManager's test dylib a shared input. (#244105)

The shared library added for the NativeDylibManager unit tests isn't
actually NativeDylibManager-specific. Move it to test/Inputs as
orc-rt-test-dylib, so that it can be reused by other unit and regression
tests. Unit tests find it through the ORC_RT_TEST_DYLIB_PATH compile
definition (previously NDM_TEST_LIB_PATH), and regression tests through
a new %{test-dylib} substitution.

The library is now written in C, defines its own export macro rather
than using the unit tests' TestVisibility.h, and its functions are
renamed to orc_rt_test_dylib_return42 and orc_rt_test_dylib_return7.
DeltaFile
+26-0orc-rt/test/Inputs/orc-rt-test-dylib.c
+12-13orc-rt/test/unit/bedrock/sps/NativeDylibManagerSPSCITest.cpp
+12-13orc-rt/test/unit/bedrock/NativeDylibManagerTest.cpp
+21-0orc-rt/test/Inputs/CMakeLists.txt
+3-11orc-rt/test/unit/CMakeLists.txt
+0-6orc-rt/test/unit/Inputs/NativeDylibManagerTestLib.cpp
+74-434 files not shown
+87-4310 files

LLVM/project bbaa688 — clang/test/CodeGen hexagon-hlx-vector-stack-limit.c, clang/test/CodeGenCXX hexagon-hlx-vector-stack-limit.cpp

[Hexagon] Add a limit on the HLX vector stack size (#243174)

Report an error when a function needs more HLX vector (VTCM) stack than
allowed, including the area for outgoing HLX stack arguments. The limit
comes from the "hlx-vector-stack-limit" function attribute, or else from
the -hlx-vector-stack-limit option, and there is no limit by default.

In Clang, the -fhlx-vector-stack-limit=N driver option, which requires
-mhlx, sets the limit on all functions through the
"hlx-vector-stack-limit" function attribute in IR. A function can
override it with the hlx_vector_stack_limit(N) attribute.

Assisted by AI

---------

Co-authored-by: Ankit Aggarwal <aankit at qti.qualcomm.com>
Co-authored-by: pavani karveti <pkarveti at qti.qualcomm.com>
DeltaFile
+52-0llvm/test/CodeGen/Hexagon/hlx-vector-stack-limit.ll
+34-0clang/test/CodeGen/hexagon-hlx-vector-stack-limit.c
+25-0clang/test/Driver/hexagon-hlx.c
+18-0clang/test/Sema/hexagon-hlx-vector-stack-limit.c
+16-1llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
+16-0clang/test/CodeGenCXX/hexagon-hlx-vector-stack-limit.cpp
+161-111 files not shown
+240-517 files

LLVM/project 790edd6 — llvm/test/CodeGen/AMDGPU sched-handleMoveUp-dead-def-across-def.mir

Updated test according to reviewer feedback.
DeltaFile
+1-2llvm/test/CodeGen/AMDGPU/sched-handleMoveUp-dead-def-across-def.mir
+1-21 files

LLVM/project c1b4f35 — flang/lib/Lower/OpenMP ClauseProcessor.cpp, flang/test/Integration/OpenMP declare-mapper-iterator.f90

[flang][mlir][OMPIRBuilder][OpenMP] Support iterator modifier in declare mapper map clause (#235491)

This PR adds LLVM code generation support for the `iterator` modifier in
`map` clauses inside `declare mapper`, building on the lowering added in
[#241358](https://github.com/llvm/llvm-project/pull/241358).

**Implementation:**

- `OMPIRBuilder`: added `MapInfosTy::DynamicSegments` to describe groups
of mapper components whose count is only known at runtime (trip count, a
callback producing one iteration's base/begin/size, the map type, and an
optional child mapper). `emitUserDefinedMapper` emits a loop per segment
that pushes each component via `__tgt_push_mapper_component`, resolving
`MEMBER_OF` against `__tgt_mapper_num_components`. Added
`LeadingParentCond` to mark the first static component as a parent
synthesized only to group those segments, pushed conditionally at
runtime.
- Added runtime handling for iterator-generated map entries using
`__tgt_push_mapper_component`, since the number of elements is known

    [22 lines not shown]
DeltaFile
+351-4mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+266-0mlir/test/Target/LLVMIR/openmp-declare-mapper-iterator.mlir
+164-90llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+68-0flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+64-0offload/test/offloading/fortran/target-declare-mapper-iterator-nested.f90
+63-0flang/test/Integration/OpenMP/declare-mapper-iterator.f90
+976-9413 files not shown
+1,454-12519 files

LLVM/project 91a26e2 — llvm/test/CodeGen/Hexagon hlx-vector-pair-alloca-marker.ll

[Hexagon] Test that HLX pair alloca lowering keeps half-vector loads (#243916)

Check that a store to an HLX VectorPair alloca is lowered to SS16b.new
while an HLX_Vector-typed load from the same alloca stays a plain load.

Assisted by AI
DeltaFile
+14-0llvm/test/CodeGen/Hexagon/hlx-vector-pair-alloca-marker.ll
+14-01 files

LLVM/project 2062133 — llvm/utils/TableGen/Common CodeGenDAGPatterns.cpp

TableGen: Index patterns by predicates when generating variants

GenerateVariants quadractically compared each new variant against
every pattern to find duplicates, though only patterns with the same
predicates can match. Index the patterns by predicates and only
compare against those.

RISCVGenDAGISel.inc tablegen run:

            Gigainstructions  Gigacycles      CPU seconds
  Before    56.9              27.8            8.7
  After     50.0 (-12.2%)     25.2 (-9.3%)    8.0 (-8.8%)

AMDGPUGenDAGISel.inc tablegen run:

            Gigainstructions  Gigacycles      CPU seconds
  Before    91.2              44.6            14.2
  After     85.3 (-6.5%)      42.7 (-4.2%)    13.4 (-5.4%)


    [7 lines not shown]
DeltaFile
+9-5llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
+9-51 files

LLVM/project 3e17668 — bolt/test link_fdata.py

[BOLT] Skip symbols with no name (#239088)

In llvm-nm, an existing bug makes smybol with no name listed in
special-syms. This makes later value unpacking fails. It has been fixed
in trunk but is not in the older release version. We workaround this by
skipping such symbols by check len < 3 or not.

See: https://github.com/llvm/llvm-project/pull/192129
DeltaFile
+4-1bolt/test/link_fdata.py
+4-11 files

LLVM/project 84548dd — llvm/test/CodeGen/AArch64/Atomics aarch64_be-atomicrmw-lscp.ll aarch64-atomicrmw-lscp.ll, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.896bit.ll amdgcn.bitcast.512bit.ll

Merge branch 'main' into users/lukel97/loop-vectorize/hasEarlyExit-side-effects
DeltaFile
+15,749-15,507llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+9,174-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lscp.ll
+8,819-0llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lscp.ll
+4,234-4,226llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+3,606-3,651llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+3,595-3,578llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+45,177-26,9621,851 files not shown
+182,255-113,3541,857 files

LLVM/project ed11511 — llvm/lib/Target/BPF BPFUnwind.cpp, llvm/test/CodeGen/BPF unwind-dead-blocks.ll

Revert to previous version
DeltaFile
+27-221llvm/test/CodeGen/BPF/unwind-dead-blocks.ll
+8-3llvm/lib/Target/BPF/BPFUnwind.cpp
+35-2242 files

LLVM/project 0b0f0d4 — llvm/test/CodeGen/AArch64/Atomics aarch64_be-atomicrmw-lscp.ll aarch64-atomicrmw-lscp.ll, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.512bit.ll amdgcn.bitcast.960bit.ll

Rebase

Created using spr 1.3.7
DeltaFile
+15,980-15,802llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+1,204-20,133utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+9,174-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lscp.ll
+8,819-0llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lscp.ll
+4,234-4,282llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+3,948-4,025llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+43,359-44,2429,511 files not shown
+495,032-271,3909,517 files

LLVM/project 42b89bd — llvm/test/CodeGen/AArch64/Atomics aarch64_be-atomicrmw-lscp.ll aarch64-atomicrmw-lscp.ll, llvm/test/CodeGen/AMDGPU amdgcn.bitcast.512bit.ll amdgcn.bitcast.960bit.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+15,980-15,802llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+1,204-20,133utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+9,174-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lscp.ll
+8,819-0llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-lscp.ll
+4,234-4,282llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+3,948-4,025llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+43,359-44,2429,511 files not shown
+495,032-271,3909,517 files

LLVM/project 36f1fd3 — clang/include/clang/AST ASTContext.h, clang/lib/AST ASTContext.cpp

[clang] Avoid repeated per-function target setup

Reuse function feature maps through const references in ASTContext,
sharing maps by target attribute contents and multiversion selection.
Compute vscale directly from the borrowed map.

CTMark (-march=rva23u64 -O3), three interleaved pairs: 0.520% lower
median total compile time and 0.244% lower workload geomean.

Assisted-by: TRAE CLI (GPT-6)

Reviewers:
davemgreen, topperc, lukel97, efriedma-quic, snehasish, sdesmalen-arm

Pull Request: https://github.com/llvm/llvm-project/pull/241192
DeltaFile
+83-0clang/unittests/AST/FunctionFeatureMapTest.cpp
+40-0clang/lib/AST/ASTContext.cpp
+3-11clang/lib/CodeGen/CodeGenModule.cpp
+4-7clang/lib/CodeGen/CodeGenFunction.cpp
+3-4clang/lib/Basic/Targets/AArch64.cpp
+7-0clang/include/clang/AST/ASTContext.h
+140-225 files not shown
+149-3011 files

LLVM/project c538a23 — llvm/lib CMakeLists.txt

[CMake] Enforce -Wglobal-constructors for MC, MCParser, NVPTXCodeGen (#244103)

They no longer have C++ dynamic initialization after their cl::opt
globals moved to TableGen.
DeltaFile
+0-3llvm/lib/CMakeLists.txt
+0-31 files

LLVM/project ad014db — llvm/lib/Target/RISCV RISCVTargetTransformInfo.h, llvm/test/Transforms/LoopVectorize/RISCV reg-usage.ll

[RISCV] Increase the vector spill/reload cost (#243766)

When spilling/reloading a vector register, the stack slot address
need to be materialized before the store/load.
DeltaFile
+19-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
+2-2llvm/test/Transforms/LoopVectorize/RISCV/reg-usage.ll
+21-22 files

LLVM/project ffcd0a5 — lldb/source/Utility DataExtractor.cpp, lldb/unittests/Utility DataExtractorTest.cpp

[lldb] Don't assert in DataExtractor::GetLongDouble past the end (#243973)

Return 0 if the check fails rather than asserting.

Assisted-by: Claude
DeltaFile
+19-0lldb/unittests/Utility/DataExtractorTest.cpp
+1-1lldb/source/Utility/DataExtractor.cpp
+20-12 files

LLVM/project 4651227 — clang/docs ReleaseNotes.md, clang/include/clang/Basic DiagnosticSemaKinds.td DiagnosticGroups.td

[clang] Add new volatile -Wunsequenced support under -Wunsequenced-volatile (#244073)

So it can be disabled separately while people clean up violations.

Initially implemented in #180955.

Assisted with Gemini
DeltaFile
+11-0clang/test/Sema/warn-unsequenced-volatile.c
+2-1clang/include/clang/Basic/DiagnosticSemaKinds.td
+2-1clang/include/clang/Basic/DiagnosticGroups.td
+2-1clang/docs/ReleaseNotes.md
+17-34 files

LLVM/project 97b916e — llvm/lib/Target/RISCV RISCVRegisterInfo.td, llvm/test/MC/RISCV xsmtvdot-invalid.s xsmtvdotii-invalid.s

[RISCV] Improve vector register diagnostics (#241929)
DeltaFile
+47-47llvm/test/MC/RISCV/rvv/invalid.s
+49-8llvm/lib/Target/RISCV/RISCVRegisterInfo.td
+11-11llvm/test/MC/RISCV/xsmtvdotii-invalid.s
+4-4llvm/test/MC/RISCV/xsmtvdot-invalid.s
+2-2llvm/test/MC/RISCV/rvv/zvqwbdota-invalid.s
+2-2llvm/test/MC/RISCV/rvv/zvfwbdota16bf-invalid.s
+115-743 files not shown
+121-809 files

LLVM/project 2bada9f — llvm/lib/Target/RISCV RISCVISelDAGToDAG.cpp, llvm/test/CodeGen/RISCV rvp-scalar.ll

[RISCV][P-ext] Fix crash selecting WADDA[U]/WSUBA[U] with a zero accumulator (#244093)

`WADDA`, `WADDAU`, `WSUBA` and `WSUBAU` tie the accumulator to the
result, so it must be a virtual register. `Select()` treated them like
`ADDD/SUBD` and used `X0_Pair` for a (0, 0) accumulator, which hits an
assertion.

This commit selects them with the other widening accumulate nodes so the
accumulator is always built with `buildGPRPair`. `X0_Pair` is now only
used for `ADDD/SUBD`.

Closes #244092
DeltaFile
+79-0llvm/test/CodeGen/RISCV/rvp-scalar.ll
+22-45llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+101-452 files