This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: allow thread_through_all_blocks() to start from the same initial BB
- From: Jeff Law <law at redhat dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 11 Jul 2018 10:13:26 -0600
- Subject: Re: allow thread_through_all_blocks() to start from the same initial BB
- References: <aa1a9916-f015-517b-fae9-28c50e67e7e1@redhat.com>
On 07/10/2018 05:14 AM, Aldy Hernandez wrote:
> I believe I missed this companion patch when I submitted...
>
> Subject: jump threading multiple paths that start from the same BB
>
> The attached patch changes thread_through_all_blocks to allow threads
> that start from the same basic block as another thread.
>
> OK for trunk?
>
> curr.patch
>
>
> gcc/
>
> * tree-ssa-threadupdate.c (thread_through_all_blocks): Do not jump
> thread twice from the same starting edge.
OK
jeff