[PATCH] D51964: [InstCombine] Fold (xor (min/max X, Y), -1) -> (max/min ~X, ~Y) when X and Y are freely invertible.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 12 23:20:34 PDT 2018


craig.topper added a comment.

This whole patch does fix the infinite loop from PR38915, but it requires the whole patch and not just the change in InstCombineSelect.cpp


https://reviews.llvm.org/D51964





More information about the llvm-commits mailing list