You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
363 B
15 lines
363 B
7 months ago
|
; RUN: llc -mtriple armv7-eabi -o - %s | FileCheck %s
|
||
|
; RUN: llc -mtriple thumbv6m-eabi -o - %s | FileCheck %s
|
||
|
; RUN: llc -mtriple thumbv7-eabi -o - %s | FileCheck %s
|
||
|
|
||
|
declare void @llvm.arm.undefined(i32) nounwind
|
||
|
|
||
|
define void @undefined_trap() {
|
||
|
entry:
|
||
|
tail call void @llvm.arm.undefined(i32 254)
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
; CHECK-LABEL: undefined_trap
|
||
|
; CHECK: udf #254
|