[PATCH] D74304: [VE] Bit operator isel

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 08:36:06 PST 2020


simoll updated this revision to Diff 243887.
simoll added a comment.

- Use `i32` promotion for `bitreverse`

I looked into `i32` -> `i64` promotion instead of `i32` isel patterns.
The promoted code was worse except for `bitreverse`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74304

Files:
  llvm/lib/Target/VE/VEISelLowering.cpp
  llvm/lib/Target/VE/VEInstrInfo.td
  llvm/test/CodeGen/VE/bitreverse.ll
  llvm/test/CodeGen/VE/bswap.ll
  llvm/test/CodeGen/VE/ctlz.ll
  llvm/test/CodeGen/VE/ctpop.ll
  llvm/test/CodeGen/VE/cttz.ll
  llvm/test/CodeGen/VE/rotl.ll
  llvm/test/CodeGen/VE/rotr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74304.243887.patch
Type: text/x-patch
Size: 16826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200211/faf96844/attachment.bin>


More information about the llvm-commits mailing list