[llvm-bugs] [Bug 27140] New: [X86] Redundant adjacent stack adjustments after call frame optimization

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 30 13:33:29 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27140

            Bug ID: 27140
           Summary: [X86] Redundant adjacent stack adjustments after call
                    frame optimization
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 26299
    Classification: Unclassified

For example

  void f(int, int);
  void g() {
    f(1, 2);
  }

Compiled with Clang 3.8 for 32-bit x86 Linux at -Os:

g:
        subl    $12, %esp
        subl    $8, %esp
        pushl   $2
        pushl   $1
        calll   f
        addl    $16, %esp
        addl    $12, %esp
        retl


I'm working on a patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160330/815587e3/attachment.html>


More information about the llvm-bugs mailing list