Skip to content

Commit

Permalink
[AMDGPU] Fix EXPENSIVE_CHECKS failure in #89612
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed May 23, 2024
1 parent 27f53b2 commit 4e0f8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2089,7 +2089,7 @@ bool AMDGPUInstructionSelector::selectPOPSExitingWaveID(
// intrinsic is IntrReadMem/IntrWriteMem but the instruction is not marked
// mayLoad/mayStore and tablegen complains about the mismatch.
auto MIB = BuildMI(*MBB, &MI, DL, TII.get(AMDGPU::S_MOV_B32), Dst)
.addDef(AMDGPU::SRC_POPS_EXITING_WAVE_ID);
.addReg(AMDGPU::SRC_POPS_EXITING_WAVE_ID);
MI.eraseFromParent();
return constrainSelectedInstRegOperands(*MIB, TII, TRI, RBI);
}
Expand Down

0 comments on commit 4e0f8a4

Please sign in to comment.