This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Removing redundant loads
- From: Jason Merrill <jason at redhat dot com>
- To: law at redhat dot com
- Cc: Diego Novillo <dnovillo at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 10 Jun 2003 18:00:36 -0400
- Subject: Re: [tree-ssa] Removing redundant loads
- References: <200306102127.h5ALRW7G006529@speedy.slc.redhat.com>
On Tue, 10 Jun 2003 15:27:32 -0600, law@redhat.com wrote:
> In message <wvlof1k30qa.fsf@prospero.boston.redhat.com>, Jason Merrill writes:
> >> Yes, avail_expr_eq has the same issue, but it's a little more "interesting"
> >> in that we call back to simple_cst_equal which doesn't handle commutative
> >> expressions well.
> >
> >I use operand_equal_p in gimple_tree_eq; it handles commutativity just
> >fine.
> This is probably going to make the most sense. Note however I just stumbled
> upon another missing call to recalculate_side_effects.
Well, don't keep me in suspense. :)
Jason