diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-07-26 21:12:46 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-07-26 21:12:46 +0000 |
| commit | c8b7092e54f117ce6377568a9e3e0d5edc48392c (patch) | |
| tree | 6d71fb1fd09ee03f284867bfe148bc81eb42879b /llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp | |
| parent | a2c098598058ae8466f6141804fdba50b758b0fd (diff) | |
| download | bcm5719-llvm-c8b7092e54f117ce6377568a9e3e0d5edc48392c.tar.gz bcm5719-llvm-c8b7092e54f117ce6377568a9e3e0d5edc48392c.zip | |
* Add support for different "PassType's"
* Add new RegisterOpt/RegisterAnalysis templates for registering passes that
are to show up in opt or analyze
* Register Analyses now
* Change optimizations to use RegisterOpt instead of RegisterPass
* Add support for different "PassType's"
* Add new RegisterOpt/RegisterAnalysis templates for registering passes that
are to show up in opt or analyze
* Register Analyses now
* Change optimizations to use RegisterOpt instead of RegisterPass
* Remove getPassName implementations from various subclasses
llvm-svn: 3113
Diffstat (limited to 'llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp b/llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp index 81f3cb3e933..399b5fee88c 100644 --- a/llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp +++ b/llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp @@ -55,7 +55,7 @@ namespace { bool insertPiNodeFor(Value *V, BasicBlock *BB, Value *Rep = 0); }; - RegisterPass<PiNodeInserter> X("pinodes", "Pi Node Insertion"); + RegisterOpt<PiNodeInserter> X("pinodes", "Pi Node Insertion"); } Pass *createPiNodeInsertionPass() { return new PiNodeInserter(); } |

