xref: /llvm-project/llvm/test/Transforms/SandboxVectorizer/user_pass_pipeline.ll (revision 2e8ad49e7cffb22a169c22d02607708c71a80c65)
1; RUN: opt -passes=sandbox-vectorizer -sbvec-print-pass-pipeline \
2; RUN:     -disable-output -sbvec-passes="bottom-up-vec<null,null>" %s \
3; RUN:     | FileCheck %s
4;
5; RUN: opt -passes=sandbox-vectorizer -sbvec-print-pass-pipeline \
6; RUN:     -disable-output -sbvec-passes="bottom-up-vec<>,regions-from-metadata<>" %s \
7; RUN:     | FileCheck --check-prefix CHECK-MULTIPLE-FUNCTION-PASSES %s
8
9; !!!WARNING!!! This won't get updated by update_test_checks.py !
10
11; This checks the user defined pass pipeline.
12define void @pipeline() {
13  ret void
14}
15
16; CHECK: fpm
17; CHECK: bottom-up-vec
18; CHECK: rpm
19; CHECK: null
20; CHECK: null
21; CHECK-EMPTY:
22
23; CHECK-MULTIPLE-FUNCTION-PASSES: fpm
24; CHECK-MULTIPLE-FUNCTION-PASSES: bottom-up-vec
25; CHECK-MULTIPLE-FUNCTION-PASSES: rpm
26; CHECK-MULTIPLE-FUNCTION-PASSES: regions-from-metadata
27; CHECK-MULTIPLE-FUNCTION-PASSES: rpm
28; CHECK-MULTIPLE-FUNCTION-PASSES-EMPTY:
29