On 8/20/2013 9:14 AM, Tim Northover wrote:> Hi Rasha,
>
>> The problem for cloning that when some change done for the original bb
or
>> the cloned bb it's reflected to the other.
> This doesn't make sense. Originally you wanted to add the same
> basic-block to multiple functions, which would have been even worse
> for separating the two.
>
> Cheers.
>
> Tim
Rasha:
It sounds like you want copy-on-write semantics for cloned entities.
That's a lot of work for very little payoff. You're better off copying
the bb.
-scooter