https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80457

            Bug ID: 80457
           Summary: vectorizable_condition does not update the vectorizer
                    cost model
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wschmidt at gcc dot gnu.org
  Target Milestone: ---

Discovered this oversight by accident while looking into a performance problem.
 vectorizable_condition needs to call vect_model_simple_cost when it determines
that vectorization is ok.  I'm testing a patch.

Reply via email to