aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips/brdelayslot.ll
blob: b266ce61a8d16a7d4f3cb5b746abed8637f68e7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llc -march=mipsel  -enable-mips-delay-filler < %s | FileCheck %s

define void @foo1() nounwind {
entry:
; CHECK:      jalr 
; CHECK-NOT:  nop 
; CHECK:      jr 
; CHECK-NOT:  nop
; CHECK:      .end

  tail call void @foo2(i32 3) nounwind
  ret void
}

declare void @foo2(i32)