Commit 54cf8879 by Sebastian Pop Committed by Sebastian Pop

Fix testsuite.

2010-02-03  Sebastian Pop  <sebastian.pop@amd.com>

	* testsuite/gcc.dg/graphite/interchange-mvt.c: Un-XFAILed.
	* testsuite/gcc.dg/graphite/scop-0.c: Fix spaces.
	* testsuite/gfortran.dg/graphite/block-1.f90: Rewrite expected output.
	* testsuite/gfortran.dg/graphite/block-2.f: Same.
	* testsuite/gfortran.dg/graphite/block-3.f90: Same.
	* testsuite/gfortran.dg/graphite/block-4.f90: Same.
	* testsuite/gfortran.dg/graphite/interchange-1.f: Un-XFAILed.
	* testsuite/gfortran.dg/graphite/interchange-3.f90: Un-XFAILed.

From-SVN: r156550
parent b5eb099f
2010-02-03 Sebastian Pop <sebastian.pop@amd.com> 2010-02-03 Sebastian Pop <sebastian.pop@amd.com>
* testsuite/gcc.dg/graphite/interchange-mvt.c: Un-XFAILed.
* testsuite/gcc.dg/graphite/scop-0.c: Fix spaces.
* testsuite/gfortran.dg/graphite/block-1.f90: Rewrite expected output.
* testsuite/gfortran.dg/graphite/block-2.f: Same.
* testsuite/gfortran.dg/graphite/block-3.f90: Same.
* testsuite/gfortran.dg/graphite/block-4.f90: Same.
* testsuite/gfortran.dg/graphite/interchange-1.f: Un-XFAILed.
* testsuite/gfortran.dg/graphite/interchange-3.f90: Un-XFAILed.
2010-02-03 Sebastian Pop <sebastian.pop@amd.com>
* graphite-dependences.c (new_poly_ddr): Initialize PDDR_KIND and * graphite-dependences.c (new_poly_ddr): Initialize PDDR_KIND and
PDDR_ORIGINAL_SCATTERING_P. PDDR_ORIGINAL_SCATTERING_P.
(pddr_is_empty): Rewritten. (pddr_is_empty): Rewritten.
......
...@@ -43,6 +43,5 @@ main (void) ...@@ -43,6 +43,5 @@ main (void)
return res != 204007516; return res != 204007516;
} }
/* { dg-final { scan-tree-dump-times "will be loop blocked" 0 "graphite" } } */ /* { dg-final { scan-tree-dump-times "will be loop blocked" 0 "graphite" } } */
/* { dg-final { cleanup-tree-dump "graphite" } } */ /* { dg-final { cleanup-tree-dump "graphite" } } */
...@@ -52,6 +52,6 @@ main (void) ...@@ -52,6 +52,6 @@ main (void)
return res != 199900000; return res != 199900000;
} }
/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } } */
/* { dg-final { cleanup-tree-dump "graphite" } } */ /* { dg-final { cleanup-tree-dump "graphite" } } */
...@@ -17,6 +17,6 @@ int toto() ...@@ -17,6 +17,6 @@ int toto()
/* End scop 1. */ /* End scop 1. */
} }
/* { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite"} } */ /* { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite"} } */
/* { dg-final { cleanup-tree-dump "graphite" } } */ /* { dg-final { cleanup-tree-dump "graphite" } } */
...@@ -3,10 +3,11 @@ subroutine matrix_multiply(a,b,c,n) ...@@ -3,10 +3,11 @@ subroutine matrix_multiply(a,b,c,n)
real(8), dimension(n,n) :: a,b,c real(8), dimension(n,n) :: a,b,c
! The following code is disabled for the moment. ! The following code is disabled for the moment.
! c=0.d0 c=0.d0
end subroutine matrix_multiply end subroutine matrix_multiply
! { dg-final { scan-tree-dump-times "Loop blocked" 2 "graphite" { xfail *-*-* } } } ! { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite" } }
! { dg-final { cleanup-tree-dump "graphite" } } ! { dg-final { scan-tree-dump-times "will be loop blocked" 1 "graphite" { xfail *-*-* } } }
! { dg-final { cleanup-tree-dump "graphite" } }
...@@ -16,5 +16,6 @@ ...@@ -16,5 +16,6 @@
RETURN RETURN
END END
! { dg-final { scan-tree-dump-times "Loop blocked" 3 "graphite" { xfail { "*-*-*" } } } } ! { dg-final { scan-tree-dump-times "number of SCoPs: 2" 1 "graphite" } }
! { dg-final { cleanup-tree-dump "graphite" } } ! { dg-final { scan-tree-dump-times "will be loop blocked" 2 "graphite" { xfail *-*-* } } }
! { dg-final { cleanup-tree-dump "graphite" } }
...@@ -12,6 +12,7 @@ enddo ...@@ -12,6 +12,7 @@ enddo
end subroutine matrix_multiply end subroutine matrix_multiply
! { dg-final { scan-tree-dump-times "Loop blocked" 2 "graphite" { xfail *-*-* } } } ! { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite" { xfail *-*-* } } }
! { dg-final { cleanup-tree-dump "graphite" } } ! { dg-final { scan-tree-dump-times "will be loop blocked" 1 "graphite" { xfail *-*-* } } }
! { dg-final { cleanup-tree-dump "graphite" } }
...@@ -15,6 +15,7 @@ enddo ...@@ -15,6 +15,7 @@ enddo
end subroutine matrix_multiply end subroutine matrix_multiply
! { dg-final { scan-tree-dump-times "Loop blocked" 2 "graphite" { xfail *-*-* } } } ! { dg-final { scan-tree-dump-times "number of SCoPs: 1" 1 "graphite" { xfail *-*-* } } }
! { dg-final { cleanup-tree-dump "graphite" } } ! { dg-final { scan-tree-dump-times "will be loop blocked" 1 "graphite" { xfail *-*-* } } }
! { dg-final { cleanup-tree-dump "graphite" } }
...@@ -41,5 +41,5 @@ ...@@ -41,5 +41,5 @@
! known to be 4 in the inner two loops. See interchange-2.f for the ! known to be 4 in the inner two loops. See interchange-2.f for the
! kernel from bwaves. ! kernel from bwaves.
! { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } } ! { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } }
! { dg-final { cleanup-tree-dump "graphite" } } ! { dg-final { cleanup-tree-dump "graphite" } }
...@@ -24,5 +24,5 @@ Program FOO ...@@ -24,5 +24,5 @@ Program FOO
end Program FOO end Program FOO
! { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } } ! { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" } }
! { dg-final { cleanup-tree-dump "graphite" } } ! { dg-final { cleanup-tree-dump "graphite" } }
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