[PATCH] D104921: [RISCV] Lower more BUILD_VECTOR sequences to RVV's VID

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 13 03:30:51 PDT 2021


frasercrmck updated this revision to Diff 358222.
frasercrmck marked an inline comment as done.
frasercrmck added a comment.

- rebase
- change imm6 heuristic to imm5
- add optimization for negative steps


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104921

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
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector-rv64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104921.358222.patch
Type: text/x-patch
Size: 40827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210713/c47229eb/attachment.bin>


More information about the llvm-commits mailing list