On Wednesday 26 October 2005 14:34, Mihai Burcea wrote:

> I have my own pass that is trying to insert some statements in the code;
> the statements would be of the form var_name = constant_value;
>
After you create the variables with create_tmp_var, you mark them to be 
rewritten by adding them to vars_to_rename.  See the section 'Preserving 
SSA form' in the internals documentation.  For examples on how this work 
you can browse tree-ssa-pre.c, which inserts new code and does some of the 
things you're trying to do.

Reply via email to