llvm-6502/test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll
Chris Lattner 7c058276b8 new testcase for PR1308
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35784 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-09 00:45:42 +00:00

10 lines
256 B
LLVM

; 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
}