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