projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d2bd50cf5da7cb2192b2be4851b478d9e212681b
[oota-llvm.git]
/
test
/
Transforms
/
PruneEH
/
simplenoreturntest.ll
1
; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | 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
}