Modify previous patch per review comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39817 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen 2007-07-13 17:31:29 +00:00
parent e7e7d0d7e3
commit 72f1596403
2 changed files with 5 additions and 3 deletions

View File

@ -79,7 +79,8 @@ LLVMTargetMachine::addPassesToEmitFile(FunctionPassManager &PM,
PM.add(createPrologEpilogCodeInserter());
// Second pass scheduler.
PM.add(createPostRAScheduler());
if (!Fast)
PM.add(createPostRAScheduler());
// Branch folding must be run after regalloc and prolog/epilog insertion.
if (!Fast)
@ -185,7 +186,8 @@ bool LLVMTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
PM.add(createMachineFunctionPrinterPass(cerr));
// Second pass scheduler.
PM.add(createPostRAScheduler());
if (!Fast)
PM.add(createPostRAScheduler());
// Branch folding must be run after regalloc and prolog/epilog insertion.
if (!Fast)

View File

@ -1,4 +1,4 @@
//===----- SchedulePostRAList.cpp - list scheduler ----===//
//===----- SchedulePostRAList.cpp - list scheduler ------------------------===//
//
// The LLVM Compiler Infrastructure
//