ssa-dom-thread-4.c: Expect 4 threaded edges for MIPS.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 15 Jan 2012 18:31:33 +0000 (18:31 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 15 Jan 2012 18:31:33 +0000 (18:31 +0000)
gcc/testsuite/
* gcc.dg/tree-ssa/ssa-dom-thread-4.c: Expect 4 threaded edges for MIPS.

From-SVN: r183196

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-4.c

index 5d5bd3ee4659f09f3824da97d5777ba002e0ab6e..b5d982820261d686067bfc7234a45ec91a28e6b0 100644 (file)
@@ -1,3 +1,7 @@
+2012-01-15  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Expect 4 threaded edges for MIPS.
+
 2012-01-15  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * gcc.target/mips/code-readable-2.c: Allow the jump table address
index e841429f61a590224992513469b7ddcc81addd06..5cc4505d3b856fc0573fb8202b3b02643fa0ac5f 100644 (file)
@@ -58,6 +58,9 @@ bitmap_ior_and_compl (bitmap dst, const_bitmap a, const_bitmap b,
    code we missed the edge when the first conditional is false
    (b_elt is zero, which means the second conditional is always
    zero.  */
-/* { dg-final { scan-tree-dump-times "Threaded" 3 "dom1"} } */
+/* { dg-final { scan-tree-dump-times "Threaded" 3 "dom1" { target { ! mips*-*-* } } } } */
+/* MIPS defines LOGICAL_OP_NON_SHORT_CIRCUIT to 0, so we split var1 || var2
+   into two conditions, rather than use (var1 != 0) | (var2 != 0).  */
+/* { dg-final { scan-tree-dump-times "Threaded" 4 "dom1" { target mips*-*-* } } } */
 /* { dg-final { cleanup-tree-dump "dom1" } } */