Commit 2f0fa28e by Ira Rosen Committed by Ira Rosen

re PR tree-optimization/39595 (ICE in vectorizable_store at tree-vect-transform.c:5361)


	PR tree-optimization/39595
	* tree-vect-slp.c (vect_build_slp_tree): Check that the size of 
	interleaved loads group is not greater than the SLP group size.

From-SVN: r145445
parent bbf7ce11
2009-04-02 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/39595
* tree-vect-slp.c (vect_build_slp_tree): Check that the size of
interleaved loads group is not greater than the SLP group size.
2009-04-02 Rafael Avila de Espindola <espindola@google.com>
* builtins.c (is_builtin_name): New.
......
2009-04-02 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/39595
* gfortran.dg/vect/O3-pr39595.f: New test.
2009-04-02 Dodji Seketeli <dodji@redhat.com>
PR c++/26693
......
! { dg-do compile }
subroutine foo(a,c,i,m)
real a(4,*),b(3,64),c(3,200),d(64)
integer*8 i,j,k,l,m
do j=1,m,64
do k=1,m-j+1
d(k)=a(4,j-1+k)
do l=1,3
b(l,k)=c(l,i)+a(l,j-1+k)
end do
end do
call bar(b,d,i)
end do
end
! { dg-final { cleanup-tree-dump "vect" } }
......@@ -466,6 +466,22 @@ vect_build_slp_tree (loop_vec_info loop_vinfo, slp_tree *node,
return false;
}
/* Check that the size of interleaved loads group is not
greater than the SLP group size. */
if (DR_GROUP_SIZE (vinfo_for_stmt (stmt))
> ncopies * group_size)
{
if (vect_print_dump_info (REPORT_SLP))
{
fprintf (vect_dump, "Build SLP failed: the number of "
"interleaved loads is greater than"
" the SLP group size ");
print_gimple_stmt (vect_dump, stmt, 0, TDF_SLIM);
}
return false;
}
first_load = DR_GROUP_FIRST_DR (vinfo_for_stmt (stmt));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment