Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / arm-byval-align.c
blob0de6a4e8544ca7fb49371524b0f2c9d4387bacaa
1 // RUN: %clang_cc1 -triple=armv7-none-eabi < %s -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;