[PATCH] D107170: [InstCombine] canonicalize cmp-of-bitcast-of-vector-cmp to use zero constant
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 30 11:33:00 PDT 2021
spatel added a comment.
In D107170#2916900 <https://reviews.llvm.org/D107170#2916900>, @lebedev.ri wrote:
> The actual pattern here is: https://alive2.llvm.org/ce/z/GKG6Sy
> Can you generalize this somewhat by making use of `isFreeToInvert()` on the `bitcast`'s argument?
Yes, that's better. I'll add some tests and then update here.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107170/new/
https://reviews.llvm.org/D107170
More information about the llvm-commits
mailing list