mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
there is no need to run mem2reg after jump threading at LTO time now.
llvm-svn: 83753
This commit is contained in:
parent
969d1df7ba
commit
a9bbfdf699
@ -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
Block a user