summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-14 22:58:51 +0000
committerDan Gohman <gohman@apple.com>2009-06-14 22:58:51 +0000
commit038d02e74e0dcf33b0ce866c71b0d886e9577777 (patch)
tree08dea987025324b7f00a269e5921481bb1b744ff /llvm/lib/AsmParser/LLParser.cpp
parent8448acc8ba94bb2260523ab38633721a0ed8af34 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud