[patch] vectorizer: switch to use standard_iv_increment_position

Dorit Naishlos DORIT@il.ibm.com
Mon Jan 31 15:46:00 GMT 2005





The tree-vectorizer.c part for
http://gcc.gnu.org/ml/gcc-patches/2005-01/msg02128.html.

Bootstrapped and tested on powerpc-darwin.

ok for mainline?

thanks,
dorit

Changelog:

      * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Call
      standard_iv_increment_position. Remove call to bsi_next
      (no need to bump the iterator anymore).
      (vect_create_index_for_vector_ref): Call
      standard_iv_increment_position. Remove second function argument.
      (vect_finish_stmt_generation): Remove call to bsi_next
      (no need to bump the iterator anymore).
      (vect_create_data_ref_ptr): Remove second argument (bsi) in call
      to vect_create_index_for_vector_ref.

Patch:

(See attached file: increment3.patch)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: increment3.patch
Type: application/octet-stream
Size: 4692 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050131/ea1fd740/attachment.obj>


More information about the Gcc-patches mailing list