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: Re[2]: [GSoC: DDG export][RFC] Current status


Hello,

> An important missing piece is correction of exported information for
> loop unrolling.  As far as I can tell, for loop unrolled by factor N we
> need to clone MEM_ORIG_EXPRs and datarefs for newly-created MEMs, create
> no-dependence DDRs for those pairs, for which original DDR was
> no-dependence, and for DDRs with recorded distance vectors we will be
> able to recompute new distances from old distance(D) and N (but only if
> N % D == 0 || D % N == 0).  Is that right, Zdenek?

yes, that looks correct to me.

>Where should I start to implement this?

In loop-unroll.c, look for apply_opt_in_copies; that is used to
post-process the unrolled loop body.

Zdenek


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