2012-07-13 18:14:01 +00:00
|
|
|
; There is no real check here. If the test doesn't
|
|
|
|
; assert it passes.
|
2012-08-22 02:51:28 +00:00
|
|
|
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 -disable-mips-delay-filler < %s
|
2012-07-13 18:14:01 +00:00
|
|
|
; Run it again without extra nop in delay slot
|
2012-08-22 02:51:28 +00:00
|
|
|
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 < %s
|
2012-07-13 18:14:01 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|