[PATCH] D152673: [InstCombine] Canonicalize `(X^(X-1)) u{ge, lt} X` as pow2 test

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 10:23:26 PDT 2023


goldstein.w.n added a comment.

In D152673#4413211 <https://reviews.llvm.org/D152673#4413211>, @nikic wrote:

> Could you please split off the extraction of foldICmpPow2Test into an NFC patch (feel free to just commit it)?

Done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152673



More information about the llvm-commits mailing list