Skip to content

Commit b08d4ce

Browse files
Disable sycl-libspirv for amdgcn-amd-amdhsa target in clang/test/Driver/sycl-amdgcn-sqrt.cpp
1 parent 099e794 commit b08d4ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/Driver/sycl-amdgcn-sqrt.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// REQUIRES: !system-windows
33

44
// RUN: %clang -### \
5-
// RUN: -fsycl -fsycl-targets=amdgcn-amd-amdhsa \
5+
// RUN: -fsycl -fsycl-targets=amdgcn-amd-amdhsa -fno-sycl-libspirv \
66
// RUN: -Xsycl-target-backend --offload-arch=gfx900 \
77
// RUN: -fsycl-fp32-prec-sqrt \
88
// RUN: --rocm-path=%S/Inputs/rocm \
@@ -12,7 +12,7 @@
1212
// CHECK-CORRECT: "-mlink-builtin-bitcode" "{{.*}}/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc"
1313

1414
// RUN: %clang -### \
15-
// RUN: -fsycl -fsycl-targets=amdgcn-amd-amdhsa \
15+
// RUN: -fsycl -fsycl-targets=amdgcn-amd-amdhsa -fno-sycl-libspirv \
1616
// RUN: -Xsycl-target-backend --offload-arch=gfx900 \
1717
// RUN: --rocm-path=%S/Inputs/rocm \
1818
// RUN: %s \
@@ -21,7 +21,7 @@
2121
// CHECK-APPROX: "-mlink-builtin-bitcode" "{{.*}}/amdgcn/bitcode/oclc_correctly_rounded_sqrt_off.bc"
2222

2323
// RUN: %clang -### \
24-
// RUN: -fsycl -fsycl-targets=amdgcn-amd-amdhsa \
24+
// RUN: -fsycl -fsycl-targets=amdgcn-amd-amdhsa -fno-sycl-libspirv \
2525
// RUN: -Xsycl-target-backend --offload-arch=gfx900 \
2626
// RUN: -fsycl-fp32-prec-sqrt -fno-hip-fp32-correctly-rounded-divide-sqrt \
2727
// RUN: --rocm-path=%S/Inputs/rocm \

0 commit comments

Comments
 (0)