summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/CodeGen/PowerPC
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
commit0ff257353cef2099cb072343df97bf5235fcbbf7 (patch)
treeddb6e9d7cd4dc2845d09f94c736ee591a5fcc437 /llvm/test/Regression/CodeGen/PowerPC
parent454436dcc575d8e288a7b1c60540f9f72361184a (diff)
downloadbcm5719-llvm-0ff257353cef2099cb072343df97bf5235fcbbf7.tar.gz
bcm5719-llvm-0ff257353cef2099cb072343df97bf5235fcbbf7.zip
new testcase
llvm-svn: 31029
Diffstat (limited to 'llvm/test/Regression/CodeGen/PowerPC')
-rw-r--r--llvm/test/Regression/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll b/llvm/test/Regression/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll
new file mode 100644
index 00000000000..bb46a1bdfc7
--- /dev/null
+++ b/llvm/test/Regression/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
+}
OpenPOWER on IntegriCloud