[llvm] [RISCV] Lower vfmv.s.f intrinsics to VFMV_S_F_VL first (PR #76699)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 12:11:06 PST 2024
================
@@ -630,8 +630,9 @@ define void @add_v16i64(ptr %x, ptr %y) vscale_range(2,2) {
define <vscale x 2 x float> @fp_reduction_vfmv_s_f(float %0, <vscale x 8 x float> %1, i64 %2) {
; CHECK-LABEL: fp_reduction_vfmv_s_f:
; CHECK: # %bb.0:
-; CHECK-NEXT: vsetvli zero, a0, e32, m4, ta, ma
+; CHECK-NEXT: vsetvli zero, a0, e32, m1, ta, ma
; CHECK-NEXT: vfmv.s.f v12, fa0
+; CHECK-NEXT: vsetvli zero, a0, e32, m4, ta, ma
----------------
topperc wrote:
This is a regression. Do you have a plan to fix this?
https://github.com/llvm/llvm-project/pull/76699
More information about the llvm-commits
mailing list