[PATCH] D142343: [X86] Add tests for folding `(and/or (icmp eq/ne A, Pow2), (icmp eq/ne A, -Pow2))`; NFC

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 27 20:31:23 PST 2023


goldstein.w.n updated this revision to Diff 492974.
goldstein.w.n added a comment.

Remove some dud tests, add some useful negative cases


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142343

Files:
  llvm/test/CodeGen/X86/icmp-pow2-logic-npow2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142343.492974.patch
Type: text/x-patch
Size: 6576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230128/7383b1c5/attachment.bin>


More information about the llvm-commits mailing list