[LLVMbugs] [Bug 17742] New: SLP vectorizer does not handle calls
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Oct 30 15:51:50 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17742
Bug ID: 17742
Summary: SLP vectorizer does not handle calls
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: hfinkel at anl.gov
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 11452
--> http://llvm.org/bugs/attachment.cgi?id=11452&action=edit
IR file (derived from test/Transforms/SLPVectorizer/X86/simplebb.ll)
The SLP vectorizer currently does not handle calls. Some calls, and their
corresponding intrinsics, can be efficiently lowered (like calling fabs() or
floor(), etc.) into vector code. I've attached a test case that I believe
should vectorize with the SLP vectorizer, but does not because of this lack of
call handling.
The loop vectorizer handles these well. See getIntrinsicIDForCall in
lib/Transforms/Vectorize/LoopVectorize.cpp and its various uses for an example
of how to do this properly.
--
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/20131030/ab51fa96/attachment.html>
More information about the llvm-bugs
mailing list