Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2007-11-07-CopyAggregateAlign.c
blob70e504ea7f6655bfa2d748c0f8cecfecdd130cbf
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2 struct A { char s, t, u, v; short a; };
3 // CHECK: %a = alloca %struct.A, align 2
4 // CHECK: %b = alloca %struct.A, align 2
5 // CHECK: call void @llvm.memcpy.p0.p0.{{.*}} align 2 {{.*}} align 2 {{.*}}, i1 false)
7 void q(void) { struct A a, b; a = b; }