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