This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] support to flip modes in sh mode-switching
On 12/19/06, Christian BRUEL <firstname.lastname@example.org> wrote:
- as you suggested, I removed the new edge field hook to hold the mode
value attached to each edge. But I had to add a little bit of extra code
to handle the mapping edge-modes and to create edge indexes. If in the
future a new auxiliary field is added into the edge structure for other
reasons we should remember to take the opportunity to update the
Actually, there's something I realized after sending my reply to you,
something that you may want to try...
Should pre_edge_lcm touch edge->aux at all? It seems to me it should
not assume that it can use it. Perhaps you can teach pre_edge_lcm to
keep its hands off edge->aux. As far as I can tell, the only thing in
pre_edge_lcm that touches edge->aux is the call to
clear_aux_for_edges. Maybe just removing that call is enough for you
to be able to use the existing edge->axu field.