Re: [PATCH] Give fast DCE a separate dirty flag

2024-07-02 Thread Jeff Law
On 7/1/24 6:32 AM, Richard Sandiford wrote: Thomas pointed out that we sometimes failed to eliminate some dead code (specifically clobbers of otherwise unused registers) on nvptx when late-combine is enabled. This happens because: - combine is able to optimise the function in a way that expo

[PATCH] Give fast DCE a separate dirty flag

2024-07-01 Thread Richard Sandiford
Thomas pointed out that we sometimes failed to eliminate some dead code (specifically clobbers of otherwise unused registers) on nvptx when late-combine is enabled. This happens because: - combine is able to optimise the function in a way that exposes dead code. This leaves the df information i