Walter's talk on D backend

Walter Bright newshound2 at digitalmars.com
Thu Sep 26 13:42:40 UTC 2024


On 9/24/2024 3:11 PM, Dibyendu Majumdar wrote:
> On Tuesday, 24 September 2024 at 06:23:24 UTC, Walter Bright wrote:
>> ```
>> x = x + 6
>> ```
>>
>> ```
>> r1 = x
>> r2 = 6
>> r3 = r1 + r2
>> x = r3
>> ```
>>
>> The r's are only assigned once.
> 
> You did not quite answer my question - how is the example snippet translated?

I don't understand what you're asking for.


> Also what is the value of x above? Clearly x is assigned to more than once - 
> first assignment is not shown, so this is not SSA.

I said it was like SSA in that the nodes are assigned only once.


More information about the Digitalmars-d mailing list