AMDGPU: change a redundant if () to an assert(). NFC
authorNicolai Haehnle <nhaehnle@gmail.com>
Thu, 14 Apr 2016 17:42:18 +0000 (17:42 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Thu, 14 Apr 2016 17:42:18 +0000 (17:42 +0000)
commit19f0f5177da807ca4e65f6f81e110929201cd3de
treedd50c0d41ea397abd04e001bdb19047b6f858aa6
parent4f42310dfb0cb4ef2a9c8c6920e7e730aa212012
AMDGPU: change a redundant if () to an assert(). NFC

Summary:
I've been carrying this change around with me for a while, because the if ()
managed to confuse me while following the code. All callers ensure that the
assertion holds.

Reviewers: arsenm, tstellarAMD

Subscribers: arsenm, llvm-commits

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

llvm-svn: 266344
llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp