[llvm-bugs] [Bug 21990] generate a vector load for a non-zero vector store of constants?

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Sep 16 06:38:23 PDT 2017


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

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

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

--- Comment #2 from Sanjay Patel <spatel+llvm at rotateright.com> ---
https://reviews.llvm.org/rL313458

So we won't replace 2 scalar constant stores with 1 vector constant load + 1
vector store (and there's a corner case test for where it would likely have
been a win), but we should get cases where we know the vector ops reduce
instruction count.

-- 
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/20170916/5f6102b1/attachment.html>


More information about the llvm-bugs mailing list