graphite-dependences.c (reduction_dr_1): Remove wrong assert: reduction BBs can have multiple reduction writes to memory.

2009-10-17  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (reduction_dr_1): Remove wrong
	assert: reduction BBs can have multiple reduction writes
	to memory.

From-SVN: r154606
This commit is contained in:
Sebastian Pop 2009-11-25 05:15:47 +00:00 committed by Sebastian Pop
parent 65421bcc38
commit dd61070df0
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2009-10-17 Sebastian Pop <sebastian.pop@amd.com>
* graphite-dependences.c (reduction_dr_1): Remove wrong
assert: reduction BBs can have multiple reduction writes
to memory.
2009-10-17 Sebastian Pop <sebastian.pop@amd.com>
* gfortran.dg/graphite/interchange-3.f90: New.

View File

@ -551,11 +551,6 @@ reduction_dr_1 (poly_bb_p pbb1, poly_dr_p pdr1, poly_dr_p pdr2)
int i;
poly_dr_p pdr;
/* PBB1 should be a reduction PBB. Reduction PBBs should have only
one write. */
gcc_assert (PBB_IS_REDUCTION (pbb1)
&& number_of_write_pdrs (pbb1) == 1);
for (i = 0; VEC_iterate (poly_dr_p, PBB_DRS (pbb1), i, pdr); i++)
if (PDR_TYPE (pdr) == PDR_WRITE)
break;