postreload.c (reload_cse_simplify): Skip also USE when detecting noop move.

* postreload.c (reload_cse_simplify): Skip also USE when detecting
	noop move.

From-SVN: r240833
This commit is contained in:
Jan Hubicka 2016-10-06 15:45:45 +02:00 committed by Jan Hubicka
parent b397258804
commit c6a2617973
2 changed files with 7 additions and 1 deletions

View File

@ -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> 2016-10-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/77855 PR tree-optimization/77855

View File

@ -153,7 +153,8 @@ reload_cse_simplify (rtx_insn *insn, rtx testreg)
value = SET_DEST (part); value = SET_DEST (part);
} }
} }
else if (GET_CODE (part) != CLOBBER) else if (GET_CODE (part) != CLOBBER
&& GET_CODE (part) != USE)
break; break;
} }