1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen/Mips/cprestore.ll
Akira Hatanaka 3d463d748a Fix test case.
llvm-svn: 153555
2012-03-28 00:25:01 +00:00

19 lines
352 B
LLVM

; RUN: llc -march=mipsel < %s | FileCheck %s
; CHECK: .set macro
; CHECK: .set at
; CHECK-NEXT: .cprestore
; CHECK: .set noat
; CHECK-NEXT: .set nomacro
%struct.S = type { [16384 x i32] }
define void @foo2() nounwind {
entry:
%s = alloca %struct.S, align 4
call void @foo1(%struct.S* byval %s)
ret void
}
declare void @foo1(%struct.S* byval)