File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- // COM: This test case validates the behavior of -use-experimental-spirv-backend
1+ // This test case validates the behavior of -use-experimental-spirv-backend
22
3- // COM: Test that -use-experimental-spirv-backend calls clang -cc1 with the SPIRV triple.
3+ // Test that -use-experimental-spirv-backend calls clang -cc1 with the SPIRV triple.
44// RUN: %clang -x hip %s --cuda-device-only --offload-arch=amdgcnspirv -use-experimental-spirv-backend -nogpuinc -nogpulib -### 2>&1 | FileCheck %s --check-prefix=CHECK-SPIRV-BACKEND
55// CHECK-SPIRV-BACKEND: "{{.*}}clang{{.*}}" "-cc1" "{{.*-triple=spirv64-amd-amdhsa}}"
66
7- // COM: Test that -no-use-experimental-spirv-backend calls the SPIRV translator
7+ // Test that -no-use-experimental-spirv-backend calls the SPIRV translator
88// RUN: %clang -x hip %s --cuda-device-only --offload-arch=amdgcnspirv -no-use-experimental-spirv-backend -nogpuinc -nogpulib -### 2>&1 | FileCheck %s --check-prefix=CHECK-SPIRV-TRANSLATOR
99// CHECK-SPIRV-TRANSLATOR: "{{.*llvm-spirv.*}}" "{{--spirv-max-version=[0-9]+\.[0-9]}}"
1010
11- // COM: Test that by default we use the translator
11+ // Test that by default we use the translator
1212// RUN: %clang -x hip %s --cuda-device-only --offload-arch=amdgcnspirv -nogpuinc -nogpulib -### 2>&1 | FileCheck %s --check-prefix=CHECK-SPIRV-TRANSLATOR
You can’t perform that action at this time.
0 commit comments