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