]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/AArch64/arm64-trap.ll
Vendor import of llvm release_40 branch r293443:
[FreeBSD/FreeBSD.git] / test / CodeGen / AArch64 / arm64-trap.ll
1 ; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
2 define void @foo() nounwind {
3 ; CHECK: foo
4 ; CHECK: brk #0x1
5   tail call void @llvm.trap()
6   ret void
7 }
8 declare void @llvm.trap() nounwind