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] must-alias analysis


In message <jmr84skdui.fsf@desire.geoffk.org>, Geoff Keating writes:
 >law@redhat.com writes:
 >
 >> In message <1058187784.4973.106.camel@frodo.toronto.redhat.com>, Diego Novi
 >llo 
 >> writes:
 >>  >     4. The must-alias pass will then scan the program looking for
 >>  >        variables whose address is not needed anymore.  Those that match
 >>  >        are removed from alias lists and are renamed into SSA as regular
 >>  >        non-addressable variables.  This exposes the variables to all
 >>  >        the usual optimizations.
 >> Cool.  Do we make sure and clear TREE_ADDRESSABLE on these variables?
 >> 
 >> I _think_ that's the only missing step to get you to a point where you
 >> never have to worry about put_var_into_stack and fixup_var_refs!   ie,
 >> for a given automatic variable, we know before expanding into RTL whether
 >> or not the variable is going to need a stack slot or not.
 >
 >Hey, does this mean we can finally start ignoring 'register' at -O1
 >and higher except for syntax checking?
I thought we'd been ignoring it for years...

Jeff



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