[PATCH] D134142: [InstSimplify] Fold `select C, not(C), C` to zero
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 19 08:32:53 PDT 2022
spatel added a comment.
This match seems over-specified. If either the true or false arm of the select are cast from the select condition, then we can replace that arm in -instcombine, and it should collapse to zero when both arms match:
https://alive2.llvm.org/ce/z/35kadA
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134142/new/
https://reviews.llvm.org/D134142
More information about the llvm-commits
mailing list