summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LTO/LTOBackend.cpp
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2019-04-19 16:11:59 +0000
committerAlina Sbirlea <asbirlea@google.com>2019-04-19 16:11:59 +0000
commit0499a2f961ab0af5bab9e96bc5f86a7a7cb35292 (patch)
tree65c8402050bf6df1dd050d5667353fcbc35ebfb5 /llvm/lib/LTO/LTOBackend.cpp
parent51873d315037a9419510662822ee2746db4b79c3 (diff)
downloadbcm5719-llvm-0499a2f961ab0af5bab9e96bc5f86a7a7cb35292.tar.gz
bcm5719-llvm-0499a2f961ab0af5bab9e96bc5f86a7a7cb35292.zip
[NewPassManager] Adding pass tuning options: loop vectorize.
Summary: Trying to add the plumbing necessary to add tuning options to the new pass manager. Testing with the flags for loop vectorize. Reviewers: chandlerc Subscribers: sanjoy, mehdi_amini, jlebar, steven_wu, dexonsmith, dang, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D59723 llvm-svn: 358763
Diffstat (limited to 'llvm/lib/LTO/LTOBackend.cpp')
-rw-r--r--llvm/lib/LTO/LTOBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOBackend.cpp b/llvm/lib/LTO/LTOBackend.cpp
index 64c596931fa..9c2d0ed5d54 100644
--- a/llvm/lib/LTO/LTOBackend.cpp
+++ b/llvm/lib/LTO/LTOBackend.cpp
@@ -164,7 +164,7 @@ static void runNewPMPasses(Config &Conf, Module &Mod, TargetMachine *TM,
PGOOptions::IRUse, PGOOptions::CSIRUse);
}
- PassBuilder PB(TM, PGOOpt);
+ PassBuilder PB(TM, PipelineTuningOptions(), PGOOpt);
AAManager AA;
// Parse a custom AA pipeline if asked to.
OpenPOWER on IntegriCloud