Add variations on: max(x,y) >= min(x,z) folds to true. This isn't that common,
authorDuncan Sands <baldrick@free.fr>
Wed, 4 May 2011 16:05:05 +0000 (16:05 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 4 May 2011 16:05:05 +0000 (16:05 +0000)
commit8140ad32ce45281ed2bc4f6ca388a6ed9f806550
treeba5f006912d3eb6495a33fae19bea52a8e57070f
parent269687fa350c1aa044bc063c64362a04ecabaa33
Add variations on: max(x,y) >= min(x,z) folds to true.  This isn't that common,
but according to my super-optimizer there are only two missed simplifications
of -instsimplify kind when compiling bzip2, and this is one of them.  It amuses
me to have bzip2 be perfectly optimized as far as instsimplify goes!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130840 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
test/Transforms/InstSimplify/maxmin.ll