Sign in
llvm
/
llvm
/
b172b0f36f0158f1ee4adc6003c28b6fa8b1e4a7
/
.
/
test
/
CodeGen
/
XCore
/
trap.ll
blob: ef0dfd634009767d56acd5ae8953c7278a3df288 [
file
] [
log
] [
blame
]
; RUN: llc < %s -march=xcore | FileCheck %s
define
i32
@test
()
noreturn
nounwind
{
entry
:
; CHECK-LABEL: test:
; CHECK: ldc
; CHECK: ecallf
tail
call
void
@llvm.trap
(
)
unreachable
}
declare
void
@llvm.trap
()
nounwind