[PATCH] Use simplify_replace_rtx instead of replace_rtx for DEBUG_INSNs in reload

2016-03-19 Thread Jakub Jelinek
Hi! This patch fixes one of the spots that use replace_rtx, as this changes debug insns, it clearly wants to replace just based on regno, not on pointer equality, and for debug insns simplification is always desirable too. The other place in reload1 that modifies DEBUG_INSNs also uses simplify_rep

Re: [PATCH] Use simplify_replace_rtx instead of replace_rtx for DEBUG_INSNs in reload

2016-03-19 Thread Richard Biener
On Fri, 18 Mar 2016, Jakub Jelinek wrote: > Hi! > > This patch fixes one of the spots that use replace_rtx, as this changes > debug insns, it clearly wants to replace just based on regno, not on pointer > equality, and for debug insns simplification is always desirable too. > The other place in r