AIX regression due to DFA scheduler merge

law@redhat.com law@redhat.com
Mon Jun 3 08:30:00 GMT 2002


 In message <200206030220.WAA28130@makai.watson.ibm.com>, David Edelsohn 
writes:
 > 	Yes, I was looking at forward dependencies as well.  Without the
 > libcall patch, the relevant dependencies look like the following.  insn
 > 2954 is the troublesome instruction.
[ ... ]

Look at this code in compute_forward_dependencies:

      for (link = LOG_LINKS (insn); link; link = XEXP (link, 1))
        {
          rtx x = group_leader (XEXP (link, 0));
          rtx new_link;

          if (x != XEXP (link, 0))
            continue;

INSN is the current insn and we're going to take its backwards dataflow
dependencies and turn them into forward dataflow dependencies.   So let's
assume INSN has a dependency on something in a libcall block.  We call
group_leader and get the tail of the libcall block, then we "continue"
and thus effectively drop the dependency.

Jeff






More information about the Gcc-patches mailing list