[llvm] 398ba37 - [LiveDebugVariables] Delete unneeded doInitialization
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 4 13:32:00 PDT 2020
Author: Fangrui Song
Date: 2020-09-04T13:27:42-07:00
New Revision: 398ba37230431b6ab263cf91bf4c03e4f2c7acb8
URL: https://github.com/llvm/llvm-project/commit/398ba37230431b6ab263cf91bf4c03e4f2c7acb8
DIFF: https://github.com/llvm/llvm-project/commit/398ba37230431b6ab263cf91bf4c03e4f2c7acb8.diff
LOG: [LiveDebugVariables] Delete unneeded doInitialization
Added:
Modified:
llvm/lib/CodeGen/LiveDebugVariables.cpp
llvm/lib/CodeGen/LiveDebugVariables.h
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp
index dd0a900fc2be..97cc7a0c3034 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.cpp
+++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp
@@ -1444,10 +1444,6 @@ void LiveDebugVariables::emitDebugValues(VirtRegMap *VRM) {
static_cast<LDVImpl*>(pImpl)->emitDebugValues(VRM);
}
-bool LiveDebugVariables::doInitialization(Module &M) {
- return Pass::doInitialization(M);
-}
-
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void LiveDebugVariables::dump() const {
if (pImpl)
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.h b/llvm/lib/CodeGen/LiveDebugVariables.h
index 74e738ec3e56..07dd3a83866f 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.h
+++ b/llvm/lib/CodeGen/LiveDebugVariables.h
@@ -56,7 +56,6 @@ class LLVM_LIBRARY_VISIBILITY LiveDebugVariables : public MachineFunctionPass {
bool runOnMachineFunction(MachineFunction &) override;
void releaseMemory() override;
void getAnalysisUsage(AnalysisUsage &) const override;
- bool doInitialization(Module &) override;
};
} // end namespace llvm
More information about the llvm-commits
mailing list