This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/65946] Simple loop with if-statement not vectorized
- From: "alalaw01 at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Apr 2015 12:01:56 +0000
- Subject: [Bug middle-end/65946] Simple loop with if-statement not vectorized
- Auto-submitted: auto-generated
- References: <bug-65946-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65946
alalaw01 at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2015-04-30
Assignee|unassigned at gcc dot gnu.org |alalaw01 at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from alalaw01 at gcc dot gnu.org ---
Discussion here: https://gcc.gnu.org/ml/gcc/2015-04/msg00351.html
Suggestion is to use loop-header-copying to rotate the loop to a form that both
if-conversion and the vectorizer can handle.