[PATCH] D122607: AMDGPU: Delete spills of undef values

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 28 14:33:46 PDT 2022


scott.linder added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/sgpr-spill-partially-undef.mir:69
+    ; CHECK-LABEL: name: sgpr_spill_s32_undef
+    ; CHECK: liveins: $vgpr0
+    ; CHECK-NEXT: {{  $}}
----------------
Is there any downside to the VGPR remaining livein, even if no spill to it survives? I can't tell if the VGPR remains reserved in this case, but if not could the liveness end up incorrect?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122607/new/

https://reviews.llvm.org/D122607



More information about the llvm-commits mailing list