llvm-project/llvm/test/Transforms/LoopInterchange
Florian Hahn 1f95ef1815 [LoopInterchange] Check number of latch successors before accessing them.
In cases where the OuterMostLoopLatchBI only has a single successor,
accessing the second successor will fail.

This fixes a failure when building the test-suite with loop-interchange
enabled.

Reviewers: mcrosier, karthikthecool, davide

Reviewed by: karthikthecool

Differential Revision: https://reviews.llvm.org/D42906

llvm-svn: 324994
2018-02-13 10:02:52 +00:00
..
call-instructions.ll [LoopInterchange] Do not interchange loops with function calls. 2017-07-31 09:00:52 +00:00
current-limitations-lcssa.ll [LoopInterchange] Split up interchange.ll test case (NFC). 2017-07-18 09:47:06 +00:00
currentLimitation.ll
interchange-flow-dep-outer.ll [LoopInterchange] Do not interchange loops with function calls. 2017-07-31 09:00:52 +00:00
interchange-insts-between-indvar.ll [LoopInterchange] Skip zext instructions when looking for induction var. 2017-08-25 16:52:29 +00:00
interchange-latch-no-exit.ll [LoopInterchange] Check number of latch successors before accessing them. 2018-02-13 10:02:52 +00:00
interchange-not-profitable.ll [LoopInterchange] Split up interchange.ll test case (NFC). 2017-07-18 09:47:06 +00:00
interchange-output-dependencies.ll [LoopInterchange] Split up interchange.ll test case (NFC). 2017-07-18 09:47:06 +00:00
interchange-simple-count-down.ll [LoopInterchange] Split up interchange.ll test case (NFC). 2017-07-18 09:47:06 +00:00
interchange-simple-count-up.ll [LoopInterchange] Split up interchange.ll test case (NFC). 2017-07-18 09:47:06 +00:00
loop-interchange-optimization-remarks.ll
not-interchanged-dependencies-1.ll [LoopInterchange] Split up interchange.ll test case (NFC). 2017-07-18 09:47:06 +00:00
not-interchanged-loop-nest-3.ll [LoopInterchange] Split up interchange.ll test case (NFC). 2017-07-18 09:47:06 +00:00
not-interchanged-tightly-nested.ll [LoopInterchange] Do not interchange loops with function calls. 2017-07-31 09:00:52 +00:00
phi-ordering.ll [LoopInterchange] Fix phi node ordering miscompile. 2017-10-21 13:58:37 +00:00
profitability.ll
reductions.ll