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

Petar Avramovic via All-commits all-commits at lists.llvm.org
Tue Jun 9 04:47:34 PDT 2026


  Branch: refs/heads/users/petar-avramovic/bundle-fix
  Home:   https://github.com/llvm/llvm-project
  Commit: adac1493c4ebcc5b7ce6d7dfc0439749f01f3dba
      https://github.com/llvm/llvm-project/commit/adac1493c4ebcc5b7ce6d7dfc0439749f01f3dba
  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

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>



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