[llvm] VirtRegRewriter: Add super register defs for live out undef lanes (PR #112679)
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 21 01:26:50 PDT 2024
================
@@ -532,6 +535,26 @@ bool VirtRegRewriter::subRegLiveThrough(const MachineInstr &MI,
return false;
}
+/// Check if we need to maintain liveness for undef subregister lanes that are
+/// live out of a block.
+bool VirtRegRewriter::needLiveOutUndefSubregDef(const LiveInterval &LI,
----------------
qcolombet wrote:
I assume that LI is supposed to hold the main live-interval for SubReg, but it would be good to call it out in the comment.
Also, what is PhysReg used here?
https://github.com/llvm/llvm-project/pull/112679
More information about the llvm-commits
mailing list