[llvm-commits] CVS: llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Aug 14 09:44:01 PDT 2003
Changes in directory llvm/lib/CodeGen/PostOpts:
PeepholeOpts.cpp updated: 1.8 -> 1.9
---
Log message:
Restore 'nice name' to pass
---
Diffs of the changes:
Index: llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp
diff -u llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp:1.8 llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp:1.9
--- llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp:1.8 Thu Aug 14 01:04:49 2003
+++ llvm/lib/CodeGen/PostOpts/PeepholeOpts.cpp Thu Aug 14 09:43:24 2003
@@ -66,6 +66,7 @@
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
More information about the llvm-commits
mailing list