This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR 62173, re-shuffle insns for RTL loop invariant hoisting
- From: Jiong Wang <wong dot kwongyuan dot tools at gmail dot com>
- To: Jiong Wang <jiong dot wang at arm dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 18 Dec 2014 21:07:41 +0000
- Subject: Re: [PATCH] PR 62173, re-shuffle insns for RTL loop invariant hoisting
- Authentication-results: sourceware.org; auth=none
- References: <54803EBE dot 2060607 at arm dot com> <CAFiYyc1jauY_hejCfgU88DXtaSCCSZDUMiKMb678KqQ_QrMzrQ at mail dot gmail dot com> <CAFiYyc0gEQt_Ci1TyCfYys=JnZMr8FmYW7dFtq+mBmqKjeuttw at mail dot gmail dot com> <5480B6D6 dot 2020201 at arm dot com> <548EFE0D dot 1070808 at arm dot com> <548EFE55 dot 6090901 at arm dot com> <CAFiYyc3oYRsYkQwivE+T4A4mysDBe0gjZqjroQ8B2p1J6sakQg at mail dot gmail dot com> <54930811 dot 1020003 at arm dot com>
2014-12-18 17:00 GMT+00:00 Jiong Wang <jiong.wang@arm.com>:
>>>> ok for trunk?
>>>>
>>>> gcc/
>>>> PR62173
>>>> loop-invariant.c.c (expensive_addr): New hash_table.
>>>> (need_expensive_addr_check_p): New bool.
>>>> (find_exits): Rename to "find_exists_and_reshuffle.
>>>> Support re-shuffle instructions for better loop invariant hoisting.
another question is, is it safe to re-use REG_DEAD info here without
calling df_note_add_problem and df_analysis first?
am I using those info passed down from the previous pass which
calculated these info and maybe broken?