[LLVMbugs] [Bug 1915] New: Speedup linscan by using register iterators

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jan 14 10:40:37 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=1915

           Summary: Speedup linscan by using register iterators
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: slow-compile
          Severity: enhancement
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org
                CC: llvmbugs at cs.uiuc.edu


Linear scan spends most of its time (on x86) in rewriteInstructionsForSpills
and rewriteInstructionForSpills.  This is because it scans all of the intervals
in the live range looking for uses of the register being spilled.  It would be
must more efficient to walk the MachineRegisterInfo::reg_iterator list instead.

-Chris


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list