[llvm-bugs] [Bug 19758] Missed optimization opportunity in 3-way unsigned integer comparison case

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jun 9 05:40:54 PDT 2019


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

David Bolvansky <david.bolvansky at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david.bolvansky at gmail.com
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from David Bolvansky <david.bolvansky at gmail.com> ---
Fixed since Clang 4.0

mycmpu:
        xor     ecx, ecx
        cmp     edi, esi
        seta    cl
        mov     eax, -1
        cmovae  eax, ecx
        ret

-- 
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/20190609/1df20ca2/attachment.html>


More information about the llvm-bugs mailing list