[PATCH] D127946: [RISCV][NFC][test] Correct a wrong test in vreductions-fp-vp.ll
WangLian via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 16 19:24:53 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5e16a781bada: [RISCV][NFC][test] Correct a wrong test in vreductions-fp-vp.ll (authored by Jimerlife).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127946/new/
https://reviews.llvm.org/D127946
Files:
llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
Index: llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
===================================================================
--- llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
+++ llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
@@ -315,7 +315,7 @@
ret double %r
}
-define double @vpreduce_ord_fadd_nxv3f64(double %s, <vscale x 4 x double> %v, <vscale x 4 x i1> %m, i32 zeroext %evl) {
+define double @vpreduce_ord_fadd_nxv3f64(double %s, <vscale x 3 x double> %v, <vscale x 3 x i1> %m, i32 zeroext %evl) {
; CHECK-LABEL: vpreduce_ord_fadd_nxv3f64:
; CHECK: # %bb.0:
; CHECK-NEXT: vsetivli zero, 1, e64, m1, ta, mu
@@ -324,11 +324,10 @@
; CHECK-NEXT: vfredosum.vs v12, v8, v12, v0.t
; CHECK-NEXT: vfmv.f.s fa0, v12
; CHECK-NEXT: ret
- %r = call double @llvm.vp.reduce.fadd.nxv4f64(double %s, <vscale x 4 x double> %v, <vscale x 4 x i1> %m, i32 %evl)
+ %r = call double @llvm.vp.reduce.fadd.nxv3f64(double %s, <vscale x 3 x double> %v, <vscale x 3 x i1> %m, i32 %evl)
ret double %r
}
-
declare double @llvm.vp.reduce.fadd.nxv4f64(double, <vscale x 4 x double>, <vscale x 4 x i1>, i32)
define double @vpreduce_fadd_nxv4f64(double %s, <vscale x 4 x double> %v, <vscale x 4 x i1> %m, i32 zeroext %evl) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127946.437771.patch
Type: text/x-patch
Size: 1243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220617/fd0eed40/attachment.bin>
More information about the llvm-commits
mailing list