diff options
| author | Dan Gohman <gohman@apple.com> | 2009-06-20 00:35:32 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-06-20 00:35:32 +0000 |
| commit | 763bad1a2b2c913fe1f3489d6ab450762a1aa5e3 (patch) | |
| tree | d97c9ee894cee7700facc7b5974e3d174b80b465 /lib/CodeGen/MachineFunction.cpp | |
| parent | 107a537db1261c09f8c9639ef7827b12f0812125 (diff) | |
| download | llvm-763bad1a2b2c913fe1f3489d6ab450762a1aa5e3.tar.gz llvm-763bad1a2b2c913fe1f3489d6ab450762a1aa5e3.tar.bz2 llvm-763bad1a2b2c913fe1f3489d6ab450762a1aa5e3.tar.xz | |
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/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
