[llvm-bugs] [Bug 41366] New: `__builtin_hypot` is lowered incorrectly on Windows

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 3 16:17:24 PDT 2019


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

            Bug ID: 41366
           Summary: `__builtin_hypot` is lowered incorrectly on Windows
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: compnerd at compnerd.org
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    llvm-dev at redking.me.uk, spatel+llvm at rotateright.com

We currently lower `__builtin_hypot` to `hypot` on Windows, which does not
actually have this function in MSVCRT.  MSVCRT provides the conforming `_hypot`
function instead.  The TLI should map this appropriately based on the target.

-- 
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/20190403/ce514bde/attachment.html>


More information about the llvm-bugs mailing list