Commit eed905e9 by Jim Wilson Committed by Jim Wilson

Fix cygwin performance loss on linpack.

gcc/
	* tree-vect-data-refs.c (compare_tree): Call STRIP_NOPS.

From-SVN: r230667
parent 4adcec71
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> 2015-11-20 Evandro Menezes <e.menezes@samsung.com>
* config/aarch64/aarch64.md (predicated): Copy attribute from * config/aarch64/aarch64.md (predicated): Copy attribute from
...@@ -2545,6 +2545,8 @@ compare_tree (tree t1, tree t2) ...@@ -2545,6 +2545,8 @@ compare_tree (tree t1, tree t2)
if (t2 == NULL) if (t2 == NULL)
return 1; return 1;
STRIP_NOPS (t1);
STRIP_NOPS (t2);
if (TREE_CODE (t1) != TREE_CODE (t2)) if (TREE_CODE (t1) != TREE_CODE (t2))
return TREE_CODE (t1) < TREE_CODE (t2) ? -1 : 1; return TREE_CODE (t1) < TREE_CODE (t2) ? -1 : 1;
......
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