loop invariant computation for pointer assignment

"sumesh" <sumesh.uk@gmail.com>
16 Apr 2005 21:33:59 -0400

          From comp.compilers

Related articles
loop invariant computation for pointer assignment sumesh.uk@gmail.com (sumesh) (2005-04-16)
| List of all articles for this month |
From: "sumesh" <sumesh.uk@gmail.com>
Newsgroups: comp.compilers
Date: 16 Apr 2005 21:33:59 -0400
Organization: http://groups.google.com
Keywords: optimize, question
Posted-Date: 16 Apr 2005 21:33:59 EDT

Hi all,
      I understand aliasing inhibits most of the classical optimizations
like PRE coomon subexpression elimination, LICM etc. So can anyone
tell me, what is the typical approach in most compilers. Are classical
optimizations disabled for all pointer variables. Does at least a
statement like p = &a get hoisted out of the loop ?


thanks
Sumesh


Post a followup to this message

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