blob: 9719e3d675b46412c2928affa490ce64c772c941 [file] [log] [blame]
Gabor Greif6bd7ada2007-07-17 10:25:31 +00001; RUN: llvm-as < %s | llc
2; XFAIL: sparc-sun-solaris2.*
3; PR1557
Chris Lattner5bee46d2007-04-28 06:05:59 +00004
5 %struct..0anon = type { [100 x i32] }
6
7define void @test() {
8entry:
9 %currfpu = alloca %struct..0anon, align 16 ; <%struct..0anon*> [#uses=2]
10 %mxcsr = alloca %struct..0anon, align 16 ; <%struct..0anon*> [#uses=1]
11 call void asm sideeffect "fnstenv $0", "=*m,~{dirflag},~{fpsr},~{flags}"( %struct..0anon* %currfpu )
12 call void asm sideeffect "$0 $1", "=*m,*m,~{dirflag},~{fpsr},~{flags}"( %struct..0anon* %mxcsr, %struct..0anon* %currfpu )
13 ret void
14}
15