This is the mail archive of the gcc-patches@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: [patch] Predictive commoning, updated


On 5/9/07, Dorit Nuzman <DORIT@il.ibm.com> wrote:
Hi Zdenek,

First of all: Wow.

Second, about:
>    However, this second analysis delivers somewhat different results (it
>    only analyses the behavior of the memory reference in the innermost
>    loop, not any deeper loop nest);

this is something I just discovered in the context of outer-loop
vectorization, and that surprized me too. I thought the intention is that
find_data_references_in_loop(loop) would compute the DRs relative to the
loop in question, rather than always relative to the immediately containing
loop.

No. It was always relative to the immediately containing loop, because it was originally written to handle nested loops only. The only reason the other analysis worked is because the only user was the vectorizer.


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