Use isTrueWhenEqual and isFalseWhenEqual instead of assuming that
authorDan Gohman <gohman@apple.com>
Mon, 3 May 2010 18:00:24 +0000 (18:00 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 3 May 2010 18:00:24 +0000 (18:00 +0000)
commit34c3e36e6317b0ed448ccd2c567d5b088275fd7d
treed9c7d037cb12f24b2d26a1c6fbc5803adf10391f
parenta189bae771262aa237ce983a89d1289a67682b68
Use isTrueWhenEqual and isFalseWhenEqual instead of assuming that
SimplifyICmpOperands will simplify such cases to EQ or NE. This makes
the correcntess of the code independent on SimplifyICmpOperands doing
certain simplifications.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102927 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp