[all-commits] [llvm/llvm-project] 7afb0e: AMDGPU: Remove llvm.amdgcn.addrspacecast.nonnull

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Sep 8 02:17:25 PDT 2026


  Branch: refs/heads/users/arsenm/amdgpu/addrspacecast-nonnull-remove-intrinsic
  Home:   https://github.com/llvm/llvm-project
  Commit: 7afb0e17c9bd58b2840e9d96741b4b34b2defcf6
      https://github.com/llvm/llvm-project/commit/7afb0e17c9bd58b2840e9d96741b4b34b2defcf6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/addrspacecast.mir
    M llvm/test/Analysis/UniformityAnalysis/AMDGPU/addrspacecast.ll
    A llvm/test/Bitcode/amdgcn-addrspacecast-nonnull.ll
    M llvm/test/CodeGen/AMDGPU/addrspacecast-gas.ll
    M llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-undefined-behavior.ll
    M llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-undefined-behavior2.ll
    M llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit.ll
    R llvm/test/CodeGen/AMDGPU/llvm.amdgcn.addrspacecast.nonnull.ll

  Log Message:
  -----------
  AMDGPU: Remove llvm.amdgcn.addrspacecast.nonnull

The intrinsic is fully replaced by the nonnull flag on addrspacecast,
so remove it.

Old bitcode/IR is autoupgraded, though this is very conservative. This
intrinsic was only inserted by the backend, and hopefully nobody was
directly emitting it.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list