llvm-6502/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll
2006-12-02 04:23:10 +00:00

7 lines
118 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc64
int * %foo(uint %n) {
%A = alloca int, uint %n
ret int* %A
}