forked from OSchip/llvm-project
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
This commit is contained in:
parent
a266bd8760
commit
f2dcb4737b
|
@ -164,7 +164,7 @@ const Counters SIInsertWaits::WaitCounts = { { 15, 7, 15 } };
|
|||
const Counters SIInsertWaits::ZeroCounts = { { 0, 0, 0 } };
|
||||
|
||||
static bool readsVCCZ(unsigned Opcode) {
|
||||
return Opcode == AMDGPU::S_CBRANCH_VCCNZ || Opcode == AMDGPU::S_CBRANCH_VCCNZ;
|
||||
return Opcode == AMDGPU::S_CBRANCH_VCCNZ || Opcode == AMDGPU::S_CBRANCH_VCCZ;
|
||||
}
|
||||
|
||||
bool SIInsertWaits::hasOutstandingLGKM() const {
|
||||
|
|
Loading…
Reference in New Issue