[PATCH] D104193: [InstCombine] Require one user (not one use) for operands when optimize both (sext bool X) * (sext bool Y) and (zext bool X) * (zext bool Y)
Daniil Seredkin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 13 08:18:41 PDT 2021
vdsered added a comment.
I think I should update the patch because LLVM already handles zext <https://godbolt.org/z/bW1jjK1TP>
%sx = zext i1 %x to i32
%r = mul i32 %sx, %sx
ret i32 %r
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104193/new/
https://reviews.llvm.org/D104193
More information about the llvm-commits
mailing list