This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Scalar Replacement
- From: Canqun Yang <canqun at nudt dot edu dot cn>
- To: fortran at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Wed, 22 Sep 2004 23:03:22 +0800 (HKT)
- Subject: Scalar Replacement
- Reply-to: Canqun Yang <canqun at nudt dot edu dot cn>
Hi, all
I'm going to implement scalar replacement optimization
on trees of GCC backend. Does anyone plan to do the
same work? If so, please let me know.
By now, the problem I encountered is the
representation for array references of Fortran 95. As
Gnu Fortran 95 frontend converts multi-dimensions
arrays to one-dimension array references, it is hard
to recover the number of dimensions and the index of
each dimension for array references. This makes the
dependence relation analysis failed to perform on tree
loops.
Is there any way to recover those information without
modifying the Fortran 95 frontend?
Or, if not. How to modify the frontend to satisify
this?
I'm looking forward for suggestions.
Canqun Yang
Creative Compiler Research Group.
National University of Defense Technology, P. R. China.