1 ; RUN: llc -mattr=+unimplemented-simd128 -filetype=obj %s -o - | obj2yaml | FileCheck %s
3 target triple = "wasm32-unknown-unknown"
9 declare <16 x i8> @v16i8()
10 declare <8 x i16> @v8i16()
11 declare <4 x i32> @v4i32()
12 declare <2 x i64> @v2i64()
13 declare <4 x float> @v4f32()
14 declare <2 x double> @v2f64()
15 declare { i32, i32, i32 } @structret()
19 %tmp1 = call i32 @i32()
20 %tmp2 = call i64 @i64()
21 %tmp3 = call float @f32()
22 %tmp4 = call double @f64()
23 %tmp5 = call <16 x i8> @v16i8()
24 %tmp6 = call <8 x i16> @v8i16()
25 %tmp7 = call <4 x i32> @v4i32()
26 %tmp8 = call <2 x i64> @v2i64()
27 %tmp9 = call <4 x float> @v4f32()
28 %tmp10 = call <2 x double> @v2f64()
29 %tmp11 = call {i32, i32, i32} @structret()
33 define void @vararg(i32, i32, ...) {
37 ; CHECK-LABEL: - Type: TYPE
38 ; CHECK-NEXT: Signatures:
39 ; CHECK-NEXT: - Index: 0
40 ; CHECK-NEXT: ParamTypes:
41 ; CHECK-NEXT: ReturnTypes: []
42 ; CHECK-NEXT: - Index: 1
43 ; CHECK-NEXT: ParamTypes:
44 ; CHECK-NEXT: ReturnTypes:
46 ; CHECK-NEXT: - Index: 2
47 ; CHECK-NEXT: ParamTypes:
48 ; CHECK-NEXT: ReturnTypes:
50 ; CHECK-NEXT: - Index: 3
51 ; CHECK-NEXT: ParamTypes:
52 ; CHECK-NEXT: ReturnTypes:
54 ; CHECK-NEXT: - Index: 4
55 ; CHECK-NEXT: ParamTypes:
56 ; CHECK-NEXT: ReturnTypes:
58 ; CHECK-NEXT: - Index: 5
59 ; CHECK-NEXT: ParamTypes:
60 ; CHECK-NEXT: ReturnTypes:
62 ; CHECK-NEXT: - Index: 6
63 ; CHECK-NEXT: ParamTypes:
65 ; CHECK-NEXT: ReturnTypes: []
66 ; CHECK-NEXT: - Index: 7
67 ; CHECK-NEXT: ParamTypes:
71 ; CHECK-NEXT: ReturnTypes: []
72 ; should be no additional types
73 ; CHECK-NOT: ReturnTypes