This is the mail archive of the gcc@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]

Re: Hopelessly broken loop_father, loop_depth


On Mon, Aug 13, 2012 at 1:27 PM, Richard Guenther
<richard.guenther@gmail.com> wrote:
> I wonder why we cache loop-depth at all ... given that it is a "simple"
> dereference bb->loop_father->superloops->base.prefix.num.  For all
> the hassle to keep that cache up-to-date, that is.

The cached bb->loop_depth saves two indirect references. But if it's
hard to maintain, I'd be happy to see it go away. Just so long as
bb->loop_father is correct (to be verified by a patch for the loop
verification code).

Ciao!
Steven


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