llvm/test/CodeGen/SPIRV/linked-list.ll
raw| 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 { ptr addrspace(1) } |
| 7 | ; CHECK: %[[#]] = OpTypeOpaque "struct.Node.0" |
| 8 | %struct.Node.0 = type opaque |
| 9 | |
| 10 | define spir_kernel void @create_linked_lists(ptr addrspace(1) nocapture %pNodes, ptr addrspace(1) nocapture %allocation_index, i32 %list_length) { |
| 11 | entry: |
| 12 | ret void |
| 13 | } |