Move pass configuration out of pass constructors: PostRAScheduler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Trick
2012-02-08 21:22:53 +00:00
parent 61f1e3db43
commit c7d081b594
4 changed files with 11 additions and 9 deletions

View File

@@ -285,7 +285,7 @@ void TargetPassConfig::addMachinePasses() {
// Second pass scheduler.
if (getOptLevel() != CodeGenOpt::None && !DisablePostRA) {
PM.add(createPostRAScheduler(getOptLevel()));
PM.add(createPostRAScheduler());
printNoVerify("After PostRAScheduler");
}