[llvm] r297222 - Implement FreeMachineFunction::getPassName().
Yaron Keren via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 12:59:08 PST 2017
Author: yrnkrn
Date: Tue Mar 7 14:59:08 2017
New Revision: 297222
URL: http://llvm.org/viewvc/llvm-project?rev=297222&view=rev
Log:
Implement FreeMachineFunction::getPassName().
Modified:
llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp
Modified: llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp?rev=297222&r1=297221&r2=297222&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineModuleInfo.cpp Tue Mar 7 14:59:08 2017
@@ -306,6 +306,10 @@ public:
MMI.deleteMachineFunctionFor(F);
return true;
}
+
+ StringRef getPassName() const override {
+ return "Free MachineFunction";
+ }
};
char FreeMachineFunction::ID;
} // end anonymous namespace
More information about the llvm-commits
mailing list