[llvm-bugs] [Bug 25725] Size-inefficient lowering of zero-memset

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 17 06:51:45 PDT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Fixed By Commit(s)|                            |ff6b074674f0
         Resolution|---                         |FIXED
                 CC|                            |david.bolvansky at gmail.com
             Status|NEW                         |RESOLVED

--- Comment #1 from David Bolvansky <david.bolvansky at gmail.com> ---
Fixed in LLVM 12.

f:                                      # @f
        mov     eax, dword ptr [esp + 4]
        xorps   xmm0, xmm0
        movups  xmmword ptr [eax + 48], xmm0
        movups  xmmword ptr [eax + 32], xmm0
        movups  xmmword ptr [eax + 16], xmm0
        movups  xmmword ptr [eax], xmm0
        ret

Testcase added in https://reviews.llvm.org/rGff6b074674f0.

-- 
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/20210917/886addf0/attachment.html>


More information about the llvm-bugs mailing list