llvm-6502/test/CodeGen/Mips/cprestore.ll
Akira Hatanaka 1da1cdf504 Fix test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156697 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-12 03:25:16 +00:00

21 lines
380 B
LLVM

; DISABLE: llc -march=mipsel < %s | FileCheck %s
; RUN: false
; XFAIL: *
; 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)