[llvm-commits] [llvm] r61184 - /llvm/trunk/lib/CodeGen/MachineLICM.cpp
Dan Gohman
gohman at apple.com
Wed Dec 17 17:37:57 PST 2008
Author: djg
Date: Wed Dec 17 19:37:56 2008
New Revision: 61184
URL: http://llvm.org/viewvc/llvm-project?rev=61184&view=rev
Log:
Give MachineLICM a name, for -time-passes etc.
Modified:
llvm/trunk/lib/CodeGen/MachineLICM.cpp
Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineLICM.cpp?rev=61184&r1=61183&r2=61184&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineLICM.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineLICM.cpp Wed Dec 17 19:37:56 2008
@@ -49,6 +49,8 @@
virtual bool runOnMachineFunction(MachineFunction &MF);
+ const char *getPassName() const { return "Machine Instruction LICM"; }
+
// FIXME: Loop preheaders?
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesCFG();
More information about the llvm-commits
mailing list