Skip to content

Commit bfd7ee9

Browse files
committed
Handle unused variable without asserts
1 parent bc18d8d commit bfd7ee9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AMDGPU/SIInsertSkips.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ static void splitBlock(MachineBasicBlock &MBB, MachineInstr &MI,
211211
void SIInsertSkips::skipIfDead(MachineBasicBlock &MBB,
212212
MachineBasicBlock::iterator I, DebugLoc DL) {
213213
MachineFunction *MF = MBB.getParent();
214+
(void)MF;
214215
assert(MF->getFunction().getCallingConv() == CallingConv::AMDGPU_PS);
215216

216217
// It is possible for an SI_KILL_*_TERMINATOR to sit at the bottom of a

0 commit comments

Comments
 (0)