aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-18 01:21:35 +0000
committerChris Lattner <sabre@nondot.org>2006-10-18 01:21:35 +0000
commit9935dd919882bec89f185d49655eba9db644e49e (patch)
treeba143d687ccfa35036a1749087f89e8d0885d198
parent10da9575740d9515c70a171a7c40405302d62f4a (diff)
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31029 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll6
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
+}