This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix PR22372





Resolve type mismatches in the vectorizer.

Bootstrapped and tested on ppc-darwin.

O.K. for mainline?

Ira

ChangeLog entry:

      PR tree-optimization/22372
      * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Get
type from data-ref
      base (instead of data-ref itself).
      (vectorizable_store): In case of type mismatch, convert the type of
lhs.
      (vectorizable_load): Likewise.

Patch:

(See attached file: pr22372.patch)

Attachment: pr22372.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]