This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/5738] GCSE missed optimization: common condition instructions
- From: "dalej at apple dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2004 23:31:15 -0000
- Subject: [Bug rtl-optimization/5738] GCSE missed optimization: common condition instructions
- References: <20020220135601.5738.dann@godzilla.ics.uci.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dalej at apple dot com 2004-11-04 23:31 -------
It does say that, and I expect cases can be constructed where the comment is true, but it is not
completely right. When you replace 2 copies of code with 1 copy you are generally making it
smaller. Plus, there is a beneficial interaction with RTL invariant hoisting, as it exposes more
invariants when you do hoisting inside a loop.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5738