[llvm] AMDGPU: Invalidate VCC live ranges when lowering kill instructions (PR #226040)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 02:54:48 PDT 2026


================
@@ -946,6 +946,8 @@ MachineInstr *SIWholeQuadMode::lowerKillF32(MachineInstr &MI) {
   LIS->InsertMachineInstrInMaps(*EarlyTermMI);
   LIS->InsertMachineInstrInMaps(*ExecMaskMI);
 
+  LIS->removeAllRegUnitsForPhysReg(AMDGPU::VCC);
----------------
arsenm wrote:

There aren't any other updates here, the instruction inserts don't change any intervals 

https://github.com/llvm/llvm-project/pull/226040


More information about the llvm-commits mailing list