[Bug tree-optimization/37482] [4.4 Regression] definition in block 51 follows the use for SSA_NAME with -maltivec
irar at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 22 07:58:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list