summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/OptimizePHIs.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-08-30 15:39:42 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-08-30 15:39:42 +0000
commitafdfdb5cff082ed554126ba36c575d02cb6ca5b4 (patch)
treee6f5a9f68834c2d1634c941200bd6d1075b8eb36 /llvm/lib/CodeGen/OptimizePHIs.cpp
parentd4a64716abc19b2643d48e136a75fb9f62315a9f (diff)
downloadbcm5719-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/OptimizePHIs.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud