aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Mips/multi-64bit-func.ll
blob: 83577aa1628bd39d921db1977d4c37df44d4b1c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; There is no real check here. If the test doesn't 
; assert it passes.
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 -disable-mips-delay-filler < %s 
; Run it again without extra nop in delay slot
; RUN: llc -march=mips64el -filetype=obj -mcpu=mips64r2 < %s 

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
}