diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-30 15:39:42 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-30 15:39:42 +0000 |
commit | afdfdb5cff082ed554126ba36c575d02cb6ca5b4 (patch) | |
tree | e6f5a9f68834c2d1634c941200bd6d1075b8eb36 /llvm/lib/CodeGen/LiveStackAnalysis.cpp | |
parent | d4a64716abc19b2643d48e136a75fb9f62315a9f (diff) | |
download | bcm5719-llvm-afdfdb5cff082ed554126ba36c575d02cb6ca5b4.tar.gz bcm5719-llvm-afdfdb5cff082ed554126ba36c575d02cb6ca5b4.zip |
LoopRotate: Also rotate loops with multiple exits.
The old PHI updating code in loop-rotate was replaced with SSAUpdater a while
ago, it has no problems with comples PHIs. What had to be fixed is detecting
whether a loop was already rotated and updating dominators when multiple exits
were present.
This change increases overall code size a bit, mostly due to additional loop
unrolling opportunities. Passes test-suite and selfhost with -verify-dom-info.
Fixes PR7447.
Thanks to Andy for the input on the domtree updating code.
llvm-svn: 162912
Diffstat (limited to 'llvm/lib/CodeGen/LiveStackAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions