Sign in
llvm
/
llvm
/
refs/heads/release_26
/
.
/
test
/
CodeGen
/
XCore
/
trap.ll
blob: b3d3bc2270e3281456d76a90ff94f2db75a4ddaa [
file
] [
log
] [
blame
]
; RUN: llvm-as < %s | llc -march=xcore > %t1.s
; RUN: grep "ecallf" %t1.s | count 1
; RUN: grep "ldc" %t1.s | count 1
define
i32
@test
()
noreturn
nounwind
{
entry
:
tail
call
void
@llvm.trap
(
)
unreachable
}
declare
void
@llvm.trap
()
nounwind