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] Removing redundant loads


On Fri, 30 May 2003 09:15:42 -0600, law@redhat.com wrote:

> For the real uses, I'm just going to have avail_expr_hash use
> iterative_hash_expr, which already does the right thing.  It seems kindof
> silly to duplicate the code.

Makes sense.

> 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.

Jason


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