AMDPGU/R600: Replace llvm_unreachable() call with LLVMContext::emitError()
authorTom Stellard <thomas.stellard@amd.com>
Thu, 16 Jul 2015 15:38:29 +0000 (15:38 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 16 Jul 2015 15:38:29 +0000 (15:38 +0000)
commit2f8588b7a776bc09f55537156712b8c8d9d7f6e4
tree5142ca190ca5f287d60eab0c7a88b2e4e0a19098
parentacd275a629652c97f6ed136de0873258814465d7
AMDPGU/R600: Replace llvm_unreachable() call with LLVMContext::emitError()

Summary:
This fixes an issue on MIPS where the infinite-loop-evergreen.ll test
was failing to terminate.

Fixes PR24147.

Reviewers: arsenm, dsanders

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D11260

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242410 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp