mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
9 lines
181 B
LLVM
9 lines
181 B
LLVM
|
; RUN: llc < %s -march=arm64 | FileCheck %s
|
||
|
define void @foo() nounwind {
|
||
|
; CHECK: foo
|
||
|
; CHECK: brk #1
|
||
|
tail call void @llvm.trap()
|
||
|
ret void
|
||
|
}
|
||
|
declare void @llvm.trap() nounwind
|