[PATCH] D152672: [InstCombine] Add tests for canonicalizing `(X^(X-1)) u{ge,lt} X` as pow2 test; NFC

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 17:52:38 PDT 2023


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

Add more negative tests


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152672

Files:
  llvm/test/Transforms/InstCombine/ispow2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152672.530733.patch
Type: text/x-patch
Size: 5050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230613/d58b7cf4/attachment.bin>


More information about the llvm-commits mailing list