Sign in
llvm
/
llvm
/
d5697a92c2eb244f7cba4102228f146fd8e9c1dc
/
.
/
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