[llvm] [RISCV] Use ForceTailAgnostic for masked vmsbf/vmsif/vmsof.m. (PR #94532)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 5 20:11:28 PDT 2024


================
@@ -159,9 +159,9 @@ define <vscale x 8 x i1> @intrinsic_vmsbf_mask_m_nxv8i1_nxv8i1(<vscale x 8 x i1>
 ; CHECK:       # %bb.0: # %entry
 ; CHECK-NEXT:    vmv1r.v v10, v0
 ; CHECK-NEXT:    vmv1r.v v0, v9
-; CHECK-NEXT:    vsetvli zero, a0, e8, m1, tu, mu
+; CHECK-NEXT:    vsetvli zero, a0, e8, m1, ta, mu
 ; CHECK-NEXT:    vmsbf.m v10, v8, v0.t
-; CHECK-NEXT:    vmv1r.v v0, v10
+; CHECK-NEXT:    vmv.v.v v0, v10
----------------
wangpc-pp wrote:

Is this a regression? Because vmv.v.v depends on vtype/vl, while vm1r.v doesn't.

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


More information about the llvm-commits mailing list