Re: [COMMITTED] Avoid threading circular paths.

2021-10-21 Thread Aldy Hernandez via Gcc-patches
Sorry, I tried to revert as soon as I noticed, but it's always a race against the 20 CI bots and fuzzers that keep us honest ;-). Aldy On Thu, Oct 21, 2021 at 4:35 PM Jeff Law wrote: > > > > On 10/21/2021 2:12 AM, Aldy Hernandez wrote: > > The backward threader keeps a hash of visited blocks to

Re: [COMMITTED] Avoid threading circular paths.

2021-10-21 Thread Jeff Law via Gcc-patches
On 10/21/2021 2:12 AM, Aldy Hernandez wrote: The backward threader keeps a hash of visited blocks to avoid crossing the same block twice. Interestingly, we haven't been checking it for the final block out of the path. This may be inherited from the old code, as it was simple enough that it d

[COMMITTED] Avoid threading circular paths.

2021-10-21 Thread Aldy Hernandez via Gcc-patches
The backward threader keeps a hash of visited blocks to avoid crossing the same block twice. Interestingly, we haven't been checking it for the final block out of the path. This may be inherited from the old code, as it was simple enough that it didn't matter. With the upcoming changes enabling