forked from OSchip/llvm-project
there is no need to run mem2reg after jump threading at LTO time now.
llvm-svn: 83753
This commit is contained in:
parent
bb094e12f2
commit
09677258e5
|
@ -230,10 +230,8 @@ namespace llvm {
|
|||
addOnePass(PM, createInstructionCombiningPass(), VerifyEach);
|
||||
|
||||
addOnePass(PM, createJumpThreadingPass(), VerifyEach);
|
||||
// Cleanup jump threading.
|
||||
addOnePass(PM, createPromoteMemoryToRegisterPass(), VerifyEach);
|
||||
|
||||
// Delete basic blocks, which optimization passes may have killed...
|
||||
// Delete basic blocks, which optimization passes may have killed.
|
||||
addOnePass(PM, createCFGSimplificationPass(), VerifyEach);
|
||||
|
||||
// Now that we have optimized the program, discard unreachable functions.
|
||||
|
|
Loading…
Reference in New Issue