This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [graphite] Weekly phone call notes
On Thu, Apr 30, 2009 at 2:53 PM, Albert Cohen <Albert.Cohen@inria.fr> wrote:
> I believe the short-cut proposed by Sebastian makes sense. We never go out
> of SSA, just the hard-to-maintain-in-SSA induction variables are converted
> temporarily into single-element arrays. This of course is only a quick fix,
> and it does handle all cases. It will not complicate a future rewrite of
> this into a nice in-SSA induction variable reconstruction (an unexpected
> problem, worth investigating indeed, and maybe a future deeper research
> result is hiding).
Actually I think it might be better not to create arrays but instead
just extend DECL_GIMPLE_REG_P to types besides vector and complex
ones. This way the only pass that needs to run afterwards is
pass_update_address_taken and that automatically converts back non
renamable variables to renamed ones without worrying about running SRA
(or a special case of SRA) again.
Thanks,
Andrew Pinski