repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
XCore
/
trap.ll
blob
ef0dfd634009767d56acd5ae8953c7278a3df288
1
; RUN: llc < %s -march=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