File tree Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 2
2
// compilation pipeline with the inliner pass (new Pass Manager).
3
3
4
4
// RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown -emit-llvm \
5
- // RUN: -fno-legacy-pass-manager - mdebug-pass Structure %s -o /dev/null 2>&1 \
5
+ // RUN: -mdebug-pass Structure %s -o /dev/null 2>&1 \
6
6
// RUN: | FileCheck %s -check-prefixes=CHECK-INL,CHECK
7
7
8
8
// RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown -emit-llvm -O0 \
9
- // RUN: -fno-legacy-pass-manager - mdebug-pass Structure %s -o /dev/null 2>&1 \
9
+ // RUN: -mdebug-pass Structure %s -o /dev/null 2>&1 \
10
10
// RUN: | FileCheck %s --check-prefixes=CHECK-ALWINL,CHECK
11
11
12
12
// Check that AlwaysInliner pass is always run for compilation of SYCL device
13
13
// target code, even if all optimizations are disabled.
14
14
15
15
// RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown -emit-llvm -disable-llvm-passes \
16
- // RUN: -fno-legacy-pass-manager - mdebug-pass Structure %s -o /dev/null 2>&1 \
16
+ // RUN: -mdebug-pass Structure %s -o /dev/null 2>&1 \
17
17
// RUN: | FileCheck %s --check-prefixes=CHECK-ALWINL,CHECK
18
18
// RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown -emit-llvm -fno-sycl-early-optimizations \
19
- // RUN: -fno-legacy-pass-manager - mdebug-pass Structure %s -o /dev/null 2>&1 \
19
+ // RUN: -mdebug-pass Structure %s -o /dev/null 2>&1 \
20
20
// RUN: | FileCheck %s --check-prefixes=CHECK-ALWINL,CHECK
21
21
22
22
// CHECK-INL: Running pass: ModuleInlinerWrapperPass on [module]
Original file line number Diff line number Diff line change 2
2
// SYCL device target, and can be disabled with -fno-sycl-early-optimizations.
3
3
// New pass manager doesn't print all passes tree, only module level.
4
4
//
5
- // RUN: %clang_cc1 -O2 -fsycl-is-device -triple spir64-unknown-unknown %s -fno-legacy-pass-manager - mdebug-pass Structure -emit-llvm -o /dev/null 2>&1 | FileCheck %s --check-prefix=CHECK-NEWPM-EARLYOPT
5
+ // RUN: %clang_cc1 -O2 -fsycl-is-device -triple spir64-unknown-unknown %s -mdebug-pass Structure -emit-llvm -o /dev/null 2>&1 | FileCheck %s --check-prefix=CHECK-NEWPM-EARLYOPT
6
6
// CHECK-NEWPM-EARLYOPT: ConstantMergePass
7
7
// CHECK-NEWPM-EARLYOPT: SYCLMutatePrintfAddrspacePass
8
8
//
9
- // RUN: %clang_cc1 -O2 -fsycl-is-device -triple spir64-unknown-unknown %s -fno-legacy-pass-manager - mdebug-pass Structure -emit-llvm -fno-sycl-early-optimizations -o /dev/null 2>&1 | FileCheck %s --check-prefix=CHECK-NEWPM-NOEARLYOPT
9
+ // RUN: %clang_cc1 -O2 -fsycl-is-device -triple spir64-unknown-unknown %s -mdebug-pass Structure -emit-llvm -fno-sycl-early-optimizations -o /dev/null 2>&1 | FileCheck %s --check-prefix=CHECK-NEWPM-NOEARLYOPT
10
10
// CHECK-NEWPM-NOEARLYOPT-NOT: ConstantMergePass
11
11
// CHECK-NEWPM-NOEARLYOPT: SYCLMutatePrintfAddrspacePass
Original file line number Diff line number Diff line change 2
2
// / SYCL device code
3
3
4
4
// RUN: %clang_cc1 -fsycl-is-device -fsycl-instrument-device-code -triple spir64-unknown-unknown -emit-llvm %s -o - | FileCheck %s
5
- // RUN: %clang_cc1 -fsycl-is-device -fno-legacy-pass-manager - fsycl-instrument-device-code -triple spir64-unknown-unknown -emit-llvm %s -o - | FileCheck %s
5
+ // RUN: %clang_cc1 -fsycl-is-device -fsycl-instrument-device-code -triple spir64-unknown-unknown -emit-llvm %s -o - | FileCheck %s
6
6
7
7
// CHECK: kernel_function
8
8
// CHECK-NEXT: entry:
Original file line number Diff line number Diff line change 1
1
// RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown -mllvm -sycl-opt %s -emit-llvm -o - | FileCheck %s
2
- // RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown -fno-legacy-pass-manager - mllvm -sycl-opt %s -emit-llvm -o - | FileCheck %s
2
+ // RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown -mllvm -sycl-opt %s -emit-llvm -o - | FileCheck %s
3
3
//
4
4
// This test checks that foo (which is @_Z3foov) is called twice after O3 optimizations.
5
5
//
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl-device-only -fsycl-id-queries-fit-in-int -fno-sycl-early-optimizations -S %s -fno-legacy-pass-manager - o - | FileCheck %s
1
+ // RUN: %clangxx -fsycl-device-only -fsycl-id-queries-fit-in-int -fno-sycl-early-optimizations -S %s -o - | FileCheck %s
2
2
3
3
#include < sycl/sycl.hpp>
4
4
Original file line number Diff line number Diff line change 1
- // RUN: not %clangxx -fsycl -fsycl-device-only -fno-legacy-pass-manager - S %s -o /dev/null 2>&1 | FileCheck %s
2
- // RUN: not %clangxx -fsycl -fsycl-device-only -fno-legacy-pass-manager - O0 -S %s -o /dev/null 2>&1 | FileCheck %s
1
+ // RUN: not %clangxx -fsycl -fsycl-device-only -S %s -o /dev/null 2>&1 | FileCheck %s
2
+ // RUN: not %clangxx -fsycl -fsycl-device-only -O0 -S %s -o /dev/null 2>&1 | FileCheck %s
3
3
4
4
#include < sycl/ext/intel/esimd.hpp>
5
5
#include < sycl/sycl.hpp>
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-device-only -fno-legacy-pass-manager - S -emit-llvm -x c++ %s -o %t
1
+ // RUN: %clangxx -fsycl -fsycl-device-only -S -emit-llvm -x c++ %s -o %t
2
2
// RUN: sycl-post-link -split-esimd -lower-esimd -O2 -S %t -o %t.table
3
3
// RUN: FileCheck %s -input-file=%t_esimd_0.ll
4
4
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-device-only -fno-legacy-pass-manager - S -emit-llvm -x c++ %s -o %t
1
+ // RUN: %clangxx -fsycl -fsycl-device-only -S -emit-llvm -x c++ %s -o %t
2
2
// RUN: sycl-post-link -split-esimd -lower-esimd -O0 -S %t -o %t.table
3
3
// RUN: FileCheck %s -input-file=%t_esimd_0.ll
4
4
You can’t perform that action at this time.
0 commit comments