Walter's talk on D backend

claptrap clap at trap.com
Mon Sep 23 09:43:50 UTC 2024


On Monday, 23 September 2024 at 08:44:04 UTC, Walter Bright wrote:
> On 9/23/2024 1:23 AM, claptrap wrote:
>> Thats why OP asked about phi instructions, you need them to 
>> merge the versions of a variable that reach the start of a 
>> basic block. Or at least you need to have some mechanism for 
>> it.
>
> Seems to me it's the same thing from a different angle.

How do you do dead code elimination in your backend? I mean if 
you have 3 assignments to X, and say 5 uses of X, how do you 
determine if any of the assignments are redundant?




More information about the Digitalmars-d mailing list