[llvm] [AMDGPU] Reset VGPR MSBs at the end of fallthrough basic block (PR #164901)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 23 23:25:05 PDT 2025


================
@@ -480,7 +480,7 @@ body:             |
     ; GCN-NEXT: v_mov_b32_e32 v0 /*v256*/, v1
     $vgpr256 = V_MOV_B32_e32 undef $vgpr1, implicit $exec
 
-    ; No mode switch on fall through
+    ; No mode switch on fall through if this is the only predecessor
----------------
arsenm wrote:

Can you test this with an end to end ir test 

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


More information about the llvm-commits mailing list