[LLVMbugs] [Bug 10089] New: Lots of spills generated

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 6 11:11:13 PDT 2011


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

           Summary: Lots of spills generated
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Register Allocator
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=6699)
 --> (http://llvm.org/bugs/attachment.cgi?id=6699)
jsinterp.ii

The included testcase compiles to 23572 bytes with clang and 4940 bytes with
gcc 4.2. The clang produced code has lots of:

        movq    %rax, %rcx
                                        ## implicit-def: EAX
        movl    %eax, -92(%rbp)         ## 4-byte Spill
                                        ## implicit-def: EAX
        movl    %eax, -68(%rbp)         ## 4-byte Spill
                                        ## implicit-def: EAX
        movq    %rax, -88(%rbp)         ## 8-byte Spill
                                        ## implicit-def: EAX
        movl    %eax, -496(%rbp)        ## 4-byte Spill
                                        ## implicit-def: EAX
        movl    %eax, -492(%rbp)        ## 4-byte Spill
        movq    %rcx, -488(%rbp)        ## 8-byte Spill
                                        ## implicit-def: EAX

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