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