In SimplifyICmpOperands, avoid needlessly swapping the operands in the
authorDan Gohman <gohman@apple.com>
Mon, 3 May 2010 17:00:11 +0000 (17:00 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 3 May 2010 17:00:11 +0000 (17:00 +0000)
commit3abb69c07fe6b161c6e7572c75e465955d9911e7
treea0030723c28e9b74a7b1041f3f0defbf2c78c885
parent03557dc0ad0baf42259f298fd56c2c521a9500ad
In SimplifyICmpOperands, avoid needlessly swapping the operands in the
case where both are addrecs in unrelated loops.

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