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

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 29 13:19:20 PDT 2018


lebedev.ri added a comment.

In https://reviews.llvm.org/D51398#1218200, @craig.topper wrote:

> I did briefly look at always hoisting it, but it potentially changes the critical path so I'm playing it safe.


I wasn't talking about this case specifically, but more in general.


https://reviews.llvm.org/D51398





More information about the llvm-commits mailing list