diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-08-14 14:43:24 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-08-14 14:43:24 +0000 |
| commit | bf0c0100f67e3dc46133c5eedc964407b66bc565 (patch) | |
| tree | da1d71cd4ee09dc774d0cb599bb49de9c57da2f2 /llvm/lib | |
| parent | 8c14ba96ca24f881aeae80bc9fe368f453f48bdb (diff) | |
| download | bcm5719-llvm-bf0c0100f67e3dc46133c5eedc964407b66bc565.tar.gz bcm5719-llvm-bf0c0100f67e3dc46133c5eedc964407b66bc565.zip | |
Restore 'nice name' to pass
llvm-svn: 7840
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/Sparc/PeepholeOpts.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/PeepholeOpts.cpp b/llvm/lib/Target/Sparc/PeepholeOpts.cpp index 3912f4e7629..c965dae6ff8 100644 --- a/llvm/lib/Target/Sparc/PeepholeOpts.cpp +++ b/llvm/lib/Target/Sparc/PeepholeOpts.cpp @@ -66,6 +66,7 @@ class PeepholeOpts: public BasicBlockPass { public: PeepholeOpts(const TargetMachine &T): target(T) { } bool runOnBasicBlock(BasicBlock &BB); // apply this pass to each BB + virtual const char *getPassName() const { return "Peephole Optimization"; } }; /* Apply a list of peephole optimizations to this machine instruction |

