Re: alias analysis (was Loop Optimizations and Gotos)

cliffc@ami.sps.mot.com (Cliff Click)
Wed, 29 Nov 1995 13:45:26 GMT

          From comp.compilers

Related articles
Re: Loop Optimizations and Gotos cliffc@ami.sps.mot.com (1995-11-22)
alias analysis (was Loop Optimizations and Gotos) bwilson@shasta.Stanford.EDU (Bob Wilson) (1995-11-28)
Re: alias analysis (was Loop Optimizations and Gotos) cliffc@ami.sps.mot.com (1995-11-29)
alias analysis (was Loop Optimizations and Gotos) dave@occl-cam.demon.co.uk (Dave Lloyd) (1995-12-09)
Re: alias analysis (was Loop Optimizations and Gotos) jfc@mit.edu (1995-12-12)
Re: alias analysis (was Loop Optimizations and Gotos) konfrbr@euax7i3c01.eua.ericsson.se (1995-12-17)
| List of all articles for this month |
Newsgroups: comp.compilers
From: cliffc@ami.sps.mot.com (Cliff Click)
Keywords: C, Fortran, optimize
Organization: none
References: 95-11-198 95-11-228
Date: Wed, 29 Nov 1995 13:45:26 GMT

Bob Wilson <bwilson@shasta.Stanford.EDU> writes:


> cliffc@ami.sps.mot.com (Cliff Click) wrote:
> > There's no general way to figure out the Fortran no-alias assertion in
> > C code (lots of IPA can get you part of the way there, but not all the
> > way). Lack of this assertion can hurt some dependence analysis, with
> > the results outlined above.
>
> For Fortran-style programs written in C, interprocedural pointer
> analysis provides very accurate information and only requires a
> small amount of extra compile time. (The situation is less clear
> for non-numeric programs with lots of recursive data structures,
> but even there it appears that pointer analysis can be made to
> work quite well.)


Ok, I'll retract:


    There's no _general_ way to figure out the Fortran no-alias
    assertion in C code, but lots of IPA can get you MOST of the
    way there, but not all the way.


The Moto compiler does some IPA alias analysis on C right now. More
is certainly coming. We don't yet use it to do loop transformations,
but it does help scheduling and value numbering.


So how about my other claim, industrial compiler writers? Is IP alias
analysis for C common? Is it then used to do loop transformations?


Cliff




--
Cliff Click Compiler Researcher & Designer
RISC Software, Motorola PowerPC Compilers
cliffc@risc.sps.mot.com (512) 891-7240
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.