From 9935dd919882bec89f185d49655eba9db644e49e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 18 Oct 2006 01:21:35 +0000 Subject: [PATCH] new testcase 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 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll 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 00000000000..bb46a1bdfc7 --- /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 +}