new testcase
authorChris Lattner <sabre@nondot.org>
Wed, 18 Oct 2006 01:21:35 +0000 (01:21 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 18 Oct 2006 01:21:35 +0000 (01:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31029 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll [new file with mode: 0644]

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 (file)
index 0000000..bb46a1b
--- /dev/null
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=ppc64
+
+int * %foo(uint %n) {
+       %A = alloca int, uint %n
+       ret int* %A
+}