repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation tests. NFC
[llvm-complete.git]
/
test
/
Transforms
/
PruneEH
/
simplenoreturntest.ll
blob
ec5d100d751388ecaa31375fd11c6fd4f52d5628
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
}