[llvm-bugs] [Bug 32559] New: [X86] sqrtf called with -fmath-errno and -fno-builtin-sqrtf results in 2 calls to sqrtf

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 6 16:08:42 PDT 2017


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

            Bug ID: 32559
           Summary: [X86] sqrtf called with -fmath-errno and
                    -fno-builtin-sqrtf results in 2 calls to sqrtf
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: craig.topper at gmail.com
                CC: llvm-bugs at lists.llvm.org

This test case generates two calls to sqrtf

https://godbolt.org/g/oEcpJE



Weirder still with -fno-math-errno and -fno-builtin-sqrtf we still get two
calls as if we were trying to update errno

https://godbolt.org/g/BgLTF5

-- 
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/20170406/38ae2ac5/attachment.html>


More information about the llvm-bugs mailing list