This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18880] DSE is not doing its job for global variables
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2004 20:09:27 -0000
- Subject: [Bug tree-optimization/18880] DSE is not doing its job for global variables
- References: <20041208022054.18880.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-08 20:09 -------
(In reply to comment #5)
> Subject: Re: DSE is not doing its job for
> global variables
> > but I should note that I found this while looking into a benchmark.
> Were you looking at the final output, or just the output from the SSA
> optimizers? As I mentioned, we have a DSE that works on the RTL level
> which ought to have a reasonable chance of catching this.
Yes the RTL level one catches it. I just filed it because it would help out on
memory usage sometimes.
> If you get a chance to play with the patch and benchmark it, that would
> be great.
I will try after I after I benchmark my tree combine pass which looks like it could
improve even the compile time speed as it removes some ifs which can be proved
to be always true.
> ps. What benchmark?
dhrystone 2.0 but it might be a modified version as it was designed to run on DOS
and I modified it back to run on UNIX.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18880