Make the {A,+,B}<L> + {C,+,D}<L> --> Other + {A+C,+,B+D}<L>
authorDan Gohman <gohman@apple.com>
Fri, 27 Aug 2010 20:45:56 +0000 (20:45 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 27 Aug 2010 20:45:56 +0000 (20:45 +0000)
commit32527156b3f33466af15a43d3a1695fd9ee2d315
treedd324d1dee20aac7749103d9e1c2b82f5bd8e7ec
parentd07ad667914015551bbfd156465219daee729616
Make the {A,+,B}<L> + {C,+,D}<L>  -->  Other + {A+C,+,B+D}<L>
transformation collect all the addrecs with the same loop
add combine them at once rather than starting everything over
at the first chance.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112290 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp