1 // RUN: %clang_cc1 -triple s390x-linux-gnu -target-cpu z13 -emit-llvm -o - %s \
2 // RUN:     | FileCheck %s
3 
4 struct S0 {
5   long f1;
6   int f2 : 4;
7 } d;
8 
9 #pragma pack(1)
10 struct S1 {
11   struct S0 S0_member;
12 };
13 
f(struct S0 arg)14 void f(struct S0 arg) {
15   arg.f2 = 1;
16 }
17 
g()18 void g() {
19   struct S1 g;
20   // CHECK: alloca %struct.S0, align 8
21   // CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 8 {{.*}}, i8* align 1 {{.*}}, i64 16
22   f(g.S0_member);
23 }
24