[PATCH] D122077: [InstCombine] Fold (ctpop(X) == 1) | (X == 0) into ctpop(X) < 2

Hirochika Matsumoto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 19 13:16:53 PDT 2022


hkmatsumoto created this revision.
hkmatsumoto added a reviewer: xbolva00.
Herald added a subscriber: hiraditya.
Herald added a project: All.
hkmatsumoto requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

https://alive2.llvm.org/ce/z/94yRMN


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122077

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/icmp-or.ll
  llvm/test/Transforms/InstCombine/ispow2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122077.416721.patch
Type: text/x-patch
Size: 4352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220319/4a4cb259/attachment.bin>


More information about the llvm-commits mailing list