xref: /aosp_15_r20/external/llvm/test/CodeGen/ARM/ehabi-unwind.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; Test that the EHABI unwind instruction generator does not encounter any
2*9880d681SAndroid Build Coastguard Worker; unfamiliar instructions.
3*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=thumbv7 -disable-fp-elim
4*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=thumbv7
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Workerdefine void @_Z1fv() nounwind {
7*9880d681SAndroid Build Coastguard Workerentry:
8*9880d681SAndroid Build Coastguard Worker  ret void
9*9880d681SAndroid Build Coastguard Worker}
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Workerdefine void @_Z1gv() nounwind {
12*9880d681SAndroid Build Coastguard Workerentry:
13*9880d681SAndroid Build Coastguard Worker  call void @_Z1fv()
14*9880d681SAndroid Build Coastguard Worker  ret void
15*9880d681SAndroid Build Coastguard Worker}
16