view test/CodeGen/Mips/mips64lea.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 54457678186b
children
line wrap: on
line source

; RUN: llc -march=mips64el -mcpu=mips4 < %s | FileCheck %s
; RUN: llc -march=mips64el -mcpu=mips64 < %s | FileCheck %s

define void @foo3() nounwind {
entry:
; CHECK: daddiu ${{[0-9]+}}, $sp
  %a = alloca i32, align 4
  call void @foo1(i32* %a) nounwind
  ret void
}

declare void @foo1(i32*)