diff options
author | Richard Biener <rguenther@suse.de> | 2018-02-27 15:25:33 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2018-02-27 15:25:33 +0000 |
commit | b1ddb654aba3859e025565c0af35d1a704c8e5d0 (patch) | |
tree | cf62b5231022071ef9708e731b1392bba45cd82d /gcc/print-tree.c | |
parent | c16d3e3c875cb00ff8cffbdf1aa58ab0932e767d (diff) | |
download | gcc-b1ddb654aba3859e025565c0af35d1a704c8e5d0.zip gcc-b1ddb654aba3859e025565c0af35d1a704c8e5d0.tar.gz gcc-b1ddb654aba3859e025565c0af35d1a704c8e5d0.tar.bz2 |
re PR tree-optimization/84512 (Missed optimization: should be precalculated in compile-time)
2018-02-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/84512
* tree-vect-loop.c (vect_compute_single_scalar_iteration_cost):
Do not use the estimate returned from record_stmt_cost for
the scalar iteration cost but sum properly using add_stmt_cost.
* gcc.dg/tree-ssa/pr84512.c: New testcase.
From-SVN: r258036
Diffstat (limited to 'gcc/print-tree.c')
0 files changed, 0 insertions, 0 deletions