2014-03-29 11:18:08 +01:00
|
|
|
; RUN: llc < %s -march=arm64 | FileCheck %s
|
|
|
|
define void @foo() nounwind {
|
|
|
|
; CHECK: foo
|
2014-04-30 13:19:28 +02:00
|
|
|
; CHECK: brk #0x1
|
2014-03-29 11:18:08 +01:00
|
|
|
tail call void @llvm.trap()
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
declare void @llvm.trap() nounwind
|