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]

[tree-ssa] [PATCH] Clean up tree-ssa-phiopt.c a little


I wanted to implement another optimization in tree-ssa-phiopt.c but the code
was hard to add another so I moved the current optimization into another
function which I called conditional_replacement (this function name can be
changed, I am not attached to it at all).


OK? Bootstrapped on powerpc-apple-darwin with no regressions and the
optimization still happens.

Thanks,
Andrew Pinski

ChangeLog:

	* tree-ssa-phiopt.c (tree_ssa_phiopt): Split into ...
	(tree_ssa_phiopt): Here.


Patch:

Attachment: temp.diff.1.txt
Description: Text document


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