https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68212

--- Comment #4 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
Author: pthaugen
Date: Fri Oct 14 17:10:18 2016
New Revision: 241170

URL: https://gcc.gnu.org/viewcvs?rev=241170&root=gcc&view=rev
Log:
        PR rtl-optimization/68212
        * cfgloopmanip.c (duplicate_loop_to_header_edge): Use preheader edge
        frequency when computing scale factor for peeled copies.
        * loop-unroll.c (unroll_loop_runtime_iterations): Fix freq/count
        values for switch/peel blocks/edges.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cfgloopmanip.c
    trunk/gcc/loop-unroll.c

Reply via email to