☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
llvm
/
test
/
CodeGen
/
XCore
/
trap.ll
☽
☼
llvm/test/CodeGen/XCore/trap.ll
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
; RUN: llc < %s -mtriple=xcore | FileCheck %s
2
define i32 @test() noreturn nounwind {
3
entry:
4
; CHECK-LABEL: test:
5
; CHECK: ldc
6
; CHECK: ecallf
7
tail call void @llvm.trap( )
8
unreachable
9
}
10
11
declare void @llvm.trap() nounwind
12