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


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.
Ah.  That's precisely what I was looking for.  That simplifies things.

Thanks,
jeff


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