[PATCH] D116277: [RISCV] Use vmv.x.s to build one element splat vector.
Jianjian Guan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 27 22:40:31 PST 2021
jacquesguan added a comment.
In D116277#3210767 <https://reviews.llvm.org/D116277#3210767>, @craig.topper wrote:
> Do you have a particular microarchitecture where this is a faster sequence?
>
> Why only integer and not FP?
I think that vmv.s.x has less demand on VL and VTYPE, so using vmv.s.x instead vmv.v.x might reduce the amount of VSETVLI instructions that we will insert.
I missed the floating point scalar move instruction, if you think it make sense, I will add it.
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