llvm.org GIT mirror llvm / d0848a6 test / CodeGen / ARM / ehabi-unwind.ll
d0848a6

Tree @d0848a6 (Download .tar.gz)

ehabi-unwind.ll @d0848a6

73dd8bb
 
7908480
 
 
73dd8bb
 
 
 
 
 
 
 
 
 
 
; Test that the EHABI unwind instruction generator does not encounter any
; unfamiliar instructions.
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=full -disable-fp-elim
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=full
; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=unwind

define void @_Z1fv() nounwind {
entry:
  ret void
}

define void @_Z1gv() nounwind {
entry:
  call void @_Z1fv()
  ret void
}