This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Function Versioning
- From: Revital Eres <ERES at il dot ibm dot com>
- To: gcc at gcc dot gnu dot org
- Cc: Jan Hubicka <jh at suse dot cz>, Steven Bosscher <stevenb at suse dot de>, Stuart Hastings <stuart at apple dot com>, Mircea Namolaru <NAMOLARU at il dot ibm dot com>, Ayal Zaks <ZAKS at il dot ibm dot com>, Razya Ladelsky <RAZYA at il dot ibm dot com>
- Date: Sun, 27 Jun 2004 18:26:31 +0300
- Subject: Function Versioning
Hello,
We would like to implement function versioning in tree level
for the use of IPA constant propagation.
(http://gcc.gnu.org/ml/gcc/2004-06/msg00518.html)
We intend to work on the tree-profiling branch.
As for the implementation - we intend to create a new call-graph
node for the new version of the function (using the current cloning
interface).
The copy of the new version tree body will be done using copy_body_r ()
function (tree-inline.c). Since it is now completely specified to
inlining I will adjust it to handle also simple coping of trees.
We would like to thank Steven Bosscher, Jan Hubicka and Stuart Hastings
for their feedback.
Revital