[llvm] [AMDGPU] Reset VGPR MSBs at the end of fallthrough basic block (PR #164901)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 24 16:31:50 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
----------------
rampitec wrote:
Just removed it. It will reset mode at the end of each block regardless as per convention. The proper optimization is to squash blocks.
https://github.com/llvm/llvm-project/pull/164901
More information about the llvm-commits
mailing list