[llvm] [RISCV] Make SFMM configuration instruction emit like VSETVLI (PR #196487)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Fri May 8 04:37:55 PDT 2026


================
@@ -172,7 +172,7 @@ body:             |
     ; CHECK-NEXT: dead $x0 = PseudoSF_VSETTM [[COPY2]], 4 /* e16 */, 2 /* w2 */, implicit-def $vtype, implicit $vtype
     ; CHECK-NEXT: dead $x0 = PseudoSF_VSETTK [[COPY]], 4 /* e16 */, 2 /* w2 */, implicit-def $vtype, implicit $vtype
     ; CHECK-NEXT: PseudoSF_MM_F_F $t2, [[COPY4]], [[COPY3]], 7 /* frm=dyn */, $noreg, $noreg, $noreg, 4 /* e16 */, 2 /* w2 */, implicit $frm, implicit $vl, implicit $vtype
-    ; CHECK-NEXT: dead $x0 = PseudoSF_VSETTNT [[COPY1]], 1544 /* e16, w4 */, implicit-def $vl, implicit-def $vtype
+    ; CHECK-NEXT: dead $x0 = PseudoSF_VSETTNTX0X0 killed $x0, 1544 /* e16, w4 */, implicit-def $vl, implicit-def $vtype, implicit $vl
----------------
wangpc-pp wrote:

I thought this will be an NFC technically but it turns out not to be?

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


More information about the llvm-commits mailing list