[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / arm-byval-align.c
blobc1b697a784ec94308b9797f17a0e54e49cb11902
1 // RUN: %clang_cc1 -triple=armv7-none-eabi < %s -emit-llvm | FileCheck %s
3 struct foo {
4 long long a;
5 char b;
6 int c:16;
7 int d[16];
8 };
10 // CHECK: ptr noundef byval(%struct.foo) align 8 %z
11 long long bar(int a, int b, int c, int d, int e,
12 struct foo z) {
13 return z.a;