]> granicus.if.org Git - llvm/commit
AMDGPU: Fix not expanding control flow after some kill blocks
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 15 Jul 2016 00:58:15 +0000 (00:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 15 Jul 2016 00:58:15 +0000 (00:58 +0000)
commitbeff7fe056bf1f449ab0dd995f3dbf8d2132f1c0
treec575bc9ab9a101968fb11d676ffb6e3227bae519
parent011dcf3d9020235e865b1208f86822d4df0ec2f2
AMDGPU: Fix not expanding control flow after some kill blocks

Also stop trying to insert skip blocks at end_cf. This
was inserting them at the end of the block which doesn't make
sense. The skip should be inserted at the beginning of the block
right after the end cf. Just remove this for now since no tests
seem to stress this and I think this can be handled more generally
later.

Fixes bug 28550

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275510 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SILowerControlFlow.cpp
test/CodeGen/AMDGPU/skip-if-dead.ll