This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/55001] New: Handle VEC_COND_EXPR in tree-vect-generic.c
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 20 Oct 2012 18:38:31 +0000
- Subject: [Bug middle-end/55001] New: Handle VEC_COND_EXPR in tree-vect-generic.c
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55001
Bug #: 55001
Summary: Handle VEC_COND_EXPR in tree-vect-generic.c
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: glisse@gcc.gnu.org
Created attachment 28497
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28497
Old patch
Hello,
the code in tree-vect-generic.c to handle vector operations not provided by the
target doesn't know VEC_COND_EXPR. That didn't matter when the vectorizer was
the only producer, but front-ends are going to produce them as well any day
now.
Attaching the patch I was using when experimenting, but IIRC it wasn't in a
state for submission, and its assumption that the first argument can't be an
SSA_NAME or a constant is now wrong.