1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC/Mips/multi-64bit-func.ll
Akira Hatanaka 0602c4e928 Add option disable-mips-delay-filler. Turn on mips' delay slot filler by
default.

Patch by Carl Norum.

llvm-svn: 162339
2012-08-22 02:51:28 +00:00

24 lines
555 B
LLVM

; There is no real check here. If the test doesn't
; assert it passes.
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 -disable-mips-delay-filler < %s
; Run it again without extra nop in delay slot
; RUN: llc -march=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
}