Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
a9b36d5f69fcb51a47f586472fe59b6d0c6fb387
/
.
/
test
/
Transforms
/
Reassociate
/
2002-05-15-MissedTree.ll
blob: 176948a7f9b7ae03b542d5b832b47d226585eedb [
file
] [
log
] [
blame
]
; RUN: llvm-upgrade < %s | llvm-as | 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
}