[PATCH] D116277: [RISCV] Use vmv.s.x to build one element splat vector.
Jianjian Guan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 30 03:56:30 PST 2021
jacquesguan added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:2233
+ ConstantSDNode *Const = dyn_cast<ConstantSDNode>(Scalar);
+ // If VL is 1 and the scalar value won't benefited from immediate, we could
+ // use vmv.s.x.
----------------
craig.topper wrote:
> benefited->benefit
Done
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116277/new/
https://reviews.llvm.org/D116277
More information about the llvm-commits
mailing list