repo.or.cz
/
llvm-core.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 patterns
[llvm-core.git]
/
test
/
CodeGen
/
X86
/
2003-08-23-DeadBlockTest.ll
blob
db2ad18d0efb473ea17b12bfe7acd7d35b70b314
1
; RUN: llc < %s -mtriple=i686--
2
3
define i32 @test() {
4
entry:
5
ret i32 7
6
Test: ; No predecessors!
7
%A = call i32 @test( ) ; <i32> [#uses=1]
8
%B = call i32 @test( ) ; <i32> [#uses=1]
9
%C = add i32 %A, %B ; <i32> [#uses=1]
10
ret i32 %C
11
}
12