[llvm-bugs] [Bug 48760] Suboptimal cmov generation

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 3 05:31:35 PDT 2021


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

Simon Pilgrim <llvm-dev at redking.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
 Fixed By Commit(s)|                            |59fa435ea66629b4c45d9e6b62f
                   |                            |a6cc1cdf5d5aa

--- Comment #7 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
Fixed in rG59fa435ea66629b4c45d9e6b62fa6cc1cdf5d5aa

a:
        xorl    %eax, %eax
        cmpl    $4, %edi
        cmovael %edi, %eax
        retq
b:
        xorl    %eax, %eax
        cmpl    $4, %edi
        cmovael %edi, %eax
        retq

-- 
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/20210703/7e22c272/attachment.html>


More information about the llvm-bugs mailing list