[PATCH] D115226: [RISCV] Use vmv.s.x to lower VID sequences that only the first element is inconsistent.

Jianjian Guan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 8 00:08:39 PST 2021


jacquesguan updated this revision to Diff 392663.
jacquesguan added a comment.

Use INSERT_VECTOR_ELT instead of VMV_S_X_VL.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115226

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-shuffles.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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115226.392663.patch
Type: text/x-patch
Size: 9466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211208/13393805/attachment.bin>


More information about the llvm-commits mailing list