blob: 83577aa1628bd39d921db1977d4c37df44d4b1c8 [file] [log] [blame]
Jack Carter2e3358a2012-07-13 18:14:01 +00001; There is no real check here. If the test doesn't
2; assert it passes.
Akira Hatanaka9d957842012-08-22 02:51:28 +00003; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 -disable-mips-delay-filler < %s
Jack Carter2e3358a2012-07-13 18:14:01 +00004; Run it again without extra nop in delay slot
Akira Hatanaka9d957842012-08-22 02:51:28 +00005; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 < %s
Jack Carter2e3358a2012-07-13 18:14:01 +00006
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}