repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In some rare cases, the register allocator can spill registers but end up not utilizi...
[llvm/msp430.git]
/
test
/
Transforms
/
SCCP
/
2008-04-22-multiple-ret-sccp.ll
blob
99f9136ea37056df16090d30721d1911a36825b2
1
; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep {ret i32 %Z}
2
; rdar://5778210
3
4
declare {i32, i32} @bar(i32 %A)
5
6
define i32 @foo() {
7
%X = call {i32, i32} @bar(i32 17)
8
%Y = getresult {i32, i32} %X, 0
9
%Z = add i32 %Y, %Y
10
ret i32 %Z
11
}