llvm-for-llvmta/test/CodeGen/Mips/mips64lea.ll
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

14 lines
294 B
LLVM

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