1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/test/CodeGen/AArch64/arm64-trap.ll

9 lines
190 B
LLVM
Raw Normal View History

; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
define void @foo() nounwind {
; CHECK: foo
; CHECK: brk #0x1
tail call void @llvm.trap()
ret void
}
declare void @llvm.trap() nounwind