Evgeniy Stepanov | 73dd8bb | 2012-01-19 12:53:06 +0000 | [diff] [blame] | 1 | ; Test that the EHABI unwind instruction generator does not encounter any |
| 2 | ; unfamiliar instructions. |
Evgeniy Stepanov | 7908480 | 2012-01-23 07:57:39 +0000 | [diff] [blame] | 3 | ; 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 Stepanov | 73dd8bb | 2012-01-19 12:53:06 +0000 | [diff] [blame] | 6 | |
| 7 | define void @_Z1fv() nounwind { |
| 8 | entry: |
| 9 | ret void |
| 10 | } |
| 11 | |
| 12 | define void @_Z1gv() nounwind { |
| 13 | entry: |
| 14 | call void @_Z1fv() |
| 15 | ret void |
| 16 | } |