Skip to content

Commit 96da497

Browse files
committed
[CodeGen]RegisterCoalescer: Remove the print() method
1 parent 2b7509e commit 96da497

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

llvm/lib/CodeGen/RegisterCoalescer.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,6 @@ class RegisterCoalescer : public MachineFunctionPass,
390390

391391
/// This is the pass entry point.
392392
bool runOnMachineFunction(MachineFunction &) override;
393-
394-
/// Implement the dump method.
395-
void print(raw_ostream &O, const Module * = nullptr) const override;
396393
};
397394

398395
} // end anonymous namespace
@@ -4344,12 +4341,8 @@ bool RegisterCoalescer::runOnMachineFunction(MachineFunction &fn) {
43444341
PHIValToPos.clear();
43454342
RegToPHIIdx.clear();
43464343

4347-
LLVM_DEBUG(dump());
4344+
LLVM_DEBUG(LIS->dump());
43484345
if (VerifyCoalescing)
43494346
MF->verify(this, "After register coalescing", &errs());
43504347
return true;
43514348
}
4352-
4353-
void RegisterCoalescer::print(raw_ostream &O, const Module *m) const {
4354-
LIS->print(O);
4355-
}

0 commit comments

Comments
 (0)