Skip to content

Commit a3b1244

Browse files
committed
[OpaquePointers] Migrate queue argument tests
Remove `opencl.queue_t.ll` as it would be identical to `spirv.Queue.ll` after migrating. Author: Sven van Haastregt <[email protected]> Signed-off-by: Sidorov, Dmitry <[email protected]>
1 parent b9796d3 commit a3b1244

File tree

2 files changed

+4
-38
lines changed

2 files changed

+4
-38
lines changed

llvm-spirv/test/opencl.queue_t.ll

Lines changed: 0 additions & 32 deletions
This file was deleted.

llvm-spirv/test/spirv.Queue.ll

Lines changed: 4 additions & 6 deletions
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)