LLVM/project 35d553butils/bazel/llvm-project-overlay/libc BUILD.bazel

[Bazel] Fixes 52b2e03 (#223567)

This fixes 52b2e03278f103f5baaa14a43bd9be380301de94 (#220906).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=52b2e03278f103f5baaa14a43bd9be380301de94

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+10-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+10-11 files

LLVM/project 37d9648llvm/include/llvm/CodeGen SelectionDAG.h

[NFC] [SelectionDAG] fix typo in comment (#223560)
DeltaFile
+2-2llvm/include/llvm/CodeGen/SelectionDAG.h
+2-21 files

LLVM/project 52b2e03libc/src/__support/File file.cpp file.h, libc/src/__support/File/linux file_flags.h file.cpp

[libc] feat(filemode): implement class and helper functions to handle file modes for an opened file (#220906)

I moved the logic from `mode_flags` function to the `FileMode`
constructor.

The `FileMode` class has several helper methods to work with modes which
can then be called in `File` class.

Issue: #213374

---------

Signed-off-by: tdadadavid <davidtofunmidada at gmail.com>
Co-authored-by: Michael Jones <michaelrj at google.com>
DeltaFile
+222-0libc/test/src/__support/File/file_mode_test.cpp
+152-0libc/src/__support/File/file_mode.h
+56-81libc/src/__support/File/linux/file.cpp
+8-43libc/src/__support/File/file.h
+49-0libc/src/__support/File/linux/file_flags.h
+0-45libc/src/__support/File/file.cpp
+487-1699 files not shown
+533-19815 files

LLVM/project a636e92llvm/lib/Target/RISCV RISCVOptWInstrs.cpp, llvm/test/CodeGen/RISCV opt-w-instrs.mir

[RISCV] Teach RISCVOptWInstrs that zext.w is fixable to sext.w. (#223559)

Note, in some cases erasing the zext.w and fixing an earlier
instruction would be even better but that requires more extensive
changes.
DeltaFile
+28-0llvm/test/CodeGen/RISCV/opt-w-instrs.mir
+22-1llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
+50-12 files

HardenedBSD/src fe68aeashare/man/man4 iflib.4, sys/compat/linuxkpi/common/include/linux dma-mapping.h

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+570-39sys/net/iflib.c
+42-47sys/dev/virtio/network/if_vtnet.c
+54-1sys/compat/linuxkpi/common/src/linux_pci.c
+48-3share/man/man4/iflib.4
+43-0sys/compat/linuxkpi/common/src/linux_compat.c
+36-0sys/compat/linuxkpi/common/include/linux/dma-mapping.h
+793-9016 files not shown
+930-10722 files

HardenedBSD/src f68edfbshare/man/man4 iflib.4, sys/compat/linuxkpi/common/include/linux dma-mapping.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+570-39sys/net/iflib.c
+42-47sys/dev/virtio/network/if_vtnet.c
+54-1sys/compat/linuxkpi/common/src/linux_pci.c
+48-3share/man/man4/iflib.4
+43-0sys/compat/linuxkpi/common/src/linux_compat.c
+36-0sys/compat/linuxkpi/common/include/linux/dma-mapping.h
+793-9016 files not shown
+930-10722 files

HardenedBSD/src 274b0d6sys/fs/nfsserver nfs_nfsdkrpc.c

nfs_nfsdkrpc.c: Fix the "glue" for the nfsrdma.ko modules for NFSv3

Without this patch, nd_xprt is only set for NFSv4.1/4.2.
The nfsrdma.ko needs it to be set for all versions of NFS,
so this one line patch does that.

No semantics change for non-RDMA NFS service.

MFC after:      3 months
Fixes:  7144a1d58c5c ("nfsd: Add glue for the nfsrdma.ko module")
DeltaFile
+1-2sys/fs/nfsserver/nfs_nfsdkrpc.c
+1-21 files

FreeBSD/src 274b0d6sys/fs/nfsserver nfs_nfsdkrpc.c

nfs_nfsdkrpc.c: Fix the "glue" for the nfsrdma.ko modules for NFSv3

Without this patch, nd_xprt is only set for NFSv4.1/4.2.
The nfsrdma.ko needs it to be set for all versions of NFS,
so this one line patch does that.

No semantics change for non-RDMA NFS service.

MFC after:      3 months
Fixes:  7144a1d58c5c ("nfsd: Add glue for the nfsrdma.ko module")
DeltaFile
+1-2sys/fs/nfsserver/nfs_nfsdkrpc.c
+1-21 files

FreeBSD/ports 602759enet/kafka pkg-plist distinfo, net/kafka/files kafka_connect.in kafka.in

net/kafka: Update 4.3.0 => 4.3.1

While here:
- Fix incorrect behaviour of log4j2 in rc.d script.
- Sort SUB_LIST (pet portfmt).

Release Announcement:
https://kafka.apache.org/blog/2026/06/25/apache-kafka-4.3.1-release-announcement/
Upgrading Notes:
https://kafka.apache.org/43/getting-started/upgrade/#upgrading-to-431
Release Notes:
https://downloads.apache.org/kafka/4.3.1/RELEASE_NOTES.html

PR:             298075
Approved by:    Pavel Timofeev <timp87 at gmail.com> (maintainer timeout, 2 weeks)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3

(cherry picked from commit 2a931b245eac4ba051225af64aa4ebb63d4edb76)
DeltaFile
+4-4net/kafka/Makefile
+3-3net/kafka/distinfo
+2-2net/kafka/files/kafka_connect.in
+2-2net/kafka/files/kafka.in
+2-0net/kafka/pkg-plist
+13-115 files

FreeBSD/ports 2a931b2net/kafka pkg-plist distinfo, net/kafka/files kafka_connect.in kafka.in

net/kafka: Update 4.3.0 => 4.3.1

While here:
- Fix incorrect behaviour of log4j2 in rc.d script.
- Sort SUB_LIST (pet portfmt).

Release Announcement:
https://kafka.apache.org/blog/2026/06/25/apache-kafka-4.3.1-release-announcement/
Upgrading Notes:
https://kafka.apache.org/43/getting-started/upgrade/#upgrading-to-431
Release Notes:
https://downloads.apache.org/kafka/4.3.1/RELEASE_NOTES.html

PR:             298075
Approved by:    Pavel Timofeev <timp87 at gmail.com> (maintainer timeout, 2 weeks)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3
DeltaFile
+4-4net/kafka/Makefile
+3-3net/kafka/distinfo
+2-2net/kafka/files/kafka_connect.in
+2-2net/kafka/files/kafka.in
+2-0net/kafka/pkg-plist
+13-115 files

HardenedBSD/ports 2a931b2net/kafka pkg-plist distinfo, net/kafka/files kafka_connect.in kafka.in

net/kafka: Update 4.3.0 => 4.3.1

While here:
- Fix incorrect behaviour of log4j2 in rc.d script.
- Sort SUB_LIST (pet portfmt).

Release Announcement:
https://kafka.apache.org/blog/2026/06/25/apache-kafka-4.3.1-release-announcement/
Upgrading Notes:
https://kafka.apache.org/43/getting-started/upgrade/#upgrading-to-431
Release Notes:
https://downloads.apache.org/kafka/4.3.1/RELEASE_NOTES.html

PR:             298075
Approved by:    Pavel Timofeev <timp87 at gmail.com> (maintainer timeout, 2 weeks)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3
DeltaFile
+4-4net/kafka/Makefile
+3-3net/kafka/distinfo
+2-2net/kafka/files/kafka_connect.in
+2-2net/kafka/files/kafka.in
+2-0net/kafka/pkg-plist
+13-115 files

LLVM/project 54f5766mlir/lib/Conversion/AMDGPUToROCDL AMDGPUToROCDL.cpp, mlir/lib/Conversion/GPUToROCDL LowerGpuOpsToROCDLOps.cpp

[mlir] Migrate AMDGPU/ROCDL to targets, not chipset versions

**migration tl;dr:** Replace usages of `amdgpu::Chipset` with `ROCDL::TargetInfo`, ideally move from `chipset=` to `arch=`. If you don't use upstream pipelines, call 'TargetInfo::migrateArchFeaturesToModuleFlags` at the appropriate location.

Further note: if you've got a build pipeline that's getting a `gfxXXX` name from something like `rocm_agent_enumerator`, using a full triple name like the ones you get from `rocminfo` is preferred.

`amdgpu::Chipset` was an awkward hack that was hard to keep up to date
with changes in the compiler/new architectures, and didn't properly
support generic targets (and has been strongly disfavored by the
compiler team).

This PR replaces `amdgpu::Chipset` with `ROCDL::TargetInfo`, a
structure that uses LLVM's TargetParser and the underlying LLVM
features tables to get the real nature of the target being compiled
for.

This also helps MLIR move to
new-style (`-mtriple=amdgpuX.YZ-amd-amdhsa`) over "old
style" (`-mtriple=amdgcn-amd-amdhsa -mcpu=gfxXYZ`) triples.

    [36 lines not shown]
DeltaFile
+316-323mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
+105-0mlir/test/Dialect/LLVMIR/rocdl-attach-target-arch.mlir
+87-4mlir/lib/Dialect/GPU/Transforms/ROCDLAttachTarget.cpp
+46-40mlir/lib/Dialect/AMDGPU/Transforms/EmulateAtomics.cpp
+49-24mlir/test/Dialect/AMDGPU/amdgpu-emulate-atomics.mlir
+30-30mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
+633-421103 files not shown
+1,181-718109 files

LLVM/project efd75a6mlir/include/mlir/Dialect/LLVMIR ROCDLTargetInfo.h, mlir/lib/Dialect/LLVMIR CMakeLists.txt

[mlir][ROCDL] Add TargetInfo to replace Chipset, allow features queries

Add a now ROCDL::TargetInfo struct that parses AMDGPU triples and
target names using the same logic that Clang and LLVM
use (TargetParser) and maintains the set of features available on a
given GPU.

This is an improvement over the old `amdgpu::Chipset` struct since
that was just a version number and often became stale compared to the
knowledge exposed by LLVM, such as gfx1170 having OCP FP8 support even
though other gfx11 chips don't have it.

This struct also allows for moving to new-style
triples (amdgpu9.42-amd-amdhsa vs amdgcn-amd-amdhsa--gfx942, for
example), which is an ongoing migration in other parts of the compiler
that this PR lets us follow.

It also enables compiling for generic targets, like `gfx11-generic`,
which can be run on all chips in a generation.

    [15 lines not shown]
DeltaFile
+392-0mlir/unittests/Dialect/LLVMIR/ROCDLTargetInfoTest.cpp
+242-0mlir/lib/Dialect/LLVMIR/IR/ROCDLTargetInfo.cpp
+193-0mlir/include/mlir/Dialect/LLVMIR/ROCDLTargetInfo.h
+2-0mlir/unittests/Dialect/LLVMIR/CMakeLists.txt
+2-0mlir/lib/Dialect/LLVMIR/CMakeLists.txt
+831-05 files

LLVM/project b984140clang/test/CodeGen link-builtin-bitcode.c, flang/test/Lower/OpenMP target_cpu_features.f90

[AMDGPU] Expose more subtarget features for MLIR

- `FeatureAtomitFaddNoRtnInsts` is needed to control when atomic emulation
for buffer operations happens
- `FeatureBackOffBarrier` controls an inline-assembly workaround for
LDS-only barriers on old gfx9
- `FeatureLfsBarrierArriveAtomic` is a precise flag compared to arch versions
- `FeatureORPFP8ConversionInsts` controls which MLIR FP8 types can be
lowered to LLVM
- `FeaturePermlane16Insts`is another feature check

Clang and flang tests are updated since they look at the feature set

AI disclosure: Claude made these changes, I wrote this message
DeltaFile
+8-6llvm/lib/Target/AMDGPU/AMDGPU.td
+3-3clang/test/CodeGen/link-builtin-bitcode.c
+1-1flang/test/Lower/OpenMP/target_cpu_features.f90
+12-103 files

OpenBSD/src tZqS7Yrlib/libcrypto/hidden/openssl pkcs12.h crypto.h, regress/lib/libcrypto/evp evptest.c

   Mark compatibility stubs as unused

   Several compatibility functions either do nothing, always fail, or are
   deprecated initialization helpers that applications no longer need.

   Mark them LCRYPTO_UNUSED so calls from namespaced library builds produce
   deprecation warnings. Remove the remaining in-tree calls to the obsolete
   EVP initialization and cleanup functions.

   ok tb
VersionDeltaFile
1.2+20-20lib/libcrypto/hidden/openssl/engine.h
1.7+6-6lib/libcrypto/hidden/openssl/evp.h
1.17+1-4regress/lib/libcrypto/evp/evptest.c
1.6+2-2lib/libcrypto/hidden/openssl/pkcs12.h
1.10+2-2lib/libcrypto/hidden/openssl/crypto.h
1.10+2-2lib/libcrypto/hidden/openssl/bio.h
+33-366 files not shown
+39-5212 files

LLVM/project 87afb37llvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Analysis/ScalarEvolution trip-count-stride-positive-from-guard.ll

[ScalarEvolution] howManyLessThans infer stride isPositive from guard (#214014)

Infer Stride is positive from loop guard.
This enables SCEV to compute symbolic-max backedge-taken count for
multi-exit loops.

Motivating example:

  void example(int *p, int n, int stride, int bound) {
if (stride <= 0) __builtin_trap(); // dominating guard => stride > 0
    for (int i = 0; i < n; i += stride) {
if (i > bound) __builtin_trap(); // per-iteration bounds check (2nd
exit)
      p[i] = 0;
    }
  }
DeltaFile
+117-0llvm/test/Analysis/ScalarEvolution/trip-count-stride-positive-from-guard.ll
+52-0llvm/test/Transforms/IndVarSimplify/exit-value-guarded-positive-stride.ll
+14-3llvm/lib/Analysis/ScalarEvolution.cpp
+183-33 files

FreeBSD/ports 01be6afsysutils/py-pywatchman Makefile distinfo

sysutils/py-pywatchman: Update 2026.08.17.00 => 2026.09.14.00

Changelogs:
- https://github.com/facebook/watchman/releases/tag/v2026.08.24.00
- https://github.com/facebook/watchman/releases/tag/v2026.08.31.00
- https://github.com/facebook/watchman/releases/tag/v2026.09.07.00
- https://github.com/facebook/watchman/releases/tag/v2026.09.14.00
Commit log:
https://github.com/facebook/watchman/compare/v2026.08.17.00...v2026.09.14.00

PR:             298110
Approved by:    no maintainer
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-3sysutils/py-pywatchman/distinfo
+1-1sysutils/py-pywatchman/Makefile
+4-42 files

HardenedBSD/ports 01be6afsysutils/py-pywatchman Makefile distinfo

sysutils/py-pywatchman: Update 2026.08.17.00 => 2026.09.14.00

Changelogs:
- https://github.com/facebook/watchman/releases/tag/v2026.08.24.00
- https://github.com/facebook/watchman/releases/tag/v2026.08.31.00
- https://github.com/facebook/watchman/releases/tag/v2026.09.07.00
- https://github.com/facebook/watchman/releases/tag/v2026.09.14.00
Commit log:
https://github.com/facebook/watchman/compare/v2026.08.17.00...v2026.09.14.00

PR:             298110
Approved by:    no maintainer
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-3sysutils/py-pywatchman/distinfo
+1-1sysutils/py-pywatchman/Makefile
+4-42 files

LLVM/project 4ae3c05clang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn-gfx1250.hip builtins-amdgcn-gfx950.hip

[CIR][AMDGPU] Add support for AMDGCN bitop3 builtins (#223104)

Adds codegen for the following AMDGCN bitop3 builtins:

- __builtin_amdgcn_bitop3_b32
- __builtin_amdgcn_bitop3_b16

These are lowered to the corresponding `llvm.amdgcn.bitop3` intrinsic.
DeltaFile
+33-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-gfx950.hip
+19-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-gfx1250.hip
+3-6clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+55-63 files

LLVM/project da8d3b7clang/test/AST/HLSL Textures-AST.hlsl Textures-vector-AST.hlsl, clang/test/CodeGenHLSL/resources Textures-Subscript.hlsl Textures-SampleGrad.hlsl

[HLSL] Implement Texture1D and its variants (#221061)

Fixes https://github.com/llvm/llvm-project/issues/194738
Fixes https://github.com/llvm/llvm-project/issues/194741
Fixes https://github.com/llvm/llvm-project/issues/194943
Fixes https://github.com/llvm/llvm-project/issues/194945

This PR implements the Texture1D type and its variants: RWTexture1D,
Texture1DArray, and RWTexture1DArray.

It also implements the codegen for the texture builtins so that they can
handle scalars where they otherwise always assumed a vector before the
existence of 1D textures.

Assisted by: Claude Opus 5

---

<sub>Stack created with <a
href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a
href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
DeltaFile
+294-161clang/test/CodeGenHLSL/resources/Textures-Load.hlsl
+224-181clang/test/AST/HLSL/Textures-vector-AST.hlsl
+224-181clang/test/AST/HLSL/Textures-scalar-AST.hlsl
+199-118clang/test/CodeGenHLSL/resources/Textures-SampleGrad.hlsl
+189-116clang/test/CodeGenHLSL/resources/Textures-Subscript.hlsl
+180-115clang/test/AST/HLSL/Textures-AST.hlsl
+1,310-87228 files not shown
+2,806-1,63934 files

HardenedBSD/ports 6467152security/crowdsec-firewall-bouncer Makefile distinfo

security/crowdsec-firewall-bouncer: Update 0.0.34 => 0.0.36

Changelog:
https://github.com/crowdsecurity/cs-firewall-bouncer/releases/tag/v0.0.36

PR:             298102
Approved by:    Manuel Sabban <manuel at crowdsec.net> (maintainer timeout, 2 weeks)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+5-5security/crowdsec-firewall-bouncer/distinfo
+2-3security/crowdsec-firewall-bouncer/Makefile
+7-82 files

FreeBSD/ports 6467152security/crowdsec-firewall-bouncer Makefile distinfo

security/crowdsec-firewall-bouncer: Update 0.0.34 => 0.0.36

Changelog:
https://github.com/crowdsecurity/cs-firewall-bouncer/releases/tag/v0.0.36

PR:             298102
Approved by:    Manuel Sabban <manuel at crowdsec.net> (maintainer timeout, 2 weeks)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+5-5security/crowdsec-firewall-bouncer/distinfo
+2-3security/crowdsec-firewall-bouncer/Makefile
+7-82 files

LLVM/project 6fb04b6llvm/lib/Target/RISCV RISCVInstrInfoZb.td, llvm/test/CodeGen/RISCV rv64zbkb.ll

[RISCV] Add SRLI+PACK pattern for (or (and rs1, 0xffffffff), (and rs2, 0xffffffff00000000)). (#223507)

Fixes #223455.
DeltaFile
+22-0llvm/test/CodeGen/RISCV/rv64zbkb.ll
+5-1llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
+27-12 files

LLVM/project 0efe725llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp, llvm/lib/MC GOFFObjectWriter.cpp MCSymbolGOFF.cpp

[SystemZ][z/OS] Add AMODE to PR symbols

Contrary to the documentation, setting the AMODE at PR symbols is
required. The symptom is that references to variables `optind` and
`optarg` (from include `<getopt.h>`, the LE-provided C runtime)
results in "missing symbol" errors.
Fix is to add AMODE to PrAttr, analog to LdAttr.
DeltaFile
+11-11llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+10-10llvm/lib/MC/MCObjectFileInfo.cpp
+5-5llvm/lib/MC/MCSymbolGOFF.cpp
+3-2llvm/lib/MC/GOFFObjectWriter.cpp
+2-2llvm/test/CodeGen/SystemZ/zos-section-2.ll
+1-1llvm/test/CodeGen/SystemZ/zos-symbol-2.ll
+32-312 files not shown
+34-328 files

LLVM/project 62d4861clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations CppBoundedBuffers.cpp, clang/unittests/ScalableStaticAnalysis/SourceTransformation CppBoundedBuffersTest.cpp

[SSAF][SourceEdit] The last patch of expression rewrite rules for the initial version

Add a list of rewrite rules:

- '&var'/'&member' is rewritten to 'addr_of(var)', if it needs to have
  bounded type;
- 'this' is rewritten to 'make_single(this)', if it needs to have
  bounded type;
- A non-empty list-initializer flowing into a bounded_array LHS gets an
  extra '{...}' layer;
- A union with a transformed variant member gets a '= {}' default
  initializer added to one member, if necessary;
- 'delete e' gets '.data()' appended to 'e' when its base is
  transformed.

Final step of
rdar://187125348
DeltaFile
+199-15clang/lib/ScalableStaticAnalysis/SourceTransformation/Transformations/CppBoundedBuffers.cpp
+202-3clang/unittests/ScalableStaticAnalysis/SourceTransformation/CppBoundedBuffersTest.cpp
+401-182 files

LLVM/project a581509llvm/test/CodeGen/AArch64 neon-truncstore.ll lowmaskedlanes.ll

[AArch64] Add test coverage for constant mask and extract of a vector store. NFC (#223552)
DeltaFile
+272-0llvm/test/CodeGen/AArch64/lowmaskedlanes.ll
+62-0llvm/test/CodeGen/AArch64/neon-truncstore.ll
+334-02 files

LLVM/project 7878c7dllvm/docs/CommandGuide llvm-ir2vec.md

revert whitespace change
DeltaFile
+1-0llvm/docs/CommandGuide/llvm-ir2vec.md
+1-01 files

LLVM/project 011d837bolt/include/bolt/Core BinaryFunction.h, bolt/lib/Core BinaryEmitter.cpp

[BOLT] Share one LSDA type table across function fragments

## Motivation

The type table, the action table and the type index table of an LSDA are all
per-function. BOLT copies the first and the last verbatim from the input and
re-encodes the type table, but it emits a whole LSDA per fragment, so every one
of those tables is duplicated once per fragment even though the copies are
identical.

## Change

Emit the type table and the type index table once per function, after the LSDA
of the last fragment. Each fragment header points at that one @TType base. This
works because the base is an unsigned forward offset, because all LSDAs go to a
single section, and because the fragments of a function are emitted one after
another.

The action table stays per fragment. The personality routine locates it

    [10 lines not shown]
DeltaFile
+106-0bolt/test/X86/split-shared-type-table.s
+56-0bolt/test/runtime/X86/split-shared-type-table.cpp
+35-12bolt/lib/Core/BinaryEmitter.cpp
+19-0bolt/include/bolt/Core/BinaryFunction.h
+216-124 files

LLVM/project 9cd597bllvm/lib/Target/AMDGPU SIOptimizeVGPRLiveRange.cpp, llvm/test/CodeGen/AMDGPU si-opt-vgpr-liverange-bug-deadlanes.mir opt-vgpr-live-range-verifier-error.mir

AMDGPU: Use LiveIntervals in SIOptimizeVGPRLiveRange when available

LiveVariables has been long deprecated. Use LiveIntervals if available.
With the current pass structure, this will use LiveVariables.

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+76-18llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
+2-0llvm/test/CodeGen/AMDGPU/si-opt-vgpr-liverange-bug-deadlanes.mir
+2-0llvm/test/CodeGen/AMDGPU/opt-vgpr-live-range-verifier-error.mir
+80-183 files

LLVM/project 523bf2cllvm/lib/Target/AMDGPU SIOptimizeVGPRLiveRange.cpp

Address review comments
DeltaFile
+8-13llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
+8-131 files