9719e3d675b46412c2928affa490ce64c772c941
[oota-llvm.git] / test / CodeGen / Generic / 2007-04-27-LargeMemObject.ll
1 ; RUN: llvm-as < %s | llc
2 ; XFAIL: sparc-sun-solaris2.*
3 ; PR1557
4
5         %struct..0anon = type { [100 x i32] }
6
7 define void @test() {
8 entry:
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