Skip to content

Commit 39019f8

Browse files
committed
Remove usage of -fno-legacy-pass-manager option
1 parent 0edf1b7 commit 39019f8

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

clang/test/CodeGenSYCL/group-local-memory.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
// compilation pipeline with the inliner pass (new Pass Manager).
33

44
// 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 \
66
// RUN: | FileCheck %s -check-prefixes=CHECK-INL,CHECK
77

88
// 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 \
1010
// RUN: | FileCheck %s --check-prefixes=CHECK-ALWINL,CHECK
1111

1212
// Check that AlwaysInliner pass is always run for compilation of SYCL device
1313
// target code, even if all optimizations are disabled.
1414

1515
// 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 \
1717
// RUN: | FileCheck %s --check-prefixes=CHECK-ALWINL,CHECK
1818
// 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 \
2020
// RUN: | FileCheck %s --check-prefixes=CHECK-ALWINL,CHECK
2121

2222
// CHECK-INL: Running pass: ModuleInlinerWrapperPass on [module]

clang/test/CodeGenSYCL/kernel-early-optimization-pipeline.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
// SYCL device target, and can be disabled with -fno-sycl-early-optimizations.
33
// New pass manager doesn't print all passes tree, only module level.
44
//
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
66
// CHECK-NEWPM-EARLYOPT: ConstantMergePass
77
// CHECK-NEWPM-EARLYOPT: SYCLMutatePrintfAddrspacePass
88
//
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
1010
// CHECK-NEWPM-NOEARLYOPT-NOT: ConstantMergePass
1111
// CHECK-NEWPM-NOEARLYOPT: SYCLMutatePrintfAddrspacePass

clang/test/CodeGenSYCL/kernel-simple-instrumentation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/// SYCL device code
33

44
// 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
66

77
// CHECK: kernel_function
88
// CHECK-NEXT: entry:

clang/test/CodeGenSYCL/simplifycfg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 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
33
//
44
// This test checks that foo (which is @_Z3foov) is called twice after O3 optimizations.
55
//

sycl/test/check_device_code/id_queries_fit_int.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22

33
#include <sycl/sycl.hpp>
44

sycl/test/esimd/esimd_verify.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
33

44
#include <sycl/ext/intel/esimd.hpp>
55
#include <sycl/sycl.hpp>

sycl/test/esimd/lower-external-funcs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22
// RUN: sycl-post-link -split-esimd -lower-esimd -O2 -S %t -o %t.table
33
// RUN: FileCheck %s -input-file=%t_esimd_0.ll
44

sycl/test/esimd/spirv_intrins_trans.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22
// RUN: sycl-post-link -split-esimd -lower-esimd -O0 -S %t -o %t.table
33
// RUN: FileCheck %s -input-file=%t_esimd_0.ll
44

0 commit comments

Comments
 (0)