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 | 038d02e74e0dcf33b0ce866c71b0d886e9577777 (patch) | |
tree | 08dea987025324b7f00a269e5921481bb1b744ff /llvm/lib/AsmParser/LLParser.cpp | |
parent | 8448acc8ba94bb2260523ab38633721a0ed8af34 (diff) | |
download | bcm5719-llvm-038d02e74e0dcf33b0ce866c71b0d886e9577777.tar.gz bcm5719-llvm-038d02e74e0dcf33b0ce866c71b0d886e9577777.zip |
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.
llvm-svn: 73361
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.cpp')
0 files changed, 0 insertions, 0 deletions