[PATCH] D51398: [InstCombine] Fold (min/max ~X, Y) -> ~(max/min X, ~Y) when Y is freely invertible

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 30 13:47:26 PDT 2018


davidxl added a comment.

thanks.  In this case, checking if LHS/RHS 's order is swapped is probably needed.


https://reviews.llvm.org/D51398





More information about the llvm-commits mailing list