[PATCH] D34244: [InstCombine] Fold (!iszero(A & K1) & !iszero(A & K2)) -> (A & (K1 | K2)) == (K1 | K2) if K1 and K2 are a 1-bit mask
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 15 11:36:50 PDT 2017
spatel added a comment.
Nice! I was wondering if that was missing.
Can you make a helper function to avoid the code duplication?
Add the tests as a pre-commit, so we just get the diffs?
https://reviews.llvm.org/D34244
More information about the llvm-commits
mailing list