Sign in
llvm
/
llvm
/
refs/heads/release_16
/
.
/
test
/
Transforms
/
Reassociate
/
2002-05-15-MissedTree.ll
blob: fce2cdec0ee3e011bf3e6d83ac168b058d995cc4 [
file
] [
log
] [
blame
]
; RUN: llvm-as < %s | opt -reassociate -instcombine -constprop -die | llvm-dis | not grep 5
int
%test
(
int
%A
,
int
%B
)
{
%W
=
add
int
%B
,
-
5
%Y
=
add
int
%A
,
5
%Z
=
add
int
%W
,
%Y
ret
int
%Z
}