2012-01-19 20:53:06 +08:00
|
|
|
; Test that the EHABI unwind instruction generator does not encounter any
|
|
|
|
; unfamiliar instructions.
|
2012-01-24 08:30:17 +08:00
|
|
|
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -disable-fp-elim
|
|
|
|
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi
|
2012-01-24 21:05:33 +08:00
|
|
|
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -arm-enable-ehabi-descriptors
|
2012-01-19 20:53:06 +08:00
|
|
|
|
|
|
|
define void @_Z1fv() nounwind {
|
|
|
|
entry:
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
define void @_Z1gv() nounwind {
|
|
|
|
entry:
|
|
|
|
call void @_Z1fv()
|
|
|
|
ret void
|
|
|
|
}
|