64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
15 lines
363 B
LLVM
15 lines
363 B
LLVM
; 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
|