[PATCH] D118539: [InstCombine] try to fold one-demanded-bit-of-multiply
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 29 09:45:57 PST 2022
RKSimon added a comment.
I don't suppose this can handle D117995 <https://reviews.llvm.org/D117995>? If we can do this in SimplifyDemandedBits then we can add the knownbits fold with the additional NeverUndefOrPoison check.
Otherwise I think I'll just add a (DemandedMask ==2 && X == Y) -> 0 special case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118539/new/
https://reviews.llvm.org/D118539
More information about the llvm-commits
mailing list