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

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 11:25:00 PDT 2018


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

Given that this is the same patch as https://reviews.llvm.org/D51398 except with the potential inf-loop closed (we hope...), LGTM.

I'm not sure yet if there's any dependency between this and https://reviews.llvm.org/D52177, but we can answer that in the other review.


Repository:
  rL LLVM

https://reviews.llvm.org/D52070





More information about the llvm-commits mailing list