repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove VISIBILITY_HIDDEN from this file.
[llvm/avr.git]
/
test
/
CodeGen
/
XCore
/
trap.ll
blob
b3d3bc2270e3281456d76a90ff94f2db75a4ddaa
1
; RUN: llvm-as < %s | llc -march=xcore > %t1.s
2
; RUN: grep "ecallf" %t1.s | count 1
3
; RUN: grep "ldc" %t1.s | count 1
4
define i32 @test() noreturn nounwind {
5
entry:
6
tail call void @llvm.trap( )
7
unreachable
8
}
9
10
declare void @llvm.trap() nounwind
11