Add profiling support for IVOPTS

Programming / Compilers / GCC - marxin [138bc75d-0d04-0410-961f-82ee72b054a4] - 30 May 2016 11:04 UTC

- 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.

6f3c9ee Add profiling support for IVOPTS
gcc/ChangeLog | 6 +++++
gcc/tree-ssa-loop-ivopts.c | 62 ++++++++++++++++++++++++++++++++------------
2 files changed, 52 insertions(+), 16 deletions(-)

Upstream: gcc.gnu.org


  • Share