Commit d95a0f9
committed
[RISCV] Use vmv.v.x for any constant VL rv32 e64 splat with equal halves
The prior logic was reasoning in terms of vsetivli immediates, but using
the vmv.v.x is strongly profitable for high LMUL cases. The key
difference is that the vmv.v.x form is rematerializeable during
register allocation, and the vsle form is not.1 parent bac490b commit d95a0f9
File tree
5 files changed
+1779
-2717
lines changed- llvm
- lib/Target/RISCV
- test/CodeGen/RISCV/rvv
5 files changed
+1779
-2717
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4372 | 4372 | | |
4373 | 4373 | | |
4374 | 4374 | | |
4375 | | - | |
| 4375 | + | |
4376 | 4376 | | |
4377 | 4377 | | |
4378 | 4378 | | |
| |||
0 commit comments