[PATCH] D117670: [RISCV] Support matching 'VF' VL patterns via SPLAT_VECTOR
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 19 06:15:14 PST 2022
frasercrmck added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td:261
// Ignore the vl operand.
def SplatFPOp : PatFrag<(ops node:$op),
(riscv_vfmv_v_f_vl node:$op, srcvalue)>;
----------------
There's still one use of this to match `VSELECT_VL` with `fpimm0`. Is there a way to use `SplatFPPat` but ensure it matches only `fpimm0`? Must it be its own `ComplexPattern`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117670/new/
https://reviews.llvm.org/D117670
More information about the llvm-commits
mailing list