blob: 51595677b70de0712bcf6a1d6cc770d1a539e3a6 [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.
Evgeniy Stepanov79084802012-01-23 07:57:39 +00003; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=full -disable-fp-elim
4; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=full
5; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=unwind
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}