You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
+4-10Lines changed: 4 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1192,11 +1192,8 @@ define <vscale x 2 x i32> @vmerge_larger_vl_false_becomes_tail(<vscale x 2 x i32
1192
1192
define <vscale x 2 x i64> @vpmerge_vwsub.w_tied(<vscale x 2 x i64> %passthru, <vscale x 2 x i64> %x, <vscale x 2 x i32> %y, <vscale x 2 x i1> %mask, i32zeroext%vl) {
1193
1193
; CHECK-LABEL: vpmerge_vwsub.w_tied:
1194
1194
; CHECK: # %bb.0:
1195
-
; CHECK-NEXT: vsetvli zero, a0, e32, m1, tu, ma
1196
-
; CHECK-NEXT: vmv2r.v v10, v8
1197
-
; CHECK-NEXT: vwsub.wv v10, v10, v12
1198
-
; CHECK-NEXT: vsetvli zero, zero, e64, m2, tu, ma
1199
-
; CHECK-NEXT: vmerge.vvm v8, v8, v10, v0
1195
+
; CHECK-NEXT: vsetvli zero, a0, e32, m1, tu, mu
1196
+
; CHECK-NEXT: vwsub.wv v8, v8, v12, v0.t
1200
1197
; CHECK-NEXT: ret
1201
1198
%vl.zext = zexti32%vltoi64
1202
1199
%a = call <vscale x 2 x i64> @llvm.riscv.vwsub.w.nxv2i64.nxv2i32(<vscale x 2 x i64> %passthru, <vscale x 2 x i64> %passthru, <vscale x 2 x i32> %y, i64%vl.zext)
@@ -1207,12 +1204,9 @@ define <vscale x 2 x i64> @vpmerge_vwsub.w_tied(<vscale x 2 x i64> %passthru, <v
1207
1204
define <vscale x 2 x double> @vpmerge_vfwsub.w_tied(<vscale x 2 x double> %passthru, <vscale x 2 x double> %x, <vscale x 2 x float> %y, <vscale x 2 x i1> %mask, i32zeroext%vl) {
0 commit comments