[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
Fri Jan 13 04:54:41 PST 2023


liaolucy updated this revision to Diff 488954.
liaolucy added a comment.

Add curly braces around the else body.
Rebase


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.488954.patch
Type: text/x-patch
Size: 43117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230113/55fef096/attachment.bin>


More information about the llvm-commits mailing list