[llvm] [AMDGPU] Handle register variant S_SETREG when fixing VGPR MSB clobbers (PR #218941)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 21:13:59 PDT 2026


================
@@ -0,0 +1,27 @@
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 < %s | FileCheck %s
+
+; llvm.set.rounding lowers to s_setreg_b32(MODE), leaving garbage in
+; bits[19:12] of the SGPR operand, so the tracked mode must be re-established.
+
+declare void @llvm.set.rounding(i32)
----------------
aobolensk wrote:

Removed

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


More information about the llvm-commits mailing list