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