annotate clang/test/CodeGen/vla-3.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | FileCheck %s
anatofuz
parents:
diff changeset
2 // CHECK: alloca {{.*}}, align 16
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 void adr(char *);
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 void vlaalign(int size)
anatofuz
parents:
diff changeset
7 {
anatofuz
parents:
diff changeset
8 char __attribute__((aligned(16))) tmp[size+32];
anatofuz
parents:
diff changeset
9 char tmp2[size+16];
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 adr(tmp);
anatofuz
parents:
diff changeset
12 }