[PATCH] D51964: [InstCombine] Fold (xor (min/max X, Y), -1) -> (max/min ~X, ~Y) when X and Y are freely invertible.
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 13 08:33:15 PDT 2018
anna added a comment.
In https://reviews.llvm.org/D51964#1232736, @craig.topper wrote:
> This whole patch does fix the infinite loop from PR38915, but it requires the whole patch and not just the change in InstCombineSelect.cpp
The whole patch fixes our internal regression as well (PR38915 was the bug point reduced version of the regression). Thanks for the fix!
Repository:
rL LLVM
https://reviews.llvm.org/D51964
More information about the llvm-commits
mailing list