[LLVMbugs] [Bug 1569] NEW: PPC hazard not detected

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jul 24 20:20:16 PDT 2007


           Summary: PPC hazard not detected
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: PowerPC
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca

There is code in the PPCHazardRecognizer to detect mtclr / bctrl hazards,
however,  this sequence is generated by an indirect call and is put into one
SUnit. Only the first member of the SUnit (mtclr) is passed to the hazard
recognizer by the DAG scheduler and so it doesn't detect the hazard.

This breaks crtbegin.o on PPC/Linux.

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list