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
Fix part 1 of pr4682. PICADD is a 16-bit instruction even in thumb2 mode.
[llvm/avr.git]
/
test
/
CodeGen
/
Generic
/
2004-02-08-UnwindSupport.ll
blob
10d40693d8e5684785e0cffc0bcc67da174ccfc1
1
; RUN: llvm-as < %s | llc -enable-correct-eh-support
2
3
define i32 @test() {
4
unwind
5
}
6
7
define i32 @main() {
8
%X = invoke i32 @test( )
9
to label %cont unwind label %EH ; <i32> [#uses=0]
10
11
cont: ; preds = %0
12
ret i32 1
13
14
EH: ; preds = %0
15
ret i32 0
16
}
17