xref: /llvm-project/llvm/test/CodeGen/SPIRV/linked-list.ll (revision f8a21dff70cc5d20db731b3af1858c5a2ae96d30)
1; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
2
3; TODO(#60133): Requires updates following opaque pointer migration.
4; XFAIL: *
5
6%struct.Node = type { %struct.Node.0 addrspace(1)* }
7; CHECK: %[[#]] = OpTypeOpaque "struct.Node.0"
8%struct.Node.0 = type opaque
9
10define spir_kernel void @create_linked_lists(%struct.Node addrspace(1)* nocapture %pNodes, i32 addrspace(1)* nocapture %allocation_index, i32 %list_length) {
11entry:
12  ret void
13}
14