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