[llvm-bugs] [Bug 31879] vectorize repeated scalar ops that don't get put back into a vector
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Mar 29 11:14:45 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=31879
Sanjay Patel <spatel+llvm at rotateright.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #4 from Sanjay Patel <spatel+llvm at rotateright.com> ---
Thanks! Looks fixed - testing with r298997:
$ ./opt -slp-vectorizer 31879.ll -S
; ModuleID = '31879.ll'
source_filename = "31879.ll"
define float @f(<2 x float> %x) {
%1 = fmul <2 x float> %x, %x
%2 = extractelement <2 x float> %1, i32 0
%3 = extractelement <2 x float> %1, i32 1
%add = fadd float %2, %3
ret float %add
}
--
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/20170329/f002fa3b/attachment.html>
More information about the llvm-bugs
mailing list