[llvm-bugs] [Bug 48983] New: [Sparc] Failure to ever optimize out function prologue

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jan 31 23:20:11 PST 2021


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

            Bug ID: 48983
           Summary: [Sparc] Failure to ever optimize out function prologue
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: Sparc
          Assignee: unassignedbugs at nondot.org
          Reporter: gabravier at gmail.com
                CC: llvm-bugs at lists.llvm.org

void f(){}

With -O3, GCC outputs this:

f():
  jmp %o7+8
  nop

LLVM outputs this:

f():
  save %sp, -128, %sp
  ret
  restore

-- 
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/20210201/d3721500/attachment-0001.html>


More information about the llvm-bugs mailing list