This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Speedup alias analysis [patch]
- From: Chris Lattner <sabre at nondot dot org>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: Andrew Macleod <amacleod at redhat dot com>,gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 24 Jun 2003 18:21:46 -0500 (CDT)
- Subject: Re: [tree-ssa] Speedup alias analysis [patch]
Diego Novillo wrote:
> ADDR_EXPR is a funny operator. If you expose it in the IL you may run
> into aliasing problems and the optimizers will likely mess things up.
...
> If we were to expose it into the IL we would have to teach the
> optimizers to treat it with care. I'm not sure I want that. This topic
> comes up every now and then. We still haven't found a more gracious way
> of dealing with ADDR_EXPRs, unfortunately.
LLVM does not have an "address-of" operator in the language, and handles
all of the issues you brought up gracefully. If you'd like to describe
how we handle these issues, I would be glad to...
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/