@@ -102,15 +102,15 @@ pub fn make_struct_1(a: i32) -> Struct1 {
102102
103103pub struct Struct2Asc ( i16 , i64 ) ;
104104
105- // bit32-LABEL: void @make_struct_2_asc({{.*}} sret([16 x i8] ) {{.*}} %s,
105+ // bit32-LABEL: void @make_struct_2_asc({{.*}} sret({{[^,]*}} ) {{.*}} %s,
106106// bit64-LABEL: { i64, i16 } @make_struct_2_asc(
107107// CHECK-SAME: i16 noundef %a, i64 noundef %b)
108108#[ no_mangle]
109109pub fn make_struct_2_asc ( a : i16 , b : i64 ) -> Struct2Asc {
110110 // CHECK-NOT: alloca
111111 // 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
114114 // bit64: %[[TEMP0:.+]] = insertvalue { i64, i16 } poison, i64 %b, 0
115115 // bit64: %[[TEMP1:.+]] = insertvalue { i64, i16 } %[[TEMP0]], i16 %a, 1
116116 // bit64: ret { i64, i16 } %[[TEMP1]]
@@ -120,15 +120,15 @@ pub fn make_struct_2_asc(a: i16, b: i64) -> Struct2Asc {
120120
121121pub struct Struct2Desc ( i64 , i16 ) ;
122122
123- // bit32-LABEL: void @make_struct_2_desc({{.*}} sret([16 x i8] ) {{.*}} %s,
123+ // bit32-LABEL: void @make_struct_2_desc({{.*}} sret({{[^,]*}} ) {{.*}} %s,
124124// bit64-LABEL: { i64, i16 } @make_struct_2_desc(
125125// CHECK-SAME: i64 noundef %a, i16 noundef %b)
126126#[ no_mangle]
127127pub fn make_struct_2_desc ( a : i64 , b : i16 ) -> Struct2Desc {
128128 // CHECK-NOT: alloca
129- // bit32: store i64 %a, ptr %s, align 8
129+ // bit32: store i64 %a, ptr %s
130130 // 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]]
132132 // bit64: %[[TEMP0:.+]] = insertvalue { i64, i16 } poison, i64 %a, 0
133133 // bit64: %[[TEMP1:.+]] = insertvalue { i64, i16 } %[[TEMP0]], i16 %b, 1
134134 // bit64: ret { i64, i16 } %[[TEMP1]]
0 commit comments