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 | 83682a9441b962e70e2dbffb72dfa6e968e5ac63 (patch) | |
tree | e9ad399f301fd70a08c855557e8249c3bc9b6f77 /llvm/lib/CodeGen/MachineLICM.cpp | |
parent | b0ef9140e5648f5e3743b4d51c665c25c9e28916 (diff) | |
download | bcm5719-llvm-83682a9441b962e70e2dbffb72dfa6e968e5ac63.tar.gz bcm5719-llvm-83682a9441b962e70e2dbffb72dfa6e968e5ac63.zip |
Give MachineLICM a name, for -time-passes etc.
llvm-svn: 61184
Diffstat (limited to 'llvm/lib/CodeGen/MachineLICM.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineLICM.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineLICM.cpp b/llvm/lib/CodeGen/MachineLICM.cpp index 99252b2e606..f19862c47b2 100644 --- a/llvm/lib/CodeGen/MachineLICM.cpp +++ b/llvm/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(); |