[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / Thumb / trap.ll
blob7d2f6f11a4d1121d470292a3f0d4c0d8d45beb36
1 ; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s
2 ; rdar://7961298
4 define void @t() nounwind {
5 entry:
6 ; CHECK-LABEL: t:
7 ; CHECK: trap
8   call void @llvm.trap()
9   unreachable
12 declare void @llvm.trap() nounwind