[PATCH] D118061: [InstCombine] fold one-bit set/clear icmp with mul operand
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 24 12:33:01 PST 2022
spatel added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:1847
const APInt &C) {
if (Instruction *I = foldICmpAndConstConst(Cmp, And, C))
return I;
----------------
lebedev.ri wrote:
> This fold should probably be in `foldICmpAndConstConst()`
Yes, will move.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118061/new/
https://reviews.llvm.org/D118061
More information about the llvm-commits
mailing list