Add TargetPassConfig hooks for scheduling/bundling.
authorAndrew Trick <atrick@apple.com>
Sat, 11 Feb 2012 07:11:32 +0000 (07:11 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 11 Feb 2012 07:11:32 +0000 (07:11 +0000)
commit746f24b732830f434032de5d2d321e6ad1f8e782
tree0b69d42f044b61b42e9620eccad535993f4a0485
parentfda655ec23f33ad8f9d5ca75608ddf441c76be9a
Add TargetPassConfig hooks for scheduling/bundling.

In case the MachineScheduling pass I'm working on doesn't work well
for another target, they can completely override it. This also adds a
hook immediately after the RegAlloc pass to cleanup immediately after
vregs go away. We may want to fold it into the postRA hook later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150298 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Passes.h
lib/CodeGen/Passes.cpp