LLVM/project 40be4f9clang/lib/Driver/ToolChains FreeBSD.cpp, clang/test/Driver freebsd.c hie-fpie-option-freebsd.hip

fixup! [Clang] Switch to Default PIE on FreeBSD
DeltaFile
+27-29clang/test/Driver/freebsd.c
+0-38clang/test/Driver/hie-fpie-option-freebsd.hip
+36-0clang/test/Driver/hip-fpie-option-freebsd.hip
+9-3clang/lib/Driver/ToolChains/FreeBSD.cpp
+2-2flang/test/Driver/linker-options.f90
+2-2clang/test/Driver/freebsd-mips-as.c
+76-749 files not shown
+77-9015 files

LLVM/project 83582cfclang/lib/CodeGen CGExprScalar.cpp, clang/test/CodeGen c11atomics.c

[clang][CodeGen] Do not use atomicrmw in compound assignments with FP conversions (#209114)

Per C11 6.5.16.2p1, when the left operand of operator `+=` has atomic
type, the right shall have arithmetic type. Do not try the `atomicrmw`
fast-path when FP conversion, arithmetic and truncation are required, as
a single atomic operation may not correctly capture the combined
semantics.

Fixes: https://github.com/llvm/llvm-project/issues/208997.
DeltaFile
+17-5clang/lib/CodeGen/CGExprScalar.cpp
+21-0clang/test/CodeGen/c11atomics.c
+38-52 files

LLVM/project 9b5ad6eoffload/plugins-nextgen/amdgpu/src rtl.cpp, offload/plugins-nextgen/cuda/dynamic_cuda cuda.h

[offload] add translation of plugin-specific error codes to Offload API ECs (#207208)

liboffload plugins would not always exhaustively map the underlying
API's error values to ol_errc_t, resulting in unintended behavior - e.g.
olCreateProgram, given an invalid binary, would return OL_ERRC_UNKNOWN
instead of OL_ERRC_INVALID_BINARY.

This patch largely eliminates the most glaring cases of this by
assigning an ol_errc_t value to every error code of the underlying API
in every plugin. The proper granularity for this mapping is per-API
call, but that is a large rework that belongs in a separate patch.

Assisted-by: Claude
DeltaFile
+96-0offload/plugins-nextgen/cuda/dynamic_cuda/cuda.h
+61-5offload/plugins-nextgen/level_zero/include/L0Trace.h
+38-12offload/plugins-nextgen/cuda/src/rtl.cpp
+42-5offload/unittests/OffloadAPI/program/olCreateProgram.cpp
+27-14offload/plugins-nextgen/amdgpu/src/rtl.cpp
+23-16offload/plugins-nextgen/level_zero/src/L0Program.cpp
+287-525 files not shown
+340-6311 files

LLVM/project 65180a5llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize/RISCV strided-accesses.ll

[VPlan] Relax address constraints during stride analysis (#209168)

VPlanTransforms::convertToStridedAccesses() only handled loads whose
address was a VPWidenGEPRecipe, missing pointer-induction loops where
the address is computed differently. Analyze the address VPValue
directly so these cases are also converted to strided loads.

Fixed #207171
DeltaFile
+2-5llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+5-1llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
+7-62 files

LLVM/project 983ad0dllvm/docs AMDGPUDMAOperations.md

immediate, wave-uniform
DeltaFile
+22-22llvm/docs/AMDGPUDMAOperations.md
+22-221 files

LLVM/project 9277129llvm/test/CodeGen/AMDGPU hsa-generic-target-features.ll generic-targets-require-v6.ll

AMDGPU: Use subarch in tests using generic arches (#209870)

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+21-21llvm/test/CodeGen/AMDGPU/hsa-generic-target-features.ll
+18-18llvm/test/CodeGen/AMDGPU/generic-targets-require-v6.ll
+1-1llvm/test/CodeGen/AMDGPU/convergent.mir
+40-403 files

LLVM/project adc0f68llvm/test/CodeGen/AMDGPU pr155452.ll fmuladd.f32.ll, llvm/test/CodeGen/AMDGPU/GlobalISel flat-scratch-init.ll

AMDGPU: Convert tests to use subarch from triples in the file (#209869)

This set was using target triple in the source rather than command
line arguments.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+51-55llvm/test/CodeGen/AMDGPU/pr155452.ll
+14-15llvm/test/CodeGen/AMDGPU/fmuladd.f32.ll
+2-5llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch-init.ll
+2-4llvm/test/CodeGen/AMDGPU/addrspacecast.ll
+2-4llvm/test/CodeGen/AMDGPU/callee-special-input-vgprs-packed.ll
+2-3llvm/test/CodeGen/AMDGPU/debug-independence-adjustSchedDependency.ll
+73-8617 files not shown
+94-12423 files

LLVM/project 2b8125cclang/docs ReleaseNotes.md, clang/include/clang/Basic OpenCLExtensions.def

[Clang][OpenCL] Promote a few extensions to OpenCL 3.1 core (#204330)

Following 6 OpenCL extensions are promoted to core features in 3.1:
https://github.com/KhronosGroup/OpenCL-Docs/commit/9fff1a87a975
- cl_khr_extended_bit_ops
- cl_khr_integer_dot_product
- cl_khr_subgroup_extended_types
- cl_khr_subgroup_rotate
- cl_khr_subgroup_shuffle
- cl_khr_subgroup_shuffle_relative

A target claiming OpenCL C 3.1 conformance without supporting one of
these features is now diagnosed.
Updated release notes for the change.

Assisted-by: Claude
DeltaFile
+8-8clang/include/clang/Basic/OpenCLExtensions.def
+8-0clang/test/Misc/amdgcn.unsupported_core_3.1.cl
+6-0clang/docs/ReleaseNotes.md
+2-0clang/test/SemaOpenCL/extension-version.cl
+24-84 files

LLVM/project c1ba7d0clang/lib/AST/ByteCode Pointer.cpp Interp.h, clang/test/AST/ByteCode virtual-bases.cpp cxx11.cpp

Reapply "[clang][bytecode] Diagnose pointer subtractions of elements … (#209998)

…of different arrays" (#209969)

This reverts commit 745b946cbbf30708044b4a2c4a7726d0c02ca0de.

Use only one `fold()` for the virtual base offset assertions.
The pointer subtraction _is_ invalid, but the current interpreter
doesn't diagnose it since the `LValueDesignator`s are invalid.
DeltaFile
+39-3clang/lib/AST/ByteCode/Pointer.cpp
+12-12clang/test/AST/ByteCode/virtual-bases.cpp
+19-0clang/test/AST/ByteCode/cxx11.cpp
+9-1clang/lib/AST/ByteCode/Interp.h
+1-1clang/lib/AST/ByteCode/Pointer.h
+80-175 files

LLVM/project 119fbaeflang/lib/Lower PFTBuilder.cpp, flang/test/Lower do_loop_execute_region_wrap.f90

[flang][PFT] check every branch target in wrappability analyses

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>
DeltaFile
+38-0flang/test/Lower/do_loop_execute_region_wrap.f90
+24-7flang/lib/Lower/PFTBuilder.cpp
+62-72 files

LLVM/project d32614fflang/lib/Lower PFTBuilder.cpp, flang/test/Lower do_loop_unstructured.f90 do_loop_execute_region_wrap.f90

[flang][PFT-to-MLIR] Wrap unstructured Fortran constructs in scf.execute_region

Extend the PFT-to-MLIR (HLFIR/FIR) lowering so unstructured DO and IF
constructs are emitted inside scf.execute_region, hiding their multi-block
CFG behind a single op. OpenACC and OpenMP lowerings that reject
multi-block content (e.g. the "unstructured do loop in combined acc
construct" TODO in OpenACC.cpp) now see a structured op instead.

Flag: -mmlir --wrap-unstructured-constructs-in-execute-region (default on).

An evaluation is wrappable iff all of the following hold:

  * wrap flag on
  * eval is parser::DoConstruct or parser::IfConstruct
  * eval.isUnstructured
  * branchesAreInternal(eval) -- every controlSuccessor in the subtree
    targets a nested eval or the constructExit
  * !hasIncomingBranch(eval) -- no outside eval branches into the body
    (PFT's synthetic IfConstruct around `if(c) goto X` absorbs label

    [29 lines not shown]
DeltaFile
+234-2flang/lib/Lower/PFTBuilder.cpp
+103-102flang/test/Lower/OpenMP/unstructured.f90
+177-24flang/test/Lower/OpenACC/acc-unstructured.f90
+38-87flang/test/Lower/do_loop_unstructured.f90
+111-0flang/test/Lower/do_loop_execute_region_wrap.f90
+47-61flang/test/Lower/mixed_loops.f90
+710-27621 files not shown
+1,058-51727 files

LLVM/project fb2feebllvm/include/llvm/Analysis TargetTransformInfo.h, llvm/lib/Analysis TargetTransformInfo.cpp

[RISCV][VPlan] Cost vp.merges that are likely to be folded away as free (#209387)

A vp.merge is lowered to a PseudoVMERGE_VVM on RISC-V, and
RISCVVectorPeehole usually folds away PseudoVMERGE_VVMs when its true
operand is a binary op.

This accounts for this in the cost model and plumbs it through the loop
vectorizer. The following reduction loop was previously considered
unprofitable to vectorize, but after this change is now vectorized, and
folds away all its vp.merges:

    void three_gathers(const long *a, const long *c, const long *d,
                       const long *b, long n, long *out) {
      long s1 = 0, s2 = 0, s3 = 0;
      for (long i = 0; i < n; i++) {
        long j = b[i];
        s1 += a[j];
        s2 += c[j];
        s3 += d[j];

    [12 lines not shown]
DeltaFile
+23-15llvm/include/llvm/Analysis/TargetTransformInfo.h
+17-8llvm/test/Transforms/LoopVectorize/RISCV/tail-folding-reduction-cost.ll
+6-7llvm/lib/Analysis/TargetTransformInfo.cpp
+9-1llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+8-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+1-1llvm/test/Transforms/LoopVectorize/RISCV/force-vect-msg.ll
+64-326 files

LLVM/project a4728f4flang/include/flang/Lower PFTBuilder.h, flang/lib/Lower PFTBuilder.cpp

[flang][PFT] record every target of multiway branches

The Evaluation node stored branch targets in a single `Evaluation *`
(`controlSuccessor`). `markBranchTarget` therefore silently dropped every
target after the first when lowering a computed `GO TO` or arithmetic `IF`,
so any analysis that consulted `controlSuccessor` to enumerate branch
targets saw only the first label.

Add `extraControlSuccessors` alongside
`controlSuccessor`. `markBranchTarget` still fills `controlSuccessor` with the
first target, but appends each subsequent distinct target to
`extraControlSuccessors`. Extend the PFT dumper to print the extra targets
after the first ("-> N, M, K"), so PFT dumps expose every branch target.

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>
DeltaFile
+41-0flang/test/Lower/pre-fir-tree-multiway-branch.f90
+15-3flang/lib/Lower/PFTBuilder.cpp
+11-4flang/include/flang/Lower/PFTBuilder.h
+2-2flang/test/Lower/pre-fir-tree02.f90
+69-94 files

LLVM/project e9a8eb5llvm/unittests/Frontend OpenMPIRBuilderTest.cpp, llvm/unittests/Target/AMDGPU AMDGPUUnitTests.cpp DwarfRegMappings.cpp

AMDGPU: Use subarch triples in more unit tests

Avoid looking up the target by the cpu name with the legacy
amdgcn name.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+38-32llvm/unittests/Target/AMDGPU/AMDGPUUnitTests.cpp
+8-6llvm/unittests/Target/AMDGPU/DwarfRegMappings.cpp
+2-3llvm/unittests/Target/AMDGPU/UniformityAnalysisTest.cpp
+2-2llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+2-1llvm/unittests/Target/AMDGPU/AMDGPUUnitTests.h
+1-1llvm/unittests/Target/AMDGPU/AMDGPUMCExprTest.cpp
+53-455 files not shown
+58-5011 files

LLVM/project d94df00llvm/test/tools/llvm-reduce/mir preserve-max-call-frame-size.mir preserve-mem-operands.mir

AMDGPU: Convert llvm-reduce tests to new subarch triples (62) (#209868)

Pick arbitrary real subarch
DeltaFile
+1-1llvm/test/tools/llvm-reduce/mir/preserve-max-call-frame-size.mir
+1-1llvm/test/tools/llvm-reduce/mir/preserve-mem-operands.mir
+1-1llvm/test/tools/llvm-reduce/mir/preserve-reg-hints.mir
+1-1llvm/test/tools/llvm-reduce/mir/reduce-instruction-flags.mir
+1-1llvm/test/tools/llvm-reduce/mir/reduce-instruction-unreachable-block.mir
+1-1llvm/test/tools/llvm-reduce/mir/reduce-register-defs.mir
+6-619 files not shown
+25-2525 files

LLVM/project c012610cross-project-tests CMakeLists.txt, cross-project-tests/dtlto remote-options.test

[DTLTO] Add remote compiler option forwarding coverage (#208589)

Add a cross-project DTLTO test that checks the existing LTO
configuration state serialized into the remote Clang command line. The
test uses the validate.py distributor to inspect the generated DTLTO
JSON.

Cover all the existing forwarded options.

Add paired negative checks for optional flags so the test also verifies
they are not emitted when the corresponding configuration state is not
set.
DeltaFile
+90-0cross-project-tests/dtlto/remote-options.test
+1-0cross-project-tests/CMakeLists.txt
+91-02 files

LLVM/project 9c6a9f5llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 arm64ec-exit-thunks.ll

[CodeGen][ARM64EC] Copy first four arguments to FP registers in vararg exit thunks (#209581)

ARM64EC vararg functions receive all types of the first four arguments
in x0-x3. Because x86_64 expects floating-point arguments in FP
registers, always copy x0-x3 to d0-d3 in the exit thunks, matching
MSVC's behavior.
DeltaFile
+21-0llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+12-0llvm/test/CodeGen/AArch64/arm64ec-exit-thunks.ll
+33-02 files

LLVM/project 770ccb3llvm/include/llvm/Analysis DependenceAnalysis.h, llvm/lib/Analysis DependenceAnalysis.cpp

[DA] Rewrite BanerjeeMIV test with safe APInt interval arithmetic

The old banerjeeMIVtest computed inequality bounds using SCEV
arithmetic on 64-bit integers. Intermediate operations like
$(A^{-} - B^{+}) \times Iterations$ could overflow i64 even when all individual
coefficients and loop bounds fit, producing unsound results.

Replace the symbolic bound machinery with a self-contained APInt
interval arithmetic implementation. Key design decisions:

- BanerjeeInterval holds [Lower, Upper] signed-inclusive bounds.
  Operations use APInt arithmetic at WideBits, chosen to guarantee no
  intermediate overflow:
  $$
    WideBits = max(8, 2 \times BaseBits + MaxLevels + 8)
  $$
  This is provably sufficient, each term product needs at most `2 \times BaseBits + 1`
  bits, and summing across MaxLevels terms needs at most ceil($\log_2 (MaxLevels)$)
  extra bits.

    [15 lines not shown]
DeltaFile
+382-429llvm/lib/Analysis/DependenceAnalysis.cpp
+104-3llvm/test/Analysis/DependenceAnalysis/banerjee-overflow.ll
+20-50llvm/include/llvm/Analysis/DependenceAnalysis.h
+2-4llvm/test/Analysis/DependenceAnalysis/gcd-miv-overflow.ll
+1-1llvm/test/Analysis/DependenceAnalysis/PR51512.ll
+509-4875 files

LLVM/project 9a839d5llvm/lib/Target/AMDGPU GCNVOPDUtils.cpp VOP3PInstructions.td, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp

AMDGPU: Reland: Codegen for v_dual_dot2acc_f32_f16/bf16 from VOP3

For V_DOT2_F32_F16 and V_DOT2_F32_BF16 add their VOPDName and mark
them with usesCustomInserter which will be used to add pre-RA register
allocation hints to preferably assign dst and src2 to the same physical
register. When the hint is satisfied, canMapVOP3PToVOPD recognises the
instruction as eligible for VOPD pairing by checking if it is VOP2 like:
dst==src2, no source modifiers, no clamp, and src1 is a register.
Mark both instructions as commutable to allow a literal in src1 to be
moved to src0, since VOPD only permits a literal in src0.

Original patch had a bug where it did not check if physical src
registers match register class of appropriate operand in fullVOPD
instructions, check is now done via isValidVOPDSrc.
DeltaFile
+442-520llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.ll
+163-69llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.f32.bf16.ll
+34-1llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+8-5llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+8-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+6-0llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+661-5951 files not shown
+663-5977 files

LLVM/project bf397bellvm/docs LangRef.md, llvm/lib/AsmParser LLParser.cpp

[IR] Add elementwise modifier to atomic loads (#204556)

Add an `elementwise` modifier to atomic loads to represent
per-element atomic semantics for fixed-vector loads.

Without the modifier, a vector atomic load remains a whole-value
atomic operation. With `elementwise`, the load behaves as if it were
expanded into one scalar atomic load per fixed-vector element, without
providing atomicity for the vector value as a whole.

Discussion:
https://discourse.llvm.org/t/rfc-add-elementwise-modifier-to-atomic-loads-and-stores/91100
DeltaFile
+80-0llvm/unittests/IR/VerifierTest.cpp
+49-0llvm/test/Assembler/invalid-load-store-atomic-elementwise.ll
+18-8llvm/docs/LangRef.md
+15-10llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+18-4llvm/lib/IR/Verifier.cpp
+20-2llvm/lib/AsmParser/LLParser.cpp
+200-248 files not shown
+260-3514 files

LLVM/project 8a77787llvm/lib/Target/X86 X86InstrInfo.cpp, llvm/test/CodeGen/X86 remove-redundant-cmp-tzcnt.ll remove-redundant-cmp-lzcnt.ll

Revert "[X86] Remove redundant `cmp` before `adc` after `lzcnt` or `tzcnt`" (#210006)

Reverts #208392 - while we investigate a miscompile due to CF/ZF mismatch
DeltaFile
+0-199llvm/test/CodeGen/X86/remove-redundant-cmp-tzcnt.ll
+0-186llvm/test/CodeGen/X86/remove-redundant-cmp-lzcnt.ll
+0-76llvm/test/CodeGen/X86/remove-redundant-cmp-lzcnt-i64.ll
+0-74llvm/test/CodeGen/X86/remove-redundant-cmp-tzcnt-i64.ll
+0-12llvm/lib/Target/X86/X86InstrInfo.cpp
+3-1llvm/test/CodeGen/X86/bitcnt-load-with-cmov.ll
+3-5486 files

LLVM/project b12b981llvm/lib/Target/AMDGPU GCNVOPDUtils.cpp

AMDGPU: Validate VOPD/VOPD3 physical source registers against operand RC

Replace isVGPR checks with isValidVOPDSrc that validates physical source
registers against the actual combined VOPD/VOPD3 instruction's operand
register classes. Now we also validate operands for VOPD instructions.
DeltaFile
+40-7llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+40-71 files

LLVM/project 65d3601llvm/lib/Target/RISCV RISCVInstrInfoSFB.td, llvm/test/CodeGen/RISCV short-forward-branch-opt-zibi.ll

[RISC-V] Make Short Forward Branches capable of matching Zibi instructions (#208637)

Add new SFB patterns to make `PseudoCCMOVGPR` capable of matching `beqi`
and `bnei`, so that it can be folded into `PseudoCC*` of `SFBALU_rr`
variants
DeltaFile
+550-0llvm/test/CodeGen/RISCV/short-forward-branch-opt-zibi.ll
+22-0llvm/lib/Target/RISCV/RISCVInstrInfoSFB.td
+572-02 files

LLVM/project e83e07bllvm/lib/Target/AMDGPU GCNVOPDUtils.cpp

AMDGPU: Refactor checkVOPDRegConstraints
DeltaFile
+28-41llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+28-411 files

LLVM/project 36d2fb9llvm/lib/Target/AMDGPU SIISelLowering.cpp AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.struct.ptr.buffer.format.i8.xfail.ll

[AMDGPU] Reject sub-dword format buffer loads and stores (#209703)

An i8 `buffer.{load,store}.format` has no corresponding hardware
instruction so diagnose it in SelectionDAG and fail legalization in
GlobalISel instead of emitting invalid format opcodes
DeltaFile
+22-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+20-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.format.i8.xfail.ll
+19-0llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+61-03 files

LLVM/project a179096llvm/test/CodeGen/AMDGPU hsa-generic-target-features.ll generic-targets-require-v6.ll

AMDGPU: Use subarch in tests using generic arches
DeltaFile
+21-21llvm/test/CodeGen/AMDGPU/hsa-generic-target-features.ll
+18-18llvm/test/CodeGen/AMDGPU/generic-targets-require-v6.ll
+1-1llvm/test/CodeGen/AMDGPU/convergent.mir
+40-403 files

LLVM/project fbb1d67llvm/test/CodeGen/AMDGPU pr155452.ll fmuladd.f32.ll, llvm/test/CodeGen/AMDGPU/GlobalISel flat-scratch-init.ll

AMDGPU: Convert tests to use subarch from triples in the file

This set was using target triple in the source rather than command
line arguments.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+51-55llvm/test/CodeGen/AMDGPU/pr155452.ll
+14-15llvm/test/CodeGen/AMDGPU/fmuladd.f32.ll
+2-5llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch-init.ll
+2-4llvm/test/CodeGen/AMDGPU/addrspacecast.ll
+2-4llvm/test/CodeGen/AMDGPU/callee-special-input-vgprs-packed.ll
+2-3llvm/test/CodeGen/AMDGPU/debug-independence-revertScheduling.ll
+73-8617 files not shown
+94-12423 files

LLVM/project 184ffa2llvm/test/tools/llvm-reduce/mir drop-ir-references.mir generic-vreg.mir

AMDGPU: Convert llvm-reduce tests to new subarch triples (62)
DeltaFile
+1-1llvm/test/tools/llvm-reduce/mir/drop-ir-references.mir
+1-1llvm/test/tools/llvm-reduce/mir/generic-vreg.mir
+1-1llvm/test/tools/llvm-reduce/mir/infer-triple.mir
+1-1llvm/test/tools/llvm-reduce/mir/input-file-does-not-exist.mir
+1-1llvm/test/tools/llvm-reduce/mir/instr-reduce-dead-def.mir
+1-1llvm/test/tools/llvm-reduce/mir/multiple-functions.mir
+6-619 files not shown
+25-2525 files

LLVM/project 88acd42llvm/test/Analysis/KernelInfo/enable-kernel-info amdgpu.test, llvm/test/Analysis/KernelInfo/flat-addrspace amdgpu.test

AMDGPU: Migrate KernelInfo tests to new subarch triples (61) (#209867)

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+6-6llvm/test/Analysis/KernelInfo/openmp/amdgpu.ll
+1-1llvm/test/Analysis/KernelInfo/launch-bounds/amdgpu.ll
+1-1llvm/test/Analysis/KernelInfo/enable-kernel-info/amdgpu.test
+1-1llvm/test/Analysis/KernelInfo/openmp/README.md
+1-1llvm/test/Analysis/KernelInfo/flat-addrspace/amdgpu.test
+10-105 files

LLVM/project dab4c91llvm/utils/TableGen RegisterBankEmitter.cpp, llvm/utils/TableGen/Common CodeGenRegisters.cpp CodeGenRegisters.h

[TableGen] Optimize register bank and info emission. (#208297)

Don't go via a BitVector just to a read a single value out of it.
DeltaFile
+18-12llvm/utils/TableGen/Common/CodeGenRegisters.cpp
+9-0llvm/utils/TableGen/Common/CodeGenRegisters.h
+1-3llvm/utils/TableGen/RegisterBankEmitter.cpp
+28-153 files