For those working from LLVM CVS: I simplified the pass interface, eliminating the need for the RegisterOpt vs RegistierAnalysis distinction. If you're working on an out-of-tree pass, you should just use 'RegisterPass' instead of RegisterOpt or RegisterAnalysis. I've updated the "Writing an LLVM Pass" doc to reflect current best practice. -Chris -- http://nondot.org/sabre/ http://llvm.org/
Seemingly Similar Threads
- [LLVMdev] Question about MachineFunction Pass
- [LLVMdev] API CHANGE: RegisterPass going away
- [LLVMdev] Pass is not automatically registered
- [LLVMdev] 1.9 Prerelease Available for Testing
- [LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors