blob: 6e0d784e07f64cfbb581aa55decc3b66528a3adf [file] [log] [blame]
Jack Carter657c7cb2012-07-13 18:14:01 +00001; There is no real check here. If the test doesn't
2; assert it passes.
3; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 < %s
4; Run it again without extra nop in delay slot
5; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 -enable-mips-delay-filler < %s
6
7define i32 @bosco1(i32 %x) nounwind readnone {
8entry:
9 %inc = add i32 %x, 1
10 ret i32 %inc
11}
12
13define i32 @bosco2(i32 %x) nounwind readnone {
14entry:
15 %inc = add i32 %x, 1
16 ret i32 %inc
17}
18
19define i32 @bosco3(i32 %x) nounwind readnone {
20entry:
21 %inc = add i32 %x, 1
22 ret i32 %inc
23}