]> git.ipfire.org Git - thirdparty/gcc.git/commit
jump.c (invert_jump): Always invert REG_BR_PROB.
authorRichard Henderson <rth@cygnus.com>
Thu, 27 Apr 2000 05:58:05 +0000 (22:58 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 27 Apr 2000 05:58:05 +0000 (22:58 -0700)
commit604617ba2a22e682ba2813a7782607c3b93ca7c2
tree0935d72565c8f62d3c8af62f67c83e7ecadf6c31
parent6777db6d4ae38b136bc0a937afb61e95f5468a6a
jump.c (invert_jump): Always invert REG_BR_PROB.

        * jump.c (invert_jump): Always invert REG_BR_PROB.  Do it correctly.

        * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
        * flow.c (calculate_loop_depth): Remove.
        * output.h (calculate_loop_depth): Don't declare.
        * toplev.c (rest_of_compilation): Expand calculate_loop_depth
        inline; run estimate_probability at the same time.

From-SVN: r33464
gcc/ChangeLog
gcc/bb-reorder.c
gcc/flow.c
gcc/jump.c
gcc/output.h
gcc/toplev.c