blob: 5143fb21a215581145f3327ef1f0001301292043 [file] [log] [blame]
; RUN: llc -no-integrated-as < %s
%struct..0anon = type { [100 x i32] }
define void @test() {
entry:
%currfpu = alloca %struct..0anon, align 16 ; <ptr> [#uses=2]
%mxcsr = alloca %struct..0anon, align 16 ; <ptr> [#uses=1]
call void asm sideeffect "fnstenv $0", "=*m,~{dirflag},~{fpsr},~{flags}"( ptr elementtype( %struct..0anon) %currfpu )
call void asm sideeffect "$0 $1", "=*m,*m,~{dirflag},~{fpsr},~{flags}"( ptr elementtype( %struct..0anon) %mxcsr, ptr elementtype(%struct..0anon) %currfpu )
ret void
}