Guard fabs to bfc convert with V6T2 flag
[oota-llvm.git] / test / CodeGen / ARM / undefined.ll
1 ; RUN: llc -mtriple armv7-eabi -o - %s | FileCheck %s
2 ; RUN: llc -mtriple thumbv6m-eabi -o - %s | FileCheck %s
3 ; RUN: llc -mtriple thumbv7-eabi -o - %s | FileCheck %s
4
5 declare void @llvm.arm.undefined(i32) nounwind
6
7 define void @undefined_trap() {
8 entry:
9   tail call void @llvm.arm.undefined(i32 254)
10   ret void
11 }
12
13 ; CHECK-LABEL: undefined_trap
14 ; CHECK: udf #254