This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix PR tree-opt/16808, Vops are not being renamed


When fold exp(0.0) into 1.0, the Vop for the statement goes away but
we don't rename the following vops which use that defined SSA_NAME.
This patch just marks the vops as being used.

OK? Bootstrapped and tested on powerpc-darwin (with my fix for bootstrap).

Thanks,
Andrew Pinski

ChangeLog:
	* tree-ssa.c (mark_all_v_defs): New function.
	(replace_immediate_uses): Call the new function.
	(pass_redundant_phi): Add TODO_fix_def_def_chains.


Attachment: temp.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]