Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git] / llvm / test / CodeGen / SPIRV / transcoding / optional-core-features-multiple.ll
blobfe4396db64cfe40c0da7f2c252c5f4b57beada20
1 ;; OpenCL C source
2 ;; -----------------------------------------------
3 ;; double d = 1.0;
4 ;; kernel void test(read_only image2d_t img) {}
5 ;; -----------------------------------------------
7 ; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
9 @d = addrspace(1) global double 1.000000e+00, align 8
11 define spir_kernel void @test(target("spirv.Image", void, 1, 0, 0, 0, 0, 0, 0) %img) {
12 entry:
13   ret void
16 ; CHECK-SPIRV-DAG: OpCapability Float64
17 ; CHECK-SPIRV-DAG: OpCapability ImageBasic