diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-06-15 00:19:56 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-06-15 00:19:56 +0000 |
commit | 4a697c312f901a3a1ec92e24c91cefd64f6b4346 (patch) | |
tree | fe31b6f1dc9a8e0035d4f76c30e0f9ef0466d375 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp | |
parent | 577be0fed36f4d26e767a39a7838c63e90574e13 (diff) | |
download | llvm-4a697c312f901a3a1ec92e24c91cefd64f6b4346.zip llvm-4a697c312f901a3a1ec92e24c91cefd64f6b4346.tar.gz llvm-4a697c312f901a3a1ec92e24c91cefd64f6b4346.tar.bz2 |
[LoopUnroll] Don't crash trying to unroll loop with EH pad exit
We do not support splitting cleanuppad or catchswitches. This is
problematic for passes which assume that a loop is in loop simplify
form (the loop would have a dedicated exit block instead of sharing it).
While it isn't great that we don't support this for cleanups, we still
cannot make loop-simplify form an assertable precondition because
indirectbr will also disable these sorts of CFG cleanups.
This fixes PR28132.
llvm-svn: 272739
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions