@@ -19,7 +19,7 @@ A B::foo(A x) {
19
19
}
20
20
21
21
// CHECK-LABEL: define dso_local x86_thiscallcc %struct.A* @"?foo@B@@QAE?AUA@@U2@@Z"
22
- // CHECK: (%struct.B* %this, <{ %struct.A*, %struct.A }>* inalloca %0)
22
+ // CHECK: (%struct.B* %this, <{ %struct.A*, %struct.A }>* inalloca(<{ %struct.A*, %struct.A }>) %0)
23
23
// CHECK: getelementptr inbounds <{ %struct.A*, %struct.A }>, <{ %struct.A*, %struct.A }>* %{{.*}}, i32 0, i32 0
24
24
// CHECK: load %struct.A*, %struct.A**
25
25
// CHECK: ret %struct.A*
@@ -29,7 +29,7 @@ A B::bar(A x) {
29
29
}
30
30
31
31
// CHECK-LABEL: define dso_local %struct.A* @"?bar@B@@QAA?AUA@@U2@@Z"
32
- // CHECK: (<{ %struct.B*, %struct.A*, %struct.A }>* inalloca %0)
32
+ // CHECK: (<{ %struct.B*, %struct.A*, %struct.A }>* inalloca(<{ %struct.B*, %struct.A*, %struct.A }>) %0)
33
33
// CHECK: getelementptr inbounds <{ %struct.B*, %struct.A*, %struct.A }>, <{ %struct.B*, %struct.A*, %struct.A }>* %{{.*}}, i32 0, i32 1
34
34
// CHECK: load %struct.A*, %struct.A**
35
35
// CHECK: ret %struct.A*
@@ -39,7 +39,7 @@ A B::baz(A x) {
39
39
}
40
40
41
41
// CHECK-LABEL: define dso_local x86_stdcallcc %struct.A* @"?baz@B@@QAG?AUA@@U2@@Z"
42
- // CHECK: (<{ %struct.B*, %struct.A*, %struct.A }>* inalloca %0)
42
+ // CHECK: (<{ %struct.B*, %struct.A*, %struct.A }>* inalloca(<{ %struct.B*, %struct.A*, %struct.A }>) %0)
43
43
// CHECK: getelementptr inbounds <{ %struct.B*, %struct.A*, %struct.A }>, <{ %struct.B*, %struct.A*, %struct.A }>* %{{.*}}, i32 0, i32 1
44
44
// CHECK: load %struct.A*, %struct.A**
45
45
// CHECK: ret %struct.A*
@@ -49,7 +49,7 @@ A B::qux(A x) {
49
49
}
50
50
51
51
// CHECK-LABEL: define dso_local x86_fastcallcc void @"?qux@B@@QAI?AUA@@U2@@Z"
52
- // CHECK: (%struct.B* inreg %this, %struct.A* inreg noalias sret(%struct.A) align 4 %agg.result, <{ %struct.A }>* inalloca %0)
52
+ // CHECK: (%struct.B* inreg %this, %struct.A* inreg noalias sret(%struct.A) align 4 %agg.result, <{ %struct.A }>* inalloca(<{ %struct.A }>) %0)
53
53
// CHECK: ret void
54
54
55
55
int main () {
@@ -61,10 +61,10 @@ int main() {
61
61
}
62
62
63
63
// CHECK: call x86_thiscallcc %struct.A* @"?foo@B@@QAE?AUA@@U2@@Z"
64
- // CHECK: (%struct.B* %{{[^,]*}}, <{ %struct.A*, %struct.A }>* inalloca %{{[^,]*}})
64
+ // CHECK: (%struct.B* %{{[^,]*}}, <{ %struct.A*, %struct.A }>* inalloca(<{ %struct.A*, %struct.A }>) %{{[^,]*}})
65
65
// CHECK: call %struct.A* @"?bar@B@@QAA?AUA@@U2@@Z"
66
- // CHECK: (<{ %struct.B*, %struct.A*, %struct.A }>* inalloca %{{[^,]*}})
66
+ // CHECK: (<{ %struct.B*, %struct.A*, %struct.A }>* inalloca(<{ %struct.B*, %struct.A*, %struct.A }>) %{{[^,]*}})
67
67
// CHECK: call x86_stdcallcc %struct.A* @"?baz@B@@QAG?AUA@@U2@@Z"
68
- // CHECK: (<{ %struct.B*, %struct.A*, %struct.A }>* inalloca %{{[^,]*}})
68
+ // CHECK: (<{ %struct.B*, %struct.A*, %struct.A }>* inalloca(<{ %struct.B*, %struct.A*, %struct.A }>) %{{[^,]*}})
69
69
// CHECK: call x86_fastcallcc void @"?qux@B@@QAI?AUA@@U2@@Z"
70
- // CHECK: (%struct.B* inreg %{{[^,]*}}, %struct.A* inreg sret(%struct.A) align 4 %{{.*}}, <{ %struct.A }>* inalloca %{{[^,]*}})
70
+ // CHECK: (%struct.B* inreg %{{[^,]*}}, %struct.A* inreg sret(%struct.A) align 4 %{{.*}}, <{ %struct.A }>* inalloca(<{ %struct.A }>) %{{[^,]*}})
0 commit comments