[llvm] [AMDGPU] SCC live interval must be recomputed after CF lowering (PR #81817)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 28 22:53:31 PST 2024
================
@@ -951,6 +945,11 @@ bool SILowerControlFlow::runOnMachineFunction(MachineFunction &MF) {
optimizeEndCf();
if (LIS) {
+ if (Changed) {
+ // These will need to be recomputed for insertions and removals.
+ LIS->removeAllRegUnitsForPhysReg(AMDGPU::EXEC);
----------------
arsenm wrote:
exec is reserved and has no liveness tracking, not sure why it was handled before
https://github.com/llvm/llvm-project/pull/81817
More information about the llvm-commits
mailing list