Skip to content

Commit 145361a

Browse files
committed
Add back SelectFPImm ComplexPattern
1 parent 9627d9e commit 145361a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,8 @@ def SplatPat_simm5_plus1_nonzero
585585
def Low8BitsSplatPat
586586
: ComplexPattern<vAny, 1, "selectLow8BitsVSplat", [], [], 2>;
587587

588+
def SelectFPImm : ComplexPattern<fAny, 1, "selectFPImm", [], [], 1>;
589+
588590
// Ignore the vl operand on vmv_v_f, and vmv_s_f.
589591
def SplatFPOp : PatFrags<(ops node:$op),
590592
[(riscv_vfmv_v_f_vl undef, node:$op, srcvalue),

0 commit comments

Comments
 (0)