commit | 931e345e76e75391d2a7c96530e305f802b5429d | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Apr 12 02:21:50 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Apr 12 02:21:50 2010 +0000 |
tree | 4530af5803a73c7046c06d1b84e8eed92c18b783 | |
parent | 17e8b7fbde5175c27c734f905959ebfae1e317b4 [diff] |
Re-apply r101000, with a fix: Don't eliminate an icmp which is part of the loop exit test. This usually doesn't come up for a variety of reasons, but it isn't impossible, so make IndVarSimplify handle it conservatively. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101008 91177308-0d34-0410-b5e6-96231b3b80d8