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
eliminate the "MBBLabel" MCOperand type, and just use a MCSymbol for
[llvm/avr.git]
/
test
/
Transforms
/
Inline
/
2007-12-19-InlineNoUnwind.ll
blob
08d4dc693a41ebb9e82137cef5664a32ce67a72e
1
; RUN: opt < %s -inline -S | grep nounwind
2
; RUN: opt < %s -inline -S | grep unreachable
3
4
declare i1 @extern()
5
6
define internal i32 @test() {
7
entry:
8
%n = call i1 @extern( )
9
br i1 %n, label %r, label %u
10
r:
11
ret i32 0;
12
u:
13
unwind
14
}
15
16
define i32 @caller() {
17
%X = call i32 @test( ) nounwind
18
ret i32 %X
19
}