brintos

brintos / llvm-project-archived public Read only

0
0
Text · 616 B · d4fc5c3 Raw
13 lines · plain
1; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV2; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64-unknown-unknown %s -o - -filetype=obj | spirv-val %}3 4; CHECK-SPIRV: OpDecorate %[[#ALIGNMENT:]] Alignment 165; CHECK-SPIRV: %[[#ALIGNMENT]] = OpFunctionParameter %[[#]]6 7%struct._ZTS6Struct.Struct = type { %struct._ZTS11floatStruct.floatStruct, %struct._ZTS11floatStruct.floatStruct }8%struct._ZTS11floatStruct.floatStruct = type { float, float, float, float }9 10define spir_func void @_ZN3FooC2Ev(%struct._ZTS6Struct.Struct addrspace(4)* align 16 %0) {11  ret void12}13