mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
Restore 'nice name' to pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7840 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -66,6 +66,7 @@ class PeepholeOpts: public BasicBlockPass {
|
|||||||
public:
|
public:
|
||||||
PeepholeOpts(const TargetMachine &T): target(T) { }
|
PeepholeOpts(const TargetMachine &T): target(T) { }
|
||||||
bool runOnBasicBlock(BasicBlock &BB); // apply this pass to each BB
|
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
|
/* Apply a list of peephole optimizations to this machine instruction
|
||||||
|
Reference in New Issue
Block a user