llvm-6502/test/Transforms/JumpThreading
Richard Osborne dd2fb6c10b Fix assertion in jump threading (PR13405).
GetBestDestForJumpOnUndef() assumes there is at least 1 successor, which isn't
true if the block ends in an indirect branch with no successors. Fix this by
bailing out earlier in this case.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160546 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-20 10:36:17 +00:00
..
2008-11-27-EntryMunge.ll
2010-08-26-and.ll
2011-04-02-SimplifyDeadBlock.ll
2011-04-14-InfLoop.ll
2012-07-19-NoSuccessorIndirectBr.ll
and-and-cond.ll
and-cond.ll
basic.ll
branch-no-const.ll
compare.ll
crash.ll
degenerate-phi.ll
indirectbr.ll
lit.local.cfg
lvi-load.ll
no-irreducible-loops.ll
or-undef.ll
phi-eq.ll
pr9331.ll
select.ll
thread-loads.ll