- Added calls to doInitialization/doFinalization to immutable passes
authorPedro Artigas <partigas@apple.com>
Wed, 5 Dec 2012 17:12:22 +0000 (17:12 +0000)
committerPedro Artigas <partigas@apple.com>
Wed, 5 Dec 2012 17:12:22 +0000 (17:12 +0000)
commit41b98843e84b37423282ed9f639cf5c0957c76e1
tree5e8da8335b336045103a59b59025662641e08990
parent55b6b6434e0c6772d68578534983f50fd9214909
- Added calls to doInitialization/doFinalization to immutable passes
- fixed ordering of calls to doFinalization to be the reverse of the pass run order due to potential dependencies
- fixed machine module info to operate in the doInitialization/doFinalization model, also fixes some FIXMEs

reviewed by Evan Cheng <evan.cheng@apple.com>

llvm-svn: 169391
llvm/include/llvm/CodeGen/MachineModuleInfo.h
llvm/lib/CodeGen/MachineModuleInfo.cpp
llvm/lib/VMCore/PassManager.cpp