File tree Expand file tree Collapse file tree 8 files changed +10
-10
lines changed Expand file tree Collapse file tree 8 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -I %sycl_include -S -emit-llvm -fsycl-device-only %s -o - -Xclang -disable-llvm-passes | FileCheck %s
1
+ // RUN: %clangxx -I %sycl_include -S -emit-llvm -fsycl-device-only %s -o - -Xclang -disable-llvm-passes -Xclang -disable-noundef-analysis | FileCheck %s
2
2
//
3
3
// ==---- ap_fixed.cpp - SYCL FPGA arbitrary precision fixed point test -----==//
4
4
//
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- // RUN: %clangxx -I %sycl_include -S -emit-llvm -fsycl -fsycl-device-only %s -o - | FileCheck %s
10
- // RUN: %clangxx -I %sycl_include -S -emit-llvm -fsycl -fno-sycl-early-optimizations -fsycl-device-only %s -o - | FileCheck %s
9
+ // RUN: %clangxx -I %sycl_include -S -emit-llvm -fsycl -fsycl-device-only -Xclang -disable-noundef-analysis %s -o - | FileCheck %s
10
+ // RUN: %clangxx -I %sycl_include -S -emit-llvm -fsycl -fno-sycl-early-optimizations -fsycl-device-only -Xclang -disable-noundef-analysis %s -o - | FileCheck %s
11
11
12
12
#include " CL/__spirv/spirv_ops.hpp"
13
13
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl-device-only -fsycl-unnamed-lambda -S -Xclang -emit-llvm %s -o - | FileCheck %s
1
+ // RUN: %clangxx -fsycl-device-only -fsycl-unnamed-lambda -S -Xclang -emit-llvm -Xclang -disable-noundef-analysis %s -o - | FileCheck %s
2
2
#include < sycl/sycl.hpp>
3
3
4
4
const auto TestLambda = [](auto G) {
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -I %sycl_include -S -emit-llvm -fsycl-device-only %s -o - | FileCheck %s
1
+ // RUN: %clangxx -I %sycl_include -S -emit-llvm -fsycl-device-only -Xclang -disable-noundef-analysis %s -o - | FileCheck %s
2
2
3
3
#include < CL/sycl.hpp>
4
4
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -I %sycl_include -S -emit-llvm -fsycl-device-only %s -o - -Xclang -disable-llvm-passes | FileCheck %s
1
+ // RUN: %clangxx -I %sycl_include -S -emit-llvm -fsycl-device-only %s -o - -Xclang -disable-llvm-passes -Xclang -disable-noundef-analysis | FileCheck %s
2
2
3
3
#include < CL/sycl.hpp>
4
4
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-device-only -S -emit-llvm -x c++ %s -o - | FileCheck %s
1
+ // RUN: %clangxx -fsycl -fsycl-device-only -S -emit-llvm -x c++ -Xclang -disable-noundef-analysis %s -o - | FileCheck %s
2
2
3
3
// This test checks that arithmetic or compare operation on simd_view and
4
4
// scalar does not truncate scalar to the view's element type.
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl-device-only -fsycl-targets=%sycl_triple -S %s -o - | FileCheck %s
1
+ // RUN: %clangxx -fsycl-device-only -fsycl-targets=%sycl_triple -S -Xclang -disable-noundef-analysis %s -o - | FileCheck %s
2
2
3
3
// UNSUPPORTED: cuda || hip_amd
4
4
Original file line number Diff line number Diff line change 1
- // RUN: %clangxx -fsycl -fsycl-device-only -O3 -S -emit-llvm -x c++ %s -o - | FileCheck %s --check-prefix CHECK-O3
2
- // RUN: %clangxx -fsycl -fsycl-device-only -O0 -S -emit-llvm -x c++ %s -o - | FileCheck %s --check-prefix CHECK-O0
1
+ // RUN: %clangxx -fsycl -fsycl-device-only -O3 -S -emit-llvm -x c++ -Xclang -disable-noundef-analysis %s -o - | FileCheck %s --check-prefix CHECK-O3
2
+ // RUN: %clangxx -fsycl -fsycl-device-only -O0 -S -emit-llvm -x c++ -Xclang -disable-noundef-analysis %s -o - | FileCheck %s --check-prefix CHECK-O0
3
3
// Test compilation with -O3 when all methods are inlined in kernel function
4
4
// and -O0 when helper methods are preserved.
5
5
#include < CL/sycl.hpp>
You can’t perform that action at this time.
0 commit comments