blob: f2c9b7f849b6fe591963a8209961be5682617562 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s
Chris Lattner5bee46d2007-04-28 06:05:59 +00002
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