Add profiling support for IVOPTS
authorMartin Liska <mliska@suse.cz>
Mon, 30 May 2016 16:04:50 +0000 (18:04 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 30 May 2016 16:04:50 +0000 (16:04 +0000)
commit83e0b73912068e0f42204df117e5f7a2a2e349e1
tree6795d9c7bacefdf7c963d579f4481b62ee4f3400
parent69be8c912404dce760ac048066a79a4026273439
Add profiling support for IVOPTS

* tree-ssa-loop-ivopts.c (get_computation_cost_at): Scale
computed costs by frequency of BB they belong to.
(get_scaled_computation_cost_at): New function.

From-SVN: r236888
gcc/ChangeLog
gcc/tree-ssa-loop-ivopts.c