[PATCH] D144283: [X86] Make `(and/or (icmp eq/ne A,C0), (icmp eq/ne A,C1))` where `IsPow2(dif(C0,C1))` work for more patterns.

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 13:23:12 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG8c74c5402f6d: Make `(and/or (icmp eq/ne A,C0), (icmp eq/ne A,C1))` where `IsPow(dif(C0,C1))`… (authored by goldstein.w.n).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144283

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/X86/icmp-pow2-diff.ll
  llvm/test/CodeGen/X86/setcc-logic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144283.500290.patch
Type: text/x-patch
Size: 6208 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230224/2ceafd2c/attachment.bin>


More information about the llvm-commits mailing list