repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
SCCP
/
2008-04-22-multiple-ret-sccp.ll
blob
1b26ca9e194db7762e2d48f5b22f9c58946a4b9b
1
; RUN: opt < %s -sccp -S | 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
}