log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
hg
>
CbC
>
CbC_llvm
annotate clang/test/CodeGen/vla-3.c @ 150:
1d019706d866
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
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
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
1
// RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | FileCheck %s
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
2
// CHECK: alloca {{.*}}, align 16
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
3
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
4
void adr(char *);
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
5
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
6
void vlaalign(int size)
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
7
{
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
8
char __attribute__((aligned(16))) tmp[size+32];
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
9
char tmp2[size+16];
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
10
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
11
adr(tmp);
1d019706d866
LLVM10
anatofuz
parents:
diff
changeset
12
}