[PATCH] D126040: [InstCombine] Fold a mul with bool value into and
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 30 04:16:28 PDT 2022
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LG
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp:304
- /// i1 mul -> i1 and.
- if (I.getType()->isIntOrIntVectorTy(1))
+ // Fold the following two scenes:
+ // 1) i1 mul -> i1 and.
----------------
scenes -> scenarios?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126040/new/
https://reviews.llvm.org/D126040
More information about the llvm-commits
mailing list