diff options
author | Jim Wilson <jim.wilson@linaro.org> | 2015-11-20 16:27:17 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2015-11-20 08:27:17 -0800 |
commit | eed905e9f236f7b7eaba946232851de9d4b27de8 (patch) | |
tree | 3e5babeecfc4fa01a175730e8957a19e8830014a | |
parent | 4adcec7131cec4d05ca9917e2691483c3e1299f9 (diff) | |
download | gcc-eed905e9f236f7b7eaba946232851de9d4b27de8.zip gcc-eed905e9f236f7b7eaba946232851de9d4b27de8.tar.gz gcc-eed905e9f236f7b7eaba946232851de9d4b27de8.tar.bz2 |
Fix cygwin performance loss on linpack.
gcc/
* tree-vect-data-refs.c (compare_tree): Call STRIP_NOPS.
From-SVN: r230667
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tree-vect-data-refs.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33e4f41..e560746 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c index 9ee6efe..f4436b5 100644 --- a/gcc/tree-vect-data-refs.c +++ b/gcc/tree-vect-data-refs.c @@ -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; |