llvm-project/llvm/test/CodeGen/Mips/cprestore.ll

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
380 B
LLVM
Raw Normal View History

2012-05-12 11:25:16 +08:00
; DISABLE: llc -march=mipsel < %s | FileCheck %s
; RUN: false
; XFAIL: *
; CHECK: .set macro
2012-03-28 08:25:01 +08:00
; CHECK: .set at
; CHECK-NEXT: .cprestore
2012-03-28 08:25:01 +08:00
; 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)