repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs in register stack pass.
[llvm/zpu.git]
/
test
/
CodeGen
/
X86
/
2003-08-23-DeadBlockTest.ll
blob
5c40eeaa1eade43e19604bc5433a2b2a20cd23bf
1
; RUN: llc < %s -march=x86
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