diff options
author | Dan Gohman <gohman@apple.com> | 2009-06-14 22:58:51 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-06-14 22:58:51 +0000 |
commit | 27bd4cbfcc489efac9e54a015950f06b91b9a725 (patch) | |
tree | 942d9454603671d4e30dc87ac0c19fa915bebfee /include | |
parent | b433b4b76708345bb98c62514953d2624de439d2 (diff) | |
download | external_llvm-27bd4cbfcc489efac9e54a015950f06b91b9a725.zip external_llvm-27bd4cbfcc489efac9e54a015950f06b91b9a725.tar.gz external_llvm-27bd4cbfcc489efac9e54a015950f06b91b9a725.tar.bz2 |
Implement more aggressive folding of add operand lists when
they contain multiplications of constants with add operations.
This helps simplify several kinds of things; in particular it
helps simplify expressions like ((-1 * (%a + %b)) + %a) to %b,
as expressions like this often come up in loop trip count
computations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73361 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions