re PR tree-optimization/18179 (vectorizer: wrong alignment/step/initial-address compu...
authorIra Rosen <irar@il.ibm.com>
Wed, 29 Dec 2004 13:16:07 +0000 (13:16 +0000)
committerDorit Nuzman <dorit@gcc.gnu.org>
Wed, 29 Dec 2004 13:16:07 +0000 (13:16 +0000)
commit1de6a873129a16012941fb75d8c2a1bbde736690
treecf9d1470da9d3ec01f212318944d0be7811a10b6
parent6e611d9276d1c7d278be5a47c09d3cab6b34fbf8
re PR tree-optimization/18179 (vectorizer: wrong alignment/step/initial-address computed for struct accesses)

2004-12-29  Ira Rosen  <irar@il.ibm.com>

        PR tree-optimization/18179
        * tree-vectorizer.h (struct _stmt_vec_info): Add new fields:
        initial_offset, step, misalignment and base_aligned_p and macros
        to access them.
        * tree-vectorizer.c (vect_analyze_offset_expr): New function.
        (new_stmt_vec_info): Initialize the new fields of stmt_vec_info.

        (vect_create_data_ref_ptr): Fix printings.

From-SVN: r92701
gcc/ChangeLog
gcc/tree-vectorizer.c
gcc/tree-vectorizer.h