projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Testcase for PR2032.
[oota-llvm.git]
/
test
/
Transforms
/
Reassociate
/
2002-05-15-MissedTree.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate -instcombine -constprop -die | llvm-dis | not grep 5
2
3
int %test(int %A, int %B) {
4
%W = add int %B, -5
5
%Y = add int %A, 5
6
%Z = add int %W, %Y
7
ret int %Z
8
}