[Webkit-unassigned] [Bug 242220] New: Remove the workaround for llvm.38289?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 30 17:07:35 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=242220

            Bug ID: 242220
           Summary: Remove the workaround for llvm.38289?
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zhonghao at sjtu.edu.cn

I find a workaround for llvm38289:
https://github.com/WebKit/WebKit/blob/156d59fe06826ce27650093d1abfd566d9b667d4/Source/WTF/wtf/Int128.cpp
// Workaround for clang bug: https://bugs.llvm.org/show_bug.cgi?id=38289
// Casting from long double to uint64_t is miscompiled and drops bits.
// It is more work, so only use when we need the workaround.
static UInt128Impl MakeUInt128FromFloat(long double v) {...



The compiler bug is marked as fixed:https://bugs.llvm.org/show_bug.cgi?id=38289

Shall the workarounds be removed?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220701/8ad40f0e/attachment.htm>


More information about the webkit-unassigned mailing list