Select @llvm.trap to the special B with 1111 condition (i.e. trap) instruction.
[oota-llvm.git] / test / CodeGen / ARM / trap.ll
1 ; RUN: llc < %s -march=arm | FileCheck %s
2 ; rdar://7961298
3
4 define arm_apcscc void @t() nounwind {
5 entry:
6 ; CHECK: t:
7 ; CHECK: trap
8   call void @llvm.trap()
9   unreachable
10 }
11
12 declare void @llvm.trap() nounwind