AMDGPU: Fix bug 26659.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 2 Mar 2016 04:12:39 +0000 (04:12 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 2 Mar 2016 04:12:39 +0000 (04:12 +0000)
commitf2dcb4737b2335702ca3fbd3bfc5e4d6025877a6
treea2088ece33ba591edbcfc14d2aa2b07976c35957
parenta266bd8760c7029da87aec78cbc13f6354d2d9af
AMDGPU: Fix bug 26659.

Fix checking the same instruction twice instead of the
second branch that uses vccz. I don't think this matters
currently because s_branch_vccnz is always used currently.

llvm-svn: 262457
llvm/lib/Target/AMDGPU/SIInsertWaits.cpp