diff options
-rw-r--r-- | test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll b/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll new file mode 100644 index 0000000000..bb46a1bdfc --- /dev/null +++ b/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llc -march=ppc64 + +int * %foo(uint %n) { + %A = alloca int, uint %n + ret int* %A +} |