repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
PruneEH
/
simplenoreturntest.ll
blob
61e2f15c0d0a13b66bece0120cec35223177eb51
1
; RUN: opt < %s -prune-eh -S | not grep {ret i32}
2
3
declare void @noreturn() noreturn
4
5
define i32 @caller() {
6
call void @noreturn( )
7
ret i32 17
8
}
9
10
define i32 @caller2() {
11
%T = call i32 @caller( ) ; <i32> [#uses=1]
12
ret i32 %T
13
}