Fangrui Song ae26f50aea [test] Change llc -march=mips* to -mtriple=mips*
Similar to 806761a7629df268c8aed49657aeccffa6bca449
2024-12-10 22:14:06 -08:00

14 lines
296 B
LLVM

; RUN: llc -mtriple=mips64el -mcpu=mips4 < %s | FileCheck %s
; RUN: llc -mtriple=mips64el -mcpu=mips64 < %s | FileCheck %s
define void @foo3() nounwind {
entry:
; CHECK: daddiu ${{[0-9]+}}, $sp
%a = alloca i32, align 4
call void @foo1(ptr %a) nounwind
ret void
}
declare void @foo1(ptr)