diff options
author | Andrew Trick <atrick@apple.com> | 2012-01-07 03:16:50 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-01-07 03:16:50 +0000 |
commit | acdb4aaf9b1f2edd96163c27bcc4e0557014f51e (patch) | |
tree | 41ec44bb17baa2ee5521ab042ef949a6a5b782bb /lib/CodeGen/BranchFolding.cpp | |
parent | 99b4237c1647156f0e1d3d7e03efdab23ed79778 (diff) |
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