blob: fd7d0e63f3b8dacb19597d07ada2b6602a314dfe [file] [log] [blame]
Evgeniy Stepanov73dd8bb2012-01-19 12:53:06 +00001; Test that the EHABI unwind instruction generator does not encounter any
2; unfamiliar instructions.
Chandler Carruth3eb4be02012-01-24 00:30:17 +00003; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -disable-fp-elim
4; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi
Evgeniy Stepanov53fa1ae2012-01-24 13:05:33 +00005; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -arm-enable-ehabi-descriptors
Evgeniy Stepanov73dd8bb2012-01-19 12:53:06 +00006
7define void @_Z1fv() nounwind {
8entry:
9 ret void
10}
11
12define void @_Z1gv() nounwind {
13entry:
14 call void @_Z1fv()
15 ret void
16}