This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r180925 - in /branches/google/main/gcc: ChangeL...


Author: tejohnson
Date: Fri Nov  4 04:23:08 2011
New Revision: 180925

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180925
Log:
Emit loop unrolling/peeling messages under -fopt-info. 

  * common.opt (fopt-info): Disable -fopt-info by default.
  * loop-unroll.c (report_unroll_peel): New function.
  (unroll_and_peel_loops): Call record_loop_exits for later use.
  (peel_loops_completely): Print the loop source position in dump
  info and emit note under -fopt-info.
  (decide_unroll_and_peeling): Ditto.
  (decide_peel_once_rolling): Record peel factor for use in note
  emission.
  (decide_peel_completely): Ditto.
  * cfgloop.c (get_loop_location): New function.
  * cfgloop.h (get_loop_location): Ditto.
  * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Emit note
  under -fopt-info.


Modified:
    branches/google/main/gcc/ChangeLog.google-main
    branches/google/main/gcc/cfgloop.c
    branches/google/main/gcc/cfgloop.h
    branches/google/main/gcc/common.opt
    branches/google/main/gcc/loop-unroll.c
    branches/google/main/gcc/tree-ssa-loop-ivcanon.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]