projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add support to GVN for performing sret return slot optimization. This means that...
[oota-llvm.git]
/
test
/
Transforms
/
GVN
/
basic.ll
1
; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep {%z2 =}
2
3
define i32 @main() {
4
block1:
5
%z1 = bitcast i32 0 to i32
6
br label %block2
7
block2:
8
%z2 = bitcast i32 0 to i32
9
ret i32 %z2
10
}