Sign in
swiftshader
/
SwiftShader.git
/
8f20452b0219dece19a9875bd11c04437a7e3cd4
/
.
/
third_party
/
LLVM
/
test
/
CodeGen
/
XCore
/
trap.ll
blob: 45f886d332aa4a7cbc67de6968cc6ab339a71def [
file
] [
log
] [
blame
]
; RUN: llc < %s -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