This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: CSE optimization question
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: law at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 10 Jan 02 07:54:14 EST
- Subject: Re: CSE optimization question
Long term all the CSE path following cap should be zapped. It's horrible
code with dreadful compile-time performance characteristics. We can get
the same optimizations (in fact more optimizations) by doing value
numbering on expressions as we convert into SSA -- the cost for doing this
during the translation into SSA is unmeasurable.
I asked this before, but why isn't GCSE making that obsolete now? It isn't,
but I don't understand *why* it isn't.