This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/37482] [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec



------- Comment #4 from irar at gcc dot gnu dot org  2008-09-22 07:57 -------
Subject: Bug 37482

Author: irar
Date: Mon Sep 22 07:55:39 2008
New Revision: 140544

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140544
Log:
        PR tree-optimization/37482
        * tree-vectorizer.h (struct _slp_instance): Add new field.
        (SLP_INSTANCE_FIRST_LOAD_STMT): New.
        (get_earlier_stmt): New function.
        * tree-vect-analyze.c (vect_find_first_load_in_slp_instance): New
        function.
        (vect_analyze_slp_instance): Set SLP_INSTANCE_FIRST_LOAD_STMT.
        * tree-vect-transform.c (vect_finish_stmt_generation): Remove the
        asserts that GSI points to the scalar statement being vectorized.
        Set new statement location according to GSI.
        (vect_schedule_slp_instance): Use GSI of
        SLP_INSTANCE_FIRST_LOAD_STMT when vectorizing loads.


Added:
    trunk/gcc/testsuite/gcc.dg/vect/pr37482.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-analyze.c
    trunk/gcc/tree-vect-transform.c
    trunk/gcc/tree-vectorizer.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37482


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