Skip to content

Commit 086280f

Browse files
committed
[AMDGPU] Fix linking error of SIISelLowering.cpp.o (NFC)
ld.lld: error: undefined symbol: llvm::MachineOperand::dump() const >>> referenced by SIISelLowering.cpp
1 parent 823102a commit 086280f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5157,8 +5157,10 @@ MachineBasicBlock *SITargetLowering::EmitInstrWithCustomInserter(
51575157
// iff there was no token on the call.
51585158
if (MachineInstr *Def = MRI.getVRegDef(MO.getReg())) {
51595159
if (Def->getOpcode() != TargetOpcode::IMPLICIT_DEF) {
5160-
Def->dump();
5161-
MO.dump();
5160+
LLVM_DEBUG({
5161+
Def->dump();
5162+
MO.dump();
5163+
});
51625164
MO.setImplicit();
51635165
MIB.add(MO);
51645166
}

0 commit comments

Comments
 (0)