[PATCH] D107170: [InstCombine] canonicalize cmp-of-bitcast-of-vector-cmp to use zero constant

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 30 09:37:37 PDT 2021


lebedev.ri added a comment.

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?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107170/new/

https://reviews.llvm.org/D107170



More information about the llvm-commits mailing list