mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
No need to run LICM after loop vectorization because we dont generate invariant code any more.
llvm-svn: 168928
This commit is contained in:
parent
d7449a0a92
commit
e8ebdf63e5
@ -190,10 +190,8 @@ void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) {
|
||||
MPM.add(createLoopIdiomPass()); // Recognize idioms like memset.
|
||||
MPM.add(createLoopDeletionPass()); // Delete dead loops
|
||||
|
||||
if (LoopVectorize) {
|
||||
if (LoopVectorize)
|
||||
MPM.add(createLoopVectorizePass());
|
||||
MPM.add(createLICMPass());
|
||||
}
|
||||
|
||||
if (!DisableUnrollLoops)
|
||||
MPM.add(createLoopUnrollPass()); // Unroll small loops
|
||||
|
Loading…
Reference in New Issue
Block a user