Commit c6a26179 by Jan Hubicka Committed by Jan Hubicka

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
parent b3972588
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
......
......@@ -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;
}
......
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