summaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/mips64lea.ll
blob: e866b217a59ceee3f663252943b9f8f1286daf07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; 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*)