[patch] bsi_for_stmt

Andrew Pinski apinski@apple.com
Mon Aug 30 20:59:00 GMT 2004

On Aug 30, 2004, at 12:42 PM, Diego Novillo wrote:

> On Mon, 2004-08-30 at 15:27, Zdenek Dvorak wrote:
>> suppose you want to replace a statement defining a SSA name by some
>> other computation.
> You just modify the statement's RHS.  Or do you mean replacing a
> CALL_EXPR or an ASM_EXPR?  Again, I need a specific example with more
> context.

For an example (for me):

I have the following stmt:

*a_1 = 0;

I want to remove it, replacing the RHS will not work but replacing the 
with a temporary variable will work but it seems like more work as you 
to do SSA_rename on that new variable.

Andrew Pinski

More information about the Gcc-patches mailing list