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

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 02:41:29 PDT 2023


nikic added a comment.

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


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