Evgeniy Stepanov | 4c7eb47 | 2012-01-19 12:53:06 +0000 | [diff] [blame] | 1 | ; Test that the EHABI unwind instruction generator does not encounter any |
2 | ; unfamiliar instructions. | ||||
Renato Golin | 8cea6e8 | 2014-01-29 11:50:56 +0000 | [diff] [blame] | 3 | ; RUN: llc < %s -mtriple=thumbv7 -disable-fp-elim |
4 | ; RUN: llc < %s -mtriple=thumbv7 | ||||
Evgeniy Stepanov | 4c7eb47 | 2012-01-19 12:53:06 +0000 | [diff] [blame] | 5 | |
6 | define void @_Z1fv() nounwind { | ||||
7 | entry: | ||||
8 | ret void | ||||
9 | } | ||||
10 | |||||
11 | define void @_Z1gv() nounwind { | ||||
12 | entry: | ||||
13 | call void @_Z1fv() | ||||
14 | ret void | ||||
15 | } |