view test/CodeGen/Mips/cprestore.ll @ 117:facf19d07cd9

check EHStack on EmitCall (CbC goto)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 24 Aug 2016 20:10:41 +0900
parents 95c75e76d11b
children
line wrap: on
line source

; 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)