2 ;; -----------------------------------------------
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) {
16 ; CHECK-SPIRV-DAG: OpCapability Float64
17 ; CHECK-SPIRV-DAG: OpCapability ImageBasic