[LLVMbugs] [Bug 10319] New: Use 'leave' instruction in prologues

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jul 9 14:09:35 PDT 2011


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

           Summary: Use 'leave' instruction in prologues
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jmuizelaar at mozilla.com
                CC: llvmbugs at cs.uiuc.edu


llvm currently uses a sequence like:
000000000000003b    addq    $0x10,%rsp
000000000000003f    popq    %rbp
0000000000000040    ret

instead of the shorter:
000000000000003b    leave
000000000000003c    ret

that gcc usees.

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