[PATCH] D153351: [RISCV] Fold vmv.v.v into vops
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 22 12:07:29 PDT 2023
craig.topper added a comment.
What prevents this from changing the VL of a vcompress or a reduction?
================
Comment at: llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp:3499
+ // Only transform pseudos where we know there's a VL operand.
+ if (!RISCVVPseudosTable::getPseudoInfo(SrcOpc))
+ return false;
----------------
Why aren't we using RISCVII::hasVLOp if you want to know there is a VL operand.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153351/new/
https://reviews.llvm.org/D153351
More information about the llvm-commits
mailing list