From 7224170f6a5b8a3c76f4adc5f84d650d142a27c4 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 18 Dec 2008 01:37:56 +0000 Subject: [PATCH] Give MachineLICM a name, for -time-passes etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61184 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineLICM.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp index 99252b2e606..f19862c47b2 100644 --- a/lib/CodeGen/MachineLICM.cpp +++ b/lib/CodeGen/MachineLICM.cpp @@ -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();