summaryrefslogtreecommitdiff
path: root/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
commitacdb4aaf9b1f2edd96163c27bcc4e0557014f51e (patch)
tree41ec44bb17baa2ee5521ab042ef949a6a5b782bb /lib/CodeGen/BranchFolding.cpp
parent99b4237c1647156f0e1d3d7e03efdab23ed79778 (diff)
downloadllvm-acdb4aaf9b1f2edd96163c27bcc4e0557014f51e.tar.gz
llvm-acdb4aaf9b1f2edd96163c27bcc4e0557014f51e.tar.bz2
llvm-acdb4aaf9b1f2edd96163c27bcc4e0557014f51e.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions