2012-01-19 20:53:06 +08:00
|
|
|
; Test that the EHABI unwind instruction generator does not encounter any
|
|
|
|
; unfamiliar instructions.
|
2012-01-23 15:57:39 +08:00
|
|
|
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=full -disable-fp-elim
|
|
|
|
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=full
|
|
|
|
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=unwind
|
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
|
|
|
|
}
|