aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-20 00:35:32 +0000
committerDan Gohman <gohman@apple.com>2009-06-20 00:35:32 +0000
commit763bad1a2b2c913fe1f3489d6ab450762a1aa5e3 (patch)
treed97c9ee894cee7700facc7b5974e3d174b80b465 /lib/CodeGen/LiveVariables.cpp
parent107a537db1261c09f8c9639ef7827b12f0812125 (diff)
Generalize isLoopGuardedByCond's checking to consider two
SCEVUnknowns with identical Instructions to be equal. This allows it to analze cases such as the attached testcase, where the front-end has cloned the loop controlling expression. Along with r73805, this lets IndVarSimplify eliminate all the sign-extend casts in the loop in the attached testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions