summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify
diff options
context:
space:
mode:
authorMax Kazantsev <max.kazantsev@azul.com>2018-11-01 06:18:27 +0000
committerMax Kazantsev <max.kazantsev@azul.com>2018-11-01 06:18:27 +0000
commite0a2613aeaae93bf75ccc6c616fec3c45147a3df (patch)
tree0e12925d5c07b0216e8be574049a4b67706fc725 /llvm/test/Transforms/IndVarSimplify
parent59b78bcba2c7c20fbf5b4dcd14ea7a23c196a289 (diff)
downloadbcm5719-llvm-e0a2613aeaae93bf75ccc6c616fec3c45147a3df.tar.gz
bcm5719-llvm-e0a2613aeaae93bf75ccc6c616fec3c45147a3df.zip
[SCEV] Avoid redundant computations when doing AddRec merge
When we calculate a product of 2 AddRecs, we end up making quite massive computations to deduce the operands of resulting AddRec. This process can be optimized by computing all args of intermediate sum and then calling `getAddExpr` once rather than calling `getAddExpr` with intermediate result every time a new argument is computed. Differential Revision: https://reviews.llvm.org/D53189 Reviewed By: rtereshin llvm-svn: 345813
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud