[llvm-bugs] [Bug 45748] Bad optimization of reverse-initialization of 128-bit vector with 64-bit vectors

via llvm-bugs llvm-bugs at lists.llvm.org
Sun May 10 09:07:44 PDT 2020


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

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Sanjay Patel <spatel+llvm at rotateright.com> ---
The IR is improved with:
https://reviews.llvm.org/rG856cc60bc1ad

And the backend now produces:
movlhps %xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0]

I'm assuming that meets the goal for this bug report; reopen if that's not
correct.

-- 
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/20200510/4ab20927/attachment.html>


More information about the llvm-bugs mailing list