diff options
Diffstat (limited to 'test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll')
-rw-r--r-- | test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll | 11 |
1 files changed, 11 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 0000000..339f0f7 --- /dev/null +++ b/test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll @@ -0,0 +1,11 @@ +; RUN: llc < %s +; XFAIL: sparc-sun-solaris2 +; PR1308 +; PR1557 + +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 +} |