diff options
author | Dan Gohman <gohman@apple.com> | 2008-12-18 01:37:56 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-12-18 01:37:56 +0000 |
commit | 7224170f6a5b8a3c76f4adc5f84d650d142a27c4 (patch) | |
tree | 48fc038b78bbc768fe389be07ac669baff971211 | |
parent | 23b0d490cdf27b2cba7b497aceeb5c79b0d0c9fe (diff) |
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
-rw-r--r-- | lib/CodeGen/MachineLICM.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineLICM.cpp b/lib/CodeGen/MachineLICM.cpp index 99252b2e60..f19862c47b 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(); |