[llvm] [CodeGen]RegisterCoalescer: Remove the print() method (PR #125042)
Akshat Oke via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 30 01:51:55 PST 2025
https://github.com/optimisan created https://github.com/llvm/llvm-project/pull/125042
None
>From 96da497caab74c059d7f5d5d26ea9ee873391610 Mon Sep 17 00:00:00 2001
From: Akshat Oke <Akshat.Oke at amd.com>
Date: Thu, 30 Jan 2025 09:19:46 +0000
Subject: [PATCH] [CodeGen]RegisterCoalescer: Remove the print() method
---
llvm/lib/CodeGen/RegisterCoalescer.cpp | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp
index 62c15949e46dac..d2f7684ec83a48 100644
--- a/llvm/lib/CodeGen/RegisterCoalescer.cpp
+++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp
@@ -390,9 +390,6 @@ class RegisterCoalescer : public MachineFunctionPass,
/// This is the pass entry point.
bool runOnMachineFunction(MachineFunction &) override;
-
- /// Implement the dump method.
- void print(raw_ostream &O, const Module * = nullptr) const override;
};
} // end anonymous namespace
@@ -4344,12 +4341,8 @@ bool RegisterCoalescer::runOnMachineFunction(MachineFunction &fn) {
PHIValToPos.clear();
RegToPHIIdx.clear();
- LLVM_DEBUG(dump());
+ LLVM_DEBUG(LIS->dump());
if (VerifyCoalescing)
MF->verify(this, "After register coalescing", &errs());
return true;
}
-
-void RegisterCoalescer::print(raw_ostream &O, const Module *m) const {
- LIS->print(O);
-}
More information about the llvm-commits
mailing list