[PATCH] D158359: [AMDGPU] Adjust swdev373493.ll to remove reduced switch undef instruction

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 21 07:39:07 PDT 2023


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/swdev373493.ll:17
+; CHECK-NEXT:    v_writelane_b32 v40, s5, 1
+; CHECK-NEXT:    v_writelane_b32 v40, s6, 2
+; CHECK-NEXT:    v_writelane_b32 v40, s7, 3
----------------
arsenm wrote:
> All this new spilling is suspicious. Does it go away if you use a load from constant global variable instead of the calling convention change?
we seem to always spill as soon as we get rid of switch undef


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158359



More information about the llvm-commits mailing list