commit | 07adb85cb7f97968b3b9a102e5fa504a5f6ac682 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Oct 20 04:50:37 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Oct 20 04:50:37 2009 +0000 |
tree | ecae03084922aee489ff1e5bdcdb3bd43e326337 | |
parent | 5f4fb86d5853a433815501739584624d296b57a3 [diff] |
Re-apply r84295, with fixes to how the loop "top" and "bottom" blocks are tracked. Instead of trying to manually keep track of these locations while doing complex modifications, just recompute them when they're needed. This fixes a bug in which the TopMBB and BotMBB were not correctly updated, leading to invalid transformations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84598 91177308-0d34-0410-b5e6-96231b3b80d8