]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Un-XFAIL ssa-dom-cse-2.c for most platforms
authorAlan Lawrence <alan.lawrence@arm.com>
Mon, 18 Jan 2016 12:51:36 +0000 (12:51 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Mon, 18 Jan 2016 12:51:36 +0000 (12:51 +0000)
* gcc.dg/tree-ssa/ssa-dom-cse-2.c: Remove XFAIL for powerpc(32), hppa,
aarch64, sparc, s390. Add --param sra-max-scalarization-size-Ospeed.

From-SVN: r232510

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c

index 81bd301a01ad39323e89c52c0a51853cc21076a4..ade60b7375362d8ad46df99c50ce4e4613e1acee 100644 (file)
@@ -1,3 +1,9 @@
+2016-01-18  Alan Lawrence  <alan.lawrence@arm.com>
+
+       PR target/63679
+       * gcc.dg/tree-ssa/ssa-dom-cse-2.c: Remove XFAIL for powerpc(32), hppa,
+       aarch64, sparc, s390. Add --param sra-max-scalarization-size-Ospeed.
+
 2016-01-18  Alan Lawrence  <alan.lawrence@arm.com>
 
        PR target/63679
index 9eccdc963e78d61e6a56c289325c9ff971c54f48..748448e5245989eb3fcb58a25e64482146fcdc78 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -fno-tree-fre -fno-tree-pre -fdump-tree-optimized" } */
+/* { dg-options "-O3 -fno-tree-fre -fno-tree-pre -fdump-tree-optimized --param sra-max-scalarization-size-Ospeed=32" } */
 
 int
 foo ()
@@ -17,7 +17,8 @@ foo ()
 /* After late unrolling the above loop completely DOM should be
    able to optimize this to return 28.  */
 
-/* See PR63679 and PR64159, if the target forces the initializer to memory then
-   DOM is not able to perform this optimization.  */
+/* On alpha, the vectorizer generates writes of two vector elements at once,
+   but the loop reads only one element at a time, and DOM cannot resolve these.
+   The same happens on powerpc depending on the SIMD support available.  */
 
-/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail aarch64*-*-* alpha*-*-* hppa*-*-* powerpc*-*-* sparc*-*-* s390*-*-* } } } */
+/* { dg-final { scan-tree-dump "return 28;" "optimized" { xfail alpha*-*-* powerpc64*-*-* } } } */