summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/pr3288.ll
blob: b62710f31ecbde59c675dce24d5ec5a84a8e98c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
; RUN: llc < %s
; PR3288

define void @a() {
  %i = insertvalue [2 x [2 x i32]] undef, [2 x i32] undef, 1
  ret void
}
define void @b() {
  %i = insertvalue {{i32,float},{i16,double}} undef, {i16,double} undef, 1
  ret void
}
define void @c() {
  %i = insertvalue [2 x [2 x i32]] zeroinitializer, [2 x i32] zeroinitializer, 1
  ret void
}
define void @d() {
  %i = insertvalue {{i32,float},{i16,double}} zeroinitializer, {i16,double} zeroinitializer, 1
  ret void
}
define void @e() {
  %i = insertvalue [2 x [2 x i32]] undef, [2 x i32] undef, 0
  ret void
}
define void @f() {
  %i = insertvalue {{i32,float},{i16,double}} undef, {i32,float} undef, 0
  ret void
}
define void @g() {
  %i = insertvalue [2 x [2 x i32]] zeroinitializer, [2 x i32] zeroinitializer, 0
  ret void
}
define void @h() {
  %i = insertvalue {{i32,float},{i16,double}} zeroinitializer, {i32,float} zeroinitializer, 0
  ret void
}
define void @ax() {
  %i = insertvalue [2 x [2 x i32]] undef, i32 undef, 1, 1
  ret void
}
define void @bx() {
  %i = insertvalue {{i32,float},{i16,double}} undef, double undef, 1, 1
  ret void
}
define void @cx() {
  %i = insertvalue [2 x [2 x i32]] zeroinitializer, i32 zeroinitializer, 1, 1
  ret void
}
define void @dx() {
  %i = insertvalue {{i32,float},{i16,double}} zeroinitializer, double zeroinitializer, 1, 1
  ret void
}
define void @ex() {
  %i = insertvalue [2 x [2 x i32]] undef, i32 undef, 0, 1
  ret void
}
define void @fx() {
  %i = insertvalue {{i32,float},{i16,double}} undef, float undef, 0, 1
  ret void
}
define void @gx() {
  %i = insertvalue [2 x [2 x i32]] zeroinitializer, i32 zeroinitializer, 0, 1
  ret void
}
define void @hx() {
  %i = insertvalue {{i32,float},{i16,double}} zeroinitializer, float zeroinitializer, 0, 1
  ret void
}