Skip to content

Commit 4fddbdd

Browse files
committed
Add back SelectFPImm ComplexPattern
1 parent 66d3046 commit 4fddbdd

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
@@ -587,6 +587,8 @@ def SplatPat_simm5_plus1_nonzero
587587
def Low8BitsSplatPat
588588
: ComplexPattern<vAny, 1, "selectLow8BitsVSplat", [], [], 2>;
589589

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

0 commit comments

Comments
 (0)