llvm-project/llvm/test/MC/Mips/multi-64bit-func.ll
Fangrui Song cfc1a87878 [test] Change llc -march= to -mtriple= & llvm-mc -arch= to -triple=
Similar to 806761a7629df268c8aed49657aeccffa6bca449
2023-09-11 15:11:01 -07:00

24 lines
559 B
LLVM

; There is no real check here. If the test doesn't
; assert it passes.
; RUN: llc -mtriple=mips64el -filetype=obj -mcpu=mips64r2 -disable-mips-delay-filler < %s
; Run it again without extra nop in delay slot
; RUN: llc -mtriple=mips64el -filetype=obj -mcpu=mips64r2 < %s
define i32 @bosco1(i32 %x) nounwind readnone {
entry:
%inc = add i32 %x, 1
ret i32 %inc
}
define i32 @bosco2(i32 %x) nounwind readnone {
entry:
%inc = add i32 %x, 1
ret i32 %inc
}
define i32 @bosco3(i32 %x) nounwind readnone {
entry:
%inc = add i32 %x, 1
ret i32 %inc
}