1; RUN: llvm-as < %s | llvm-spirv -spirv-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV 2 3; CHECK-SPIRV: Capability DeviceEnqueue 4; CHECK-SPIRV: 2 TypeQueue 5 6target datalayout = "e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64" 7target triple = "spir" 8 9%opencl.queue_t = type opaque 10 11; Function Attrs: nounwind readnone 12define spir_func void @enqueue_simple_block(%opencl.queue_t* addrspace(3)* nocapture %q) #0 { 13entry: 14 ret void 15} 16 17attributes #0 = { nounwind readnone "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-realign-stack" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } 18 19!opencl.enable.FP_CONTRACT = !{} 20!opencl.spir.version = !{!0} 21!opencl.ocl.version = !{!1} 22!opencl.used.extensions = !{!2} 23!opencl.used.optional.core.features = !{!2} 24!opencl.compiler.options = !{!2} 25 26!0 = !{i32 1, i32 2} 27!1 = !{i32 2, i32 0} 28!2 = !{} 29