projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Target/X86] Don't use callee-saved registers in a Win64 tail call on non-Windows.
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
2006-10-17-ppc64-alloca.ll
diff --git
a/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll
b/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll
index bb46a1bdfc70ceb03c57e30279c3700512097a97..3284f0a624f67c0dacae8df3954a975f9edcdc28 100644
(file)
--- a/
test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll
+++ b/
test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll
@@
-1,6
+1,7
@@
-; RUN: ll
vm-as < %s | llc
-march=ppc64
+; RUN: ll
c < %s
-march=ppc64
-
int * %foo(uint
%n) {
- %A = alloca int, uint %n
-
ret int
* %A
+
define i32* @foo(i32
%n) {
+ %A = alloca i32, i32 %n ; <i32*> [#uses=1]
+
ret i32
* %A
}
+