File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
// Check LLVM optimization pipeline is run by default for SPIR-V compiled for
2
2
// SYCL device target, and can be disabled with -fno-sycl-early-optimizations.
3
3
//
4
- // RUN: %clang_cc1 -O2 -fsycl -fsycl-is-device -triple spir64-unknown-unknown-sycldevice %s -fdebug-pass-manager -emit-llvm -o - 2>&1 | FileCheck %s --check-prefix=CHECK-EARLYOPT
5
- // CHECK-EARLYOPT: Starting llvm::Module pass manager run.
6
- // CHECK-EARLYOPT: Running pass: GlobalOptPass
7
- // CHECK-EARLYOPT: Running pass: GlobalDCEPass
8
- // CHECK-EARLYOPT: Running pass: PrintModulePass on
4
+ // RUN: %clang_cc1 -O2 -fsycl -fsycl-is-device -triple spir64-unknown-unknown-sycldevice %s -mllvm -debug-pass=Structure -emit-llvm -o - 2>&1 | FileCheck %s --check-prefix=CHECK-EARLYOPT
5
+ // CHECK-EARLYOPT: Lower Work Group Scope Code
6
+ // CHECK-EARLYOPT: Combine redundant instructions
9
7
//
10
- // RUN: %clang_cc1 -O2 -fsycl -fsycl-is-device -fno-sycl-early-optimizations -triple spir64-unknown-unknown-sycldevice %s -fdebug-pass-manager -emit-llvm -o - 2>&1 | FileCheck %s --check-prefix=CHECK-NOEARLYOPT
11
- // CHECK-NOEARLYOPT: Starting llvm::Module pass manager run.
12
- // CHECK-NOEARLYOPT-NEXT: Running pass: PrintModulePass on
8
+ // RUN: %clang_cc1 -O2 -fsycl -fsycl-is-device -fno-sycl-early-optimizations -triple spir64-unknown-unknown-sycldevice %s -mllvm -debug-pass=Structure -emit-llvm -o - 2>&1 | FileCheck %s --check-prefix=CHECK-NOEARLYOPT
9
+ // CHECK-NOEARLYOPT: Lower Work Group Scope Code
10
+ // CHECK-NOEARLYOPT-NOT: Combine redundant instructions
Original file line number Diff line number Diff line change @@ -694,7 +694,7 @@ else()
694
694
endif ()
695
695
option (LLVM_ENABLE_PLUGINS "Enable plugin support" ${LLVM_ENABLE_PLUGINS_default} )
696
696
697
- set (ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER TRUE CACHE BOOL
697
+ set (ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER FALSE CACHE BOOL
698
698
"Enable the new pass manager by default." )
699
699
700
700
include (HandleLLVMOptions )
You can’t perform that action at this time.
0 commit comments