[llvm] [AMDGPU] Avoid put implicit_def into bundle that break reg's liveness (PR #142563)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 24 06:24:58 PDT 2025
================
@@ -151,7 +166,7 @@ void llvm::finalizeBundle(MachineBasicBlock &MBB,
if (!Reg)
continue;
- if (LocalDefs.contains(Reg)) {
+ if (containRegOrSubReg(LocalDefs, Reg, TRI)) {
----------------
arsenm wrote:
What is the convention here supposed to be? Below LocalDefs inserts all subregs, but then you have to look for the subregisters at the use site? It should probably be one or the other
https://github.com/llvm/llvm-project/pull/142563
More information about the llvm-commits
mailing list