forked from OSchip/llvm-project
AMDGPU/SI: Fix unused variable warning on non-debug builds
llvm-svn: 285363
This commit is contained in:
parent
b7f96d1241
commit
6b9c1be4ea
|
@ -399,6 +399,7 @@ int GCNHazardRecognizer::createsVALUHazard(const MachineInstr &MI) {
|
|||
int SRsrcIdx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::srsrc);
|
||||
assert(SRsrcIdx != -1 &&
|
||||
AMDGPU::getRegBitWidth(Desc.OpInfo[SRsrcIdx].RegClass) == 256);
|
||||
(void)SRsrcIdx;
|
||||
}
|
||||
|
||||
if (TII->isFLAT(MI)) {
|
||||
|
|
Loading…
Reference in New Issue