[PATCH] D98860: [RISCV] Optimize all-constant mask BUILD_VECTORs

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 09:38:02 PDT 2021


frasercrmck updated this revision to Diff 332329.
frasercrmck marked 2 inline comments as done.
frasercrmck added a comment.

- rebase
- fix shift overflow
- sign-extend constants from 32 to 64 to help materializatoin


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98860

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-buildvec.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98860.332329.patch
Type: text/x-patch
Size: 30283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210322/4cb37298/attachment.bin>


More information about the llvm-commits mailing list