[llvm-bugs] [Bug 32501] New: arm-none-eabi-clang unnecessary set -mdisable-fp-elim

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 3 06:16:51 PDT 2017


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

            Bug ID: 32501
           Summary: arm-none-eabi-clang unnecessary set -mdisable-fp-elim
           Product: clang
           Version: trunk
          Hardware: Other
                OS: Solaris
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: christian.bruel at st.com
                CC: llvm-bugs at lists.llvm.org

compiling the snippet int bar(void) { foo(); return 0; }

with arm-none-eabi-clang -O2

Unnecessary instructions are created to emit an empty frame

.setfp r11,sp
mov r11, sp

-- 
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/20170403/600680ae/attachment.html>


More information about the llvm-bugs mailing list