llvm.org GIT mirror llvm / 9e08ee5 test / CodeGen / ARM / trap.ll
9e08ee5

Tree @9e08ee5 (Download .tar.gz)

trap.ll @9e08ee5raw · history · blame

; RUN: llc < %s -march=arm | FileCheck %s
; rdar://7961298

define void @t() nounwind {
entry:
; CHECK: t:
; CHECK: trap
  call void @llvm.trap()
  unreachable
}

declare void @llvm.trap() nounwind