aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/ehabi-unwind.ll
blob: fd7d0e63f3b8dacb19597d07ada2b6602a314dfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; Test that the EHABI unwind instruction generator does not encounter any
; unfamiliar instructions.
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -disable-fp-elim
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -arm-enable-ehabi-descriptors

define void @_Z1fv() nounwind {
entry:
  ret void
}

define void @_Z1gv() nounwind {
entry:
  call void @_Z1fv()
  ret void
}