xref: /aosp_15_r20/external/llvm/test/CodeGen/Generic/2007-04-27-LargeMemObject.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc -no-integrated-as < %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker        %struct..0anon = type { [100 x i32] }
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Workerdefine void @test() {
6*9880d681SAndroid Build Coastguard Workerentry:
7*9880d681SAndroid Build Coastguard Worker        %currfpu = alloca %struct..0anon, align 16              ; <%struct..0anon*> [#uses=2]
8*9880d681SAndroid Build Coastguard Worker        %mxcsr = alloca %struct..0anon, align 16                ; <%struct..0anon*> [#uses=1]
9*9880d681SAndroid Build Coastguard Worker        call void asm sideeffect "fnstenv $0", "=*m,~{dirflag},~{fpsr},~{flags}"( %struct..0anon* %currfpu )
10*9880d681SAndroid Build Coastguard Worker        call void asm sideeffect "$0  $1", "=*m,*m,~{dirflag},~{fpsr},~{flags}"( %struct..0anon* %mxcsr, %struct..0anon* %currfpu )
11*9880d681SAndroid Build Coastguard Worker        ret void
12*9880d681SAndroid Build Coastguard Worker}
13*9880d681SAndroid Build Coastguard Worker
14