[PATCH] D99195: [RISCV] Optimize BUILD_VECTOR sequences that reveal hidden splats

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 24 03:21:40 PDT 2021


frasercrmck updated this revision to Diff 332920.
frasercrmck added a comment.

- rv64: sext from 32 to 64
- add test to cover this case


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99195

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-scatter.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99195.332920.patch
Type: text/x-patch
Size: 108389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210324/d6388a4d/attachment-0001.bin>


More information about the llvm-commits mailing list