view test/CodeGen/Mips/mips64lea.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +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*)