projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
61e2f15c0d0a13b66bece0120cec35223177eb51
[oota-llvm.git]
/
test
/
Transforms
/
PruneEH
/
simplenoreturntest.ll
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
}