This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix bit-test expansion for single cluster (PR tree-optimization/86263).
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: mliska at suse dot cz
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, thomas at codesourcery dot com, tdevries at suse dot de
- Date: Fri, 29 Jun 2018 09:14:09 +0200
- Subject: Re: [PATCH] Fix bit-test expansion for single cluster (PR tree-optimization/86263).
- References: <577f2347-13d6-f49f-60c8-9080cc3e9d3d@suse.cz>
On Thu, Jun 28, 2018 at 9:06 PM Martin Liška <mliska@suse.cz> wrote:
>
> Hi.
>
> I'm sending patch for situation where we create a bit-test for
> entire switch. In that case split BB must be redirected so that
> the original switch is a dead code.
>
> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
>
> Ready to be installed?
Testcase?
OK with one added.
Thanks,
Richard.
> Martin
>
> gcc/ChangeLog:
>
> 2018-06-28 Martin Liska <mliska@suse.cz>
>
> PR tree-optimization/86263
> * tree-switch-conversion.c (switch_decision_tree::try_switch_expansion):
> Make edge redirection.
> ---
> gcc/tree-switch-conversion.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
>