[llvm] [SelectionDAG] Switch to LiveRegUnits (PR #84197)

via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 13:47:10 PST 2024


================
@@ -14,7 +14,7 @@ body:             |
     ; GCN-NEXT:   $vgpr1 = GLOBAL_LOAD_DWORD undef $vgpr3_vgpr4, 4, 0, implicit $exec
     ; GCN-NEXT: }
     ; GCN-NEXT: $vgpr6 = V_ADD_F32_e32 killed $vgpr0, $vgpr0, implicit $mode, implicit $exec
-    ; GCN-NEXT: $vgpr5 = V_ADD_F32_e32 killed $vgpr1, $vgpr1, implicit $mode, implicit $exec
+    ; GCN-NEXT: $vgpr5 = V_ADD_F32_e32 killed $vgpr1, $vgpr1, implicit killed $mode, implicit killed $exec
----------------
AtariDreams wrote:

Reserved registers are not considered in LiveRegUnits. LivePhysRegs considers those. 

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


More information about the llvm-commits mailing list