aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll
blob: bb46a1bdfc70ceb03c57e30279c3700512097a97 (plain)
1
2
3
4
5
6
; RUN: llvm-as < %s | llc -march=ppc64

int * %foo(uint %n) {
	%A = alloca int, uint %n
	ret int* %A
}