summaryrefslogtreecommitdiffstats
path: root/llvm/tools/gold/gold-plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/gold/gold-plugin.cpp')
-rw-r--r--llvm/tools/gold/gold-plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp
index db21c1bd59d..25089ba4188 100644
--- a/llvm/tools/gold/gold-plugin.cpp
+++ b/llvm/tools/gold/gold-plugin.cpp
@@ -677,6 +677,7 @@ static void runLTOPasses(Module &M, TargetMachine &TM) {
PMB.VerifyInput = true;
PMB.VerifyOutput = true;
PMB.LoopVectorize = true;
+ PMB.SLPVectorize = true;
PMB.populateLTOPassManager(passes, &TM);
passes.run(M);
}
OpenPOWER on IntegriCloud