repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2006-01-13-StackSave.c
blob
49df0faf76d3c0682f7b3d5d650e446e33839e15
1
// PR691
2
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
3
// CHECK: call ptr @llvm.stacksave.p0()
4
5
extern
void
external
(
int
[*]);
6
7
void
test
(
int
N
) {
8
int
i
;
9
for
(
i
=
0
;
i
<
N
; ++
i
) {
10
int
VLA
[
i
];
11
external
(
VLA
);
12
}
13
}