1 ; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s
3 ; CHECK-DAG: %[[#I32:]] = OpTypeInt 32
4 ; CHECK-DAG: %[[#I16:]] = OpTypeInt 16
5 ; CHECK-DAG: %[[#STRUCT:]] = OpTypeStruct %[[#I32]] %[[#I16]]
6 ; CHECK-DAG: %[[#UNDEF:]] = OpUndef %[[#STRUCT]]
8 ; CHECK: %[[#]] = OpFunction %[[#]] None %[[#]]
9 ; CHECK: %[[#]] = OpLabel
10 ; CHECK: OpStore %[[#]] %[[#UNDEF]] Aligned 4
12 ; CHECK: OpFunctionEnd
14 define void @foo(ptr %ptr) {
15 store { i32, i16 } undef, ptr %ptr