Skip to content

Commit

Permalink
[OpaquePointers] Migrate queue argument tests
Browse files Browse the repository at this point in the history
Remove `opencl.queue_t.ll` as it would be identical to
`spirv.Queue.ll` after migrating.

Author: Sven van Haastregt <sven.vanhaastregt@arm.com>

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
  • Loading branch information
MrSidims committed Jul 20, 2023
1 parent b9796d3 commit a3b1244
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 38 deletions.
32 changes: 0 additions & 32 deletions llvm-spirv/test/opencl.queue_t.ll

This file was deleted.

10 changes: 4 additions & 6 deletions llvm-spirv/test/spirv.Queue.ll
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
; RUN: llvm-as -opaque-pointers=0 %s -o %t.bc
; RUN: llvm-spirv %t.bc -opaque-pointers=0 -spirv-text -o %t
; RUN: llvm-as %s -o %t.bc
; RUN: llvm-spirv %t.bc -spirv-text -o %t
; RUN: FileCheck < %t %s --check-prefix=CHECK-SPIRV
; RUN: llvm-spirv %t.bc -opaque-pointers=0 -o %t.spv
; RUN: llvm-spirv %t.bc -o %t.spv
; RUN: spirv-val %t.spv

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

%spirv.Queue = type opaque

; Function Attrs: nounwind readnone
define spir_func void @enqueue_simple_block(%spirv.Queue* addrspace(3)* nocapture %q) #0 {
define spir_func void @enqueue_simple_block(target("spirv.Queue") %q) #0 {
entry:
ret void
}
Expand Down

0 comments on commit a3b1244

Please sign in to comment.