aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <florian.hahn@arm.com>2018-02-13 10:02:52 +0000
committerFlorian Hahn <florian.hahn@arm.com>2018-02-13 10:02:52 +0000
commit1f95ef1815c9b6a961811ec78e44d14b277abdd3 (patch)
tree2879b175920dae8f95db19a9636f24bbfceb4834 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent92e0bb5c9558bde77f8cb7a8d4b5e3d75070c7c7 (diff)
downloadllvm-1f95ef1815c9b6a961811ec78e44d14b277abdd3.zip
llvm-1f95ef1815c9b6a961811ec78e44d14b277abdd3.tar.gz
llvm-1f95ef1815c9b6a961811ec78e44d14b277abdd3.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions