This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]