[all-commits] [llvm/llvm-project] 2d4afb: [AMDGPU] SIFoldOperands: update BUNDLE header impl...

Petar Avramovic via All-commits all-commits at lists.llvm.org
Tue Jun 9 09:08:09 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d4afb8f9d12901cc472e14f9c2c8146226f5aa4
      https://github.com/llvm/llvm-project/commit/2d4afb8f9d12901cc472e14f9c2c8146226f5aa4
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
    M llvm/test/CodeGen/AMDGPU/ds_gws_align.ll
    A llvm/test/CodeGen/AMDGPU/si-fold-operands-bundle.mir

  Log Message:
  -----------
  [AMDGPU] SIFoldOperands: update BUNDLE header implicit use when folding (#201872)

When folding an operand inside a BUNDLE, also rewrite the matching
implicit use on the bundle header. LiveVariables iterates a
MachineBasicBlock with the bundle-aware iterator and only inspects the
header, so without this update its kill flags go stale and a later
MachineVerifier run reports "Using a killed virtual register".

Co-Authored-By: Claude Opus 4 <noreply at anthropic.com>

Co-authored-by: Claude Opus 4 <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