Skip to content

Commit b447263

Browse files
authored
[OpaquePointers] Migrate queue argument tests (KhronosGroup#2075)
Remove `opencl.queue_t.ll` as it would be identical to `spirv.Queue.ll` after migrating.
1 parent 10b1354 commit b447263

File tree

2 files changed

+4
-38
lines changed

2 files changed

+4
-38
lines changed

test/opencl.queue_t.ll

-32
This file was deleted.

test/spirv.Queue.ll

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
; RUN: llvm-as -opaque-pointers=0 %s -o %t.bc
2-
; RUN: llvm-spirv %t.bc -opaque-pointers=0 -spirv-text -o %t
1+
; RUN: llvm-as %s -o %t.bc
2+
; RUN: llvm-spirv %t.bc -spirv-text -o %t
33
; RUN: FileCheck < %t %s --check-prefix=CHECK-SPIRV
4-
; RUN: llvm-spirv %t.bc -opaque-pointers=0 -o %t.spv
4+
; RUN: llvm-spirv %t.bc -o %t.spv
55
; RUN: spirv-val %t.spv
66

77
; CHECK-SPIRV: Capability DeviceEnqueue
@@ -10,10 +10,8 @@
1010
target 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"
1111
target triple = "spir"
1212

13-
%spirv.Queue = type opaque
14-
1513
; Function Attrs: nounwind readnone
16-
define spir_func void @enqueue_simple_block(%spirv.Queue* addrspace(3)* nocapture %q) #0 {
14+
define spir_func void @enqueue_simple_block(target("spirv.Queue") %q) #0 {
1715
entry:
1816
ret void
1917
}

0 commit comments

Comments
 (0)