Skip to content

Commit a2deab0

Browse files
committed
[RISCV] fix uminval in VPatTruncSatClipUMin.
1 parent c3eeb1a commit a2deab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2363,7 +2363,7 @@ multiclass VPatTruncSatClipUMin<VTypeInfo vti, VTypeInfo wti, int uminval> {
23632363
def : Pat<(vti.Vector (riscv_trunc_vector_vl
23642364
(wti.Vector (riscv_smin_vl
23652365
(wti.Vector wti.RegClass:$rs1),
2366-
(wti.Vector (riscv_vmv_v_x_vl (wti.Vector undef), sminval, (XLenVT srcvalue))),
2366+
(wti.Vector (riscv_vmv_v_x_vl (wti.Vector undef), uminval, (XLenVT srcvalue))),
23672367
(wti.Vector undef), (wti.Mask V0), VLOpFrag)),
23682368
(vti.Mask V0), VLOpFrag)),
23692369
(!cast<Instruction>("PseudoVNCLIPU_WI_"#vti.LMul.MX#"_MASK")

0 commit comments

Comments
 (0)