blob: 0a8321266eee1d4bf6932144450add815a96f18d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv32-unknown-unknown %s -o - -filetype=obj | spirv-val %}
; TODO: OpFunctionParameter should be a pointer of struct base type.
; XFAIL: *
%struct = type {
i32,
i16
}
%nested_struct = type {
%struct,
i16
}
define void @foo(ptr %ptr) {
store %nested_struct undef, ptr %ptr
ret void
}
|