[PATCH] D139648: [RISCV] Use vmv.v.i for insertion into lane 0 of undef vector when profitable

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 07:49:59 PST 2022


reames updated this revision to Diff 481654.
reames added a comment.

Move back to LMUL1.  The regalloc effect of LMUL2 isn't a point I'd considered, and we can switch back in a separate patch which independent review if it appears worthwhile.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139648/new/

https://reviews.llvm.org/D139648

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139648.481654.patch
Type: text/x-patch
Size: 18290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221209/5df40f92/attachment.bin>


More information about the llvm-commits mailing list