[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 16:02:53 PDT 2018


craig.topper added a comment.

I don’t know if it fixes that PR. This transform causes an infinite loop on the tests where both max/min operands are invertible but not constants. Test50 and test51


https://reviews.llvm.org/D51964





More information about the llvm-commits mailing list