[ipa-branch] Transforming IPCP to SSA
Razya Ladelsky
RAZYA@il.ibm.com
Thu Feb 16 12:14:00 GMT 2006
A mix up in the title name in the recent patch I sent, sorry....
Razya
__________________
Attached is the patch for IPCP transformed to Tree-SSA form on ipa-branch.
I also added simple profiling support, according to which only hot methods
are versioned and the constant is propagated into them.
Bootstrapped and regtested on powerpc-linux.
OK for ipa branch?
Thanks,
Razya
Changelog:
* ipa-cp.c (ipcp_insert_stage, ipcp_driver): Support for SSA.
(compute_prof): New function to compute how hot each method is.
Use compute_function_frequency.
* ipa-prop.c (ipa_method_modify_stmt,
ipa_callsite_compute_param): Support for SSA.
* predict.c (compute_function_frequency): Change from static to
extern.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff_ipcp
Type: application/octet-stream
Size: 13392 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060216/486e8df4/attachment.obj>
More information about the Gcc-patches
mailing list