Jack Carter | 657c7cb | 2012-07-13 18:14:01 +0000 | [diff] [blame] | 1 | ; 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 | |
| 7 | define i32 @bosco1(i32 %x) nounwind readnone { |
| 8 | entry: |
| 9 | %inc = add i32 %x, 1 |
| 10 | ret i32 %inc |
| 11 | } |
| 12 | |
| 13 | define i32 @bosco2(i32 %x) nounwind readnone { |
| 14 | entry: |
| 15 | %inc = add i32 %x, 1 |
| 16 | ret i32 %inc |
| 17 | } |
| 18 | |
| 19 | define i32 @bosco3(i32 %x) nounwind readnone { |
| 20 | entry: |
| 21 | %inc = add i32 %x, 1 |
| 22 | ret i32 %inc |
| 23 | } |