projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b397258
)
postreload.c (reload_cse_simplify): Skip also USE when detecting noop move.
author
Jan Hubicka
<hubicka@ucw.cz>
Thu, 6 Oct 2016 13:45:45 +0000
(15:45 +0200)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Thu, 6 Oct 2016 13:45:45 +0000
(13:45 +0000)
* postreload.c (reload_cse_simplify): Skip also USE when detecting
noop move.
From-SVN: r240833
gcc/ChangeLog
patch
|
blob
|
history
gcc/postreload.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index cf7505c41c1f78a4ba1ed637f6a9d0748b93f4cb..3799db0fb83d89e96ebe71ab1419d537d4a54e34 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,8
@@
+2016-10-06 Jan Hubicka <hubicka@ucw.cz>
+
+ * postreload.c (reload_cse_simplify): Skip also USE when detecting
+ noop move.
+
2016-10-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/77855
diff --git
a/gcc/postreload.c
b/gcc/postreload.c
index 61c1ce8028e3d8e6cab44f8f36be31fdc8a58f71..4f3a526981e82d35f953a576ec966fe7dfa9de1c 100644
(file)
--- a/
gcc/postreload.c
+++ b/
gcc/postreload.c
@@
-153,7
+153,8
@@
reload_cse_simplify (rtx_insn *insn, rtx testreg)
value = SET_DEST (part);
}
}
- else if (GET_CODE (part) != CLOBBER)
+ else if (GET_CODE (part) != CLOBBER
+ && GET_CODE (part) != USE)
break;
}