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]

[autovect] [patch] Vectorizer: several small fixes.





Hi,

This patch adds Devang's fix for build_classic_dist_vector call and moves
function calls with side effects out of gcc_assert.
Also contains two minor fixes vect_analyze_data_ref_dependence.

Bootstrapped and tested on ppc-darwin.

Committed to autovect branch.

Thanks,
Ira

Changelog entry:

      *  tree-data-ref.c (compute_data_dependences_for_loop): Call
      build_classic_dist_vector with correct parameters.

      * tree-vect-analyze.c (vect_analyze_data_ref_dependence): Start
loop_depth from 0.
      Print distance 0 message with REPORT_VECTORIZED_LOOPS level.

      * tree-vect-transform.c (vect_get_vec_def_for_operand): Move call to
      vect_is_simple_use out of gcc_assert.
      (vectorizable_reduction): Likewise.

Patch:
(See attached file: patch.march10)


Attachment: patch.march10
Description: Binary data


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