commit | 9d1747c3cd709cd5bbc1a07074550862d188527e | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Wed Aug 08 00:00:26 2012 +0000 |
committer | Dan Gohman <gohman@apple.com> | Wed Aug 08 00:00:26 2012 +0000 |
tree | 8adb0dc19f7d59b9fa8532e98c6c31857492f912 | |
parent | 8c5c0733cde7c941de6c9386a07a8378c5c482c5 [diff] |
Avoid recomputing the unique exit blocks and their insert points when doing multiple scalar promotions on a single loop. This also has the effect of preserving the order of stores sunk out of loops, which is aesthetically pleasing, and it happens to fix the testcase in PR13542, though it doesn't fix the underlying problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161459 91177308-0d34-0410-b5e6-96231b3b80d8