Enable the loop vectorizer in the gold plugin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220886 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-10-30 00:11:24 +00:00
parent 25016f9d2e
commit 74ded7c790
2 changed files with 31 additions and 0 deletions

View File

@@ -676,6 +676,7 @@ static void runLTOPasses(Module &M, TargetMachine &TM) {
PMB.Inliner = createFunctionInliningPass();
PMB.VerifyInput = true;
PMB.VerifyOutput = true;
PMB.LoopVectorize = true;
PMB.populateLTOPassManager(passes, &TM);
passes.run(M);
}