AMDGPU: Fix verifier error with kill intrinsic
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 12 Jul 2016 19:01:23 +0000 (19:01 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 12 Jul 2016 19:01:23 +0000 (19:01 +0000)
commit657f871a4e7e58781fa36fe9371483283c11b100
treed4d1a45f60ce674e6614efdbbb630aaf25c393c7
parentb9f8e292902b3fda8643f0cb06b575abccf83b46
AMDGPU: Fix verifier error with kill intrinsic

Don't create a terminator in the middle of the block.
We should probably get rid of this intrinsic.

llvm-svn: 275203
llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
llvm/test/CodeGen/AMDGPU/indirect-addressing-undef.mir
llvm/test/CodeGen/AMDGPU/skip-if-dead.ll [new file with mode: 0644]