summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-01-07 03:16:50 +0000
committerAndrew Trick <atrick@apple.com>2012-01-07 03:16:50 +0000
commit732ad80dbb21f100891691706e00ffabcca1f67d (patch)
tree868eb40b7d3da73adab1f0766627323ee201ac07 /llvm/lib/CodeGen/BranchFolding.cpp
parent07082096428579009bf20eb276b3e67707a0916d (diff)
downloadbcm5719-llvm-732ad80dbb21f100891691706e00ffabcca1f67d.tar.gz
bcm5719-llvm-732ad80dbb21f100891691706e00ffabcca1f67d.zip
LSR: Don't optimize loops if an outer loop has no preheader.
LoopSimplify may not run on some outer loops, e.g. because of indirect branches. SCEVExpander simply cannot handle outer loops with no preheaders. Fixes rdar://10655343 SCEVExpander segfault. llvm-svn: 147718
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud