[PATCH] D142253: [InstCombine] Transform ctpop(Pow2) -> icmp ne Pow2, 0
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 20 13:46:09 PST 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp:675
+ // More genrally we can also handle non-constant power of 2 patterns such as
+ // shl/shr(Pow2, X), (X & -X), etc... by transforming:
----------------
genrally -> generally
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142253/new/
https://reviews.llvm.org/D142253
More information about the llvm-commits
mailing list