brintos

brintos / llvm-project-archived public Read only

0
0
Text · 586 B · 5143fb2 Raw
14 lines · plain
1; RUN: llc -no-integrated-as < %s2 3        %struct..0anon = type { [100 x i32] }4 5define void @test() {6entry:7        %currfpu = alloca %struct..0anon, align 16              ; <ptr> [#uses=2]8        %mxcsr = alloca %struct..0anon, align 16                ; <ptr> [#uses=1]9        call void asm sideeffect "fnstenv $0", "=*m,~{dirflag},~{fpsr},~{flags}"( ptr elementtype( %struct..0anon) %currfpu )10        call void asm sideeffect "$0  $1", "=*m,*m,~{dirflag},~{fpsr},~{flags}"( ptr elementtype( %struct..0anon) %mxcsr, ptr elementtype(%struct..0anon) %currfpu )11        ret void12}13 14