aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/trap.ll
blob: 763dff30569f711291b177e30c8e09dc7331de78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc < %s -march=arm | FileCheck %s
; rdar://7961298

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

declare void @llvm.trap() nounwind