[LLVMbugs] [Bug 9709] New: greedy regalloc - avoidable spilling (removed with LICM)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 13 11:37:07 PDT 2011


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

           Summary: greedy regalloc - avoidable spilling (removed with
                    LICM)
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Register Allocator
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


(with unmodified StandardPasses.h)

pes boot2$ clang -Os -c printf.c && size printf.o

   text    data     bss     dec     hex filename
    518       0      10     528     210 printf.o

(with StandardPasses.h with addded PM->add(createLICMPass()); to the end of
createStandardModulePasses())


pes boot2$ clang -Os -c printf.c && size printf.o

   text    data     bss     dec     hex filename
    536       0      10     546     222 printf.o

note that 18 bytes difference caused by avoided spilling with LICM added to
standardpasses. I am not able to reproduce it in using opt/llc

-- 
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