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

Liao Chunyu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 12 06:05:48 PST 2023


liaolucy updated this revision to Diff 488629.
liaolucy added a comment.
Herald added a subscriber: hiraditya.

Update, we can see the difference between the original code and the modified one very well


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141607

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/bittest.ll
  llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
  llvm/test/CodeGen/RISCV/pr56457.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141607.488629.patch
Type: text/x-patch
Size: 44829 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230112/5cd6c5b6/attachment.bin>


More information about the llvm-commits mailing list