diff options
Diffstat (limited to 'test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll')
-rw-r--r-- | test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll | 7 |
1 files changed, 7 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 0000000..3284f0a --- /dev/null +++ b/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll @@ -0,0 +1,7 @@ +; RUN: llc < %s -march=ppc64 + +define i32* @foo(i32 %n) { + %A = alloca i32, i32 %n ; <i32*> [#uses=1] + ret i32* %A +} + |