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] Copy propagation [patch]


In message <1046482781 dot 1199 dot 22 dot camel at ghostwheel dot ges dot redhat dot com>, Eric Christoph
er writes:
 >
 >>  >Well, one of the advantages that a hashed ssa gives you is the ability
 >>  >to get GVN for free, but your point still stands. :)
 >> Note the stuff isn't really hashed SSA that you find in the SGI
 >> compiler or under a different name in Morgan's book (yes, if you look
 >> closely they're both basically the same thing).
 >
 >Yah. I had. 
 >
 >> The stuff I'm talking about does value-numbering, constant and copy prop
 >> on the dominator tree while rewriting the function into SSA.  The cool thin
 >g
 >> is the cost is basically a hash table lookup and a little bookkeeping in th
 >e
 >> hash table as we leave blocks.
 >> 
 >
 >Hrm? Pointer to article?
Morgan touches ever-so-briefly on concepts similar to hashed ssa during
the introduction as part of building for formal temporary table during
building of the flow graph.

The dominator opts I've referred to are in a section called "dominator
based optimization" :-)

Jeff


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