summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-09-22 05:53:27 +0000
committerCraig Topper <craig.topper@intel.com>2018-09-22 05:53:27 +0000
commit2b3f5df73a7d3413c4f354d57ff377b8982af207 (patch)
tree9a83db44907e8ef0718cb801b1a928f04ca4326e /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent082e04c61d2b6c6b6ed3a8e010e9b1b1a3a22ef4 (diff)
downloadbcm5719-llvm-2b3f5df73a7d3413c4f354d57ff377b8982af207.tar.gz
bcm5719-llvm-2b3f5df73a7d3413c4f354d57ff377b8982af207.zip
[InstCombine] Fold (min/max ~X, Y) -> ~(max/min X, ~Y) when Y is freely invertible
Summary: This restores the combine that was reverted in r341883. The infinite loop from the failing test no longer occurs due to changes from r342163. Reviewers: spatel, dmgreen Reviewed By: spatel Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D52070 llvm-svn: 342797
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud