summaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-09 00:45:42 +0000
committerChris Lattner <sabre@nondot.org>2007-04-09 00:45:42 +0000
commit7c058276b8238525082327622190ad18c1d127fe (patch)
treeee81ffdacaf1ed74124bd4efecff92db03fa0e9a /test/CodeGen
parent4b993b19f9837fdf2db55a3e042e8adab3d63c26 (diff)
new testcase for PR1308
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35784 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll b/test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll
new file mode 100644
index 00000000000..cd7559d6295
--- /dev/null
+++ b/test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | llc
+; PR1308
+
+define i32 @stuff(i32, ...) {
+ %foo = alloca i8*
+ %bar = alloca i32*
+ %A = call i32 asm sideeffect "inline asm $0 $2 $3 $4", "=r,0,i,m,m"( i32 0, i32 1, i8** %foo, i32** %bar )
+ ret i32 %A
+}