llvm-6502/test/CodeGen/Mips/mips64lea.ll
Akira Hatanaka 5085681d9e Test case for r147232.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147233 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-24 03:05:43 +00:00

13 lines
235 B
LLVM

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