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

Petar Avramovic via All-commits all-commits at lists.llvm.org
Fri Jun 5 09:00:30 PDT 2026


  Branch: refs/heads/users/petar-avramovic/bundle-fix
  Home:   https://github.com/llvm/llvm-project
  Commit: 40ef0c0be8c8c664556892b0f372e8c51d509159
      https://github.com/llvm/llvm-project/commit/40ef0c0be8c8c664556892b0f372e8c51d509159
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2026-06-05 (Fri, 05 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