[PATCH] D130203: [RISCV] Optimize (brcond (seteq (and X, 1 << C), 0))

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 15:10:43 PDT 2022


craig.topper updated this revision to Diff 446276.
craig.topper added a comment.

Rebase after fixing a failure to use bexti in some cases. slli would
still be better in those cases since it is compressible.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130203

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/bittest.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: D130203.446276.patch
Type: text/x-patch
Size: 97808 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220720/20352124/attachment-0001.bin>


More information about the llvm-commits mailing list