[llvm] [RISCV] Lower memory ops and VP splat for zvfhmin and zvfbfmin (PR #109387)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 09:43:42 PDT 2024
================
@@ -273,247 +275,253 @@ define <vscale x 8 x i64> @vp_splat_nxv8i64(i64 %val, <vscale x 8 x i1> %m, i32
}
define <vscale x 1 x bfloat> @vp_splat_nxv1bf16(bfloat %val, <vscale x 1 x i1> %m, i32 zeroext %evl) {
-; CHECK-LABEL: vp_splat_nxv1bf16:
-; CHECK: # %bb.0:
-; CHECK-NEXT: fmv.x.w a1, fa0
-; CHECK-NEXT: vsetvli zero, a0, e16, mf4, ta, ma
-; CHECK-NEXT: vmv.v.x v8, a1
-; CHECK-NEXT: ret
+; NOZFMIN-LABEL: vp_splat_nxv1bf16:
----------------
lukel97 wrote:
I wrote ZFMIN since it has both zfhmin and zfbfmin. Would it be better to be explicit and use ZFHMINZFBFMIN?
https://github.com/llvm/llvm-project/pull/109387
More information about the llvm-commits
mailing list