commit | 763bad1a2b2c913fe1f3489d6ab450762a1aa5e3 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Sat Jun 20 00:35:32 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Sat Jun 20 00:35:32 2009 +0000 |
tree | d97c9ee894cee7700facc7b5974e3d174b80b465 | |
parent | 107a537db1261c09f8c9639ef7827b12f0812125 [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