Fix cygwin performance loss on linpack.
authorJim Wilson <jim.wilson@linaro.org>
Fri, 20 Nov 2015 16:27:17 +0000 (16:27 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 20 Nov 2015 16:27:17 +0000 (08:27 -0800)
gcc/
* tree-vect-data-refs.c (compare_tree): Call STRIP_NOPS.

From-SVN: r230667

gcc/ChangeLog
gcc/tree-vect-data-refs.c

index 33e4f41ca3f81fad7c2de630a1de3d1e604b4c8b..e5607466d3631d0e6691b9cc4efb70b234135bd8 100644 (file)
@@ -1,3 +1,7 @@
+2015-11-20  Jim Wilson  <jim.wilson@linaro.org>
+
+       * tree-vect-data-refs.c (compare_tree): Call STRIP_NOPS.
+
 2015-11-20  Evandro Menezes  <e.menezes@samsung.com>
 
        * config/aarch64/aarch64.md (predicated): Copy attribute from
index 9ee6efe73e06460c935cc365b2840a17e392fbda..f4436b544301c5d87bd8c97e89b2f97646f5a7b1 100644 (file)
@@ -2545,6 +2545,8 @@ compare_tree (tree t1, tree t2)
   if (t2 == NULL)
     return 1;
 
+  STRIP_NOPS (t1);
+  STRIP_NOPS (t2);
 
   if (TREE_CODE (t1) != TREE_CODE (t2))
     return TREE_CODE (t1) < TREE_CODE (t2) ? -1 : 1;