llvm-for-llvmta/test/CodeGen/ARM/ehabi-unwind.ll

16 lines
313 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; Test that the EHABI unwind instruction generator does not encounter any
; unfamiliar instructions.
; RUN: llc < %s -mtriple=thumbv7 -frame-pointer=all
; RUN: llc < %s -mtriple=thumbv7
define void @_Z1fv() nounwind {
entry:
ret void
}
define void @_Z1gv() nounwind {
entry:
call void @_Z1fv()
ret void
}