summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/IR/PassBuilderCallbacksTest.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/unittests/IR/PassBuilderCallbacksTest.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/unittests/IR/PassBuilderCallbacksTest.cpp')
-rw-r--r--llvm/unittests/IR/PassBuilderCallbacksTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/IR/PassBuilderCallbacksTest.cpp b/llvm/unittests/IR/PassBuilderCallbacksTest.cpp
index 7cd938fcddb..bb7e227075e 100644
--- a/llvm/unittests/IR/PassBuilderCallbacksTest.cpp
+++ b/llvm/unittests/IR/PassBuilderCallbacksTest.cpp
@@ -414,7 +414,8 @@ protected:
"exit:\n"
" ret void\n"
"}\n")),
- CallbacksHandle(), PB(nullptr, None, &CallbacksHandle.Callbacks),
+ CallbacksHandle(),
+ PB(nullptr, PipelineTuningOptions(), None, &CallbacksHandle.Callbacks),
PM(true), LAM(true), FAM(true), CGAM(true), AM(true) {
/// Register a callback for analysis registration.
OpenPOWER on IntegriCloud