tree-vectorizer.c (free_stmt_vec_info): New function.
authorVictor Kaplansky <victork@il.ibm.com>
Wed, 12 Mar 2008 06:06:00 +0000 (06:06 +0000)
committerVictor Kaplansky <victork@gcc.gnu.org>
Wed, 12 Mar 2008 06:06:00 +0000 (06:06 +0000)
commit628781031e0b4f75bb9a59a045b5ed2a4daf568b
tree3f8f1ec99cc8e6149bfb3ef986a0c63b812091e1
parentdedba682444ffb964500c483a6ab3f4267f652f5
tree-vectorizer.c (free_stmt_vec_info): New function.

2008-03-12  Victor Kaplansky  <victork@il.ibm.com>
            Ira Rosen  <irar@il.ibm.com>

        * tree-vectorizer.c (free_stmt_vec_info): New function.
        (destroy_loop_vec_info): Move code to free_stmt_vec_info().
        Call free_stmt_vec_info(). Free LOOP_VINFO_STRIDED_STORES..
        * tree-vectorizer.h (free_stmt_vec_info): Declare.
        * tree-vect-transform.c (vectorizable_conversion): Free
        vec_oprnds0 if it was allocated.
        (vect_permute_store_chain): Remove unused VECs.
        (vectorizable_store): Free VECs that are allocated in the..
        function.
        (vect_transform_strided_load, vectorizable_load): Likewise.
        (vect_remove_stores): Simplify the code.
        (vect_transform_loop): Move code to vect_remove_stores().
        Call vect_remove_stores() and free_stmt_vec_info().

Co-Authored-By: Ira Rosen <irar@il.ibm.com>
From-SVN: r133134
gcc/ChangeLog
gcc/tree-vect-transform.c
gcc/tree-vectorizer.c
gcc/tree-vectorizer.h