mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 23:57:48 +00:00
Don't do dead block elimination in fast mode.
llvm-svn: 31155
This commit is contained in:
parent
b35e4b16ae
commit
55d57252c3
@ -64,7 +64,8 @@ bool LLVMTargetMachine::addPassesToEmitFile(FunctionPassManager &PM,
|
||||
PM.add(createPrologEpilogCodeInserter());
|
||||
|
||||
// Branch folding must be run after regalloc and prolog/epilog insertion.
|
||||
PM.add(createBranchFoldingPass());
|
||||
if (!Fast)
|
||||
PM.add(createBranchFoldingPass());
|
||||
|
||||
if (PrintMachineCode) // Print the register-allocated code
|
||||
PM.add(createMachineFunctionPrinterPass(&std::cerr));
|
||||
|
Loading…
Reference in New Issue
Block a user