Give MachineLICM a name, for -time-passes etc.
authorDan Gohman <gohman@apple.com>
Thu, 18 Dec 2008 01:37:56 +0000 (01:37 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 18 Dec 2008 01:37:56 +0000 (01:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61184 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineLICM.cpp

index 99252b2e6069cb2503eaee2ad46c2be368783b66..f19862c47b2a3fb08724e5d39c315df94c35e750 100644 (file)
@@ -49,6 +49,8 @@ namespace {
 
     virtual bool runOnMachineFunction(MachineFunction &MF);
 
+    const char *getPassName() const { return "Machine Instruction LICM"; }
+
     // FIXME: Loop preheaders?
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {
       AU.setPreservesCFG();