Fix cygwin performance loss on linpack.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Nov 2015 16:27:17 +0000 (16:27 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Nov 2015 16:27:17 +0000 (16:27 +0000)
gcc/
* tree-vect-data-refs.c (compare_tree): Call STRIP_NOPS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230667 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 33e4f41..e560746 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 9ee6efe..f4436b5 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;