Restructure the {A,+,B}<L> * {C,+,D}<L> folding so that it folds
authorDan Gohman <gohman@apple.com>
Sun, 29 Aug 2010 15:16:58 +0000 (15:16 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 29 Aug 2010 15:16:58 +0000 (15:16 +0000)
commitd578a40853ab54f6172c2ca350626edacc45846c
tree53a4c651e82151274bc4d6ccec832427aad601c3
parentb8fc62bc58d945a4e820ee3676c17793e8770b3a
Restructure the {A,+,B}<L> * {C,+,D}<L> folding so that it folds
all applicable addrecs before recursing on getMulExpr, instead of
recursing on getMulExpr for each one.

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