• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5declare void @llvm.arm.undefined(i32) nounwind
6
7define void @undefined_trap() {
8entry:
9  tail call void @llvm.arm.undefined(i32 254)
10  ret void
11}
12
13; CHECK-LABEL: undefined_trap
14; CHECK: udf #254
15