Add pass ID's for various passes, so they can be AddRequiredID. Patch by

Domagoj Babic!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28048 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-05-02 04:24:36 +00:00
parent 51b776d259
commit b3674e4753
5 changed files with 28 additions and 14 deletions
+2
View File
@@ -74,6 +74,8 @@ bool PromotePass::runOnFunction(Function &F) {
return Changed;
}
// Publically exposed interface to pass...
const PassInfo *llvm::PromoteMemoryToRegisterID = X.getPassInfo();
// createPromoteMemoryToRegister - Provide an entry point to create this pass.
//
FunctionPass *llvm::createPromoteMemoryToRegisterPass() {