repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
SCCP
/
2008-04-22-multiple-ret-sccp.ll
blob
86fb198e08cb257e32c90d947b5a5093f69d4c63
1
; RUN: opt < %s -passes=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 = extractvalue {i32, i32} %X, 0
9
%Z = add i32 %Y, %Y
10
ret i32 %Z
11
}