@@ -102,15 +102,15 @@ pub fn make_struct_1(a: i32) -> Struct1 {
102
102
103
103
pub struct Struct2Asc ( i16 , i64 ) ;
104
104
105
- // bit32-LABEL: void @make_struct_2_asc({{.*}} sret([16 x i8] ) {{.*}} %s,
105
+ // bit32-LABEL: void @make_struct_2_asc({{.*}} sret({{[^,]*}} ) {{.*}} %s,
106
106
// bit64-LABEL: { i64, i16 } @make_struct_2_asc(
107
107
// CHECK-SAME: i16 noundef %a, i64 noundef %b)
108
108
#[ no_mangle]
109
109
pub fn make_struct_2_asc ( a : i16 , b : i64 ) -> Struct2Asc {
110
110
// CHECK-NOT: alloca
111
111
// bit32: %[[GEP:.+]] = getelementptr inbounds i8, ptr %s, i32 8
112
- // bit32: store i16 %a, ptr %[[GEP]], align 8
113
- // bit32: store i64 %b, ptr %s, align 8
112
+ // bit32: store i16 %a, ptr %[[GEP]]
113
+ // bit32: store i64 %b, ptr %s
114
114
// bit64: %[[TEMP0:.+]] = insertvalue { i64, i16 } poison, i64 %b, 0
115
115
// bit64: %[[TEMP1:.+]] = insertvalue { i64, i16 } %[[TEMP0]], i16 %a, 1
116
116
// bit64: ret { i64, i16 } %[[TEMP1]]
@@ -120,15 +120,15 @@ pub fn make_struct_2_asc(a: i16, b: i64) -> Struct2Asc {
120
120
121
121
pub struct Struct2Desc ( i64 , i16 ) ;
122
122
123
- // bit32-LABEL: void @make_struct_2_desc({{.*}} sret([16 x i8] ) {{.*}} %s,
123
+ // bit32-LABEL: void @make_struct_2_desc({{.*}} sret({{[^,]*}} ) {{.*}} %s,
124
124
// bit64-LABEL: { i64, i16 } @make_struct_2_desc(
125
125
// CHECK-SAME: i64 noundef %a, i16 noundef %b)
126
126
#[ no_mangle]
127
127
pub fn make_struct_2_desc ( a : i64 , b : i16 ) -> Struct2Desc {
128
128
// CHECK-NOT: alloca
129
- // bit32: store i64 %a, ptr %s, align 8
129
+ // bit32: store i64 %a, ptr %s
130
130
// bit32: %[[GEP:.+]] = getelementptr inbounds i8, ptr %s, i32 8
131
- // bit32: store i16 %b, ptr %[[GEP]], align 8
131
+ // bit32: store i16 %b, ptr %[[GEP]]
132
132
// bit64: %[[TEMP0:.+]] = insertvalue { i64, i16 } poison, i64 %a, 0
133
133
// bit64: %[[TEMP1:.+]] = insertvalue { i64, i16 } %[[TEMP0]], i16 %b, 1
134
134
// bit64: ret { i64, i16 } %[[TEMP1]]
0 commit comments