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 | bd59d7b603c364da52097f171a110a19c886f7bb (patch) | |
tree | 942d9454603671d4e30dc87ac0c19fa915bebfee /lib/Transforms | |
parent | 444f49150df8a4280ccea20fc2839cd899fc7558 (diff) | |
download | external_llvm-bd59d7b603c364da52097f171a110a19c886f7bb.zip external_llvm-bd59d7b603c364da52097f171a110a19c886f7bb.tar.gz external_llvm-bd59d7b603c364da52097f171a110a19c886f7bb.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 'lib/Transforms')
0 files changed, 0 insertions, 0 deletions