AMDGPU: Fix trying to skip from a block with no successors
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 15 Jul 2016 00:58:13 +0000 (00:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 15 Jul 2016 00:58:13 +0000 (00:58 +0000)
commitfa5a86a40373797c8f10bc2d57e60064b1623db1
tree665673ddc76432eb59f6a1c5f84ad5973e0e2c85
parent83ab049af2579ca6afc5934923b81c432802910a
AMDGPU: Fix trying to skip from a block with no successors

Found while reducing bug 28550

llvm-svn: 275509
llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
llvm/test/CodeGen/AMDGPU/skip-if-dead.ll