[llvm] [AMDGPU] Avoid put implicit_def into bundle that break reg's liveness (PR #142563)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 5 05:02:19 PDT 2026
================
@@ -165,8 +182,10 @@ void llvm::finalizeBundle(MachineBasicBlock &MBB,
}
}
- if (!MO.isDead() && Reg.isPhysical())
- LocalDefs.insert_range(TRI->subregs(Reg));
----------------
jayfoad wrote:
This part is really nice since it avoids adding lots of redundant defs of subregisters to the BUNDLE. This is responsible for most of the test case diffs.
https://github.com/llvm/llvm-project/pull/142563
More information about the llvm-commits
mailing list