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] Remove redundant calls to copy_virtual_operands


Currently the vectorizer copies virtual operands from scalar memory
operations to the corresponding vector operations (that the vectorizer
creates). This seems to be redundant, since we set memory tags for the
memory operations that we create and call update_ssa at the end of loop
vectorization. This patch removes these redundant calls to
copy_virtual_operands().

Bootstrapped and tested on ppc-linux and x86_64-linux.
O.K. for mainline?

Ira

:ADDPATCH SSA:

ChangeLog entry:

      * tree-vect-transform.c (vectorizable_store): Remove call to
      copy_virtual_operands() and call mark_symbols_for_renaming() for
      the created vector store.
      (vect_setup_realignment): Don't call copy_virtual_operands() and
      update_vuses_to_preheader().
      (vectorizable_load): Don't call copy_virtual_operands().
      (update_vuses_to_preheader): Remove.

(See attached file: copy_vops.txt)

Attachment: copy_vops.txt
Description: Text document


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