blob: 05989a0836cf56ed536c61ecbdc988190040275e [file] [log] [blame]
Daniel Sanders753e1762014-02-13 14:44:26 +00001; RUN: llc -no-integrated-as < %s
Chris Lattner61553c12007-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