This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH GCC]Correct cand_chain and stmt_cand_map for copy/cast


On Wed, May 15, 2019 at 7:54 AM bin.cheng <bin.cheng@linux.alibaba.com> wrote:
>
> Hi,
> I noticed that cand_chain (first_interp/next_interp) is not maintained correctly
> in slsr_process_copy/slsr_process_cast (now slsr_process_copycast).  This one
> fixes the issue, as well as records the "first" cand in stmt_cand_map.
>
> Hi Bill, is this correct or I misunderstood the code? Bootstrap and test on x86_64.

Looks good to me, still waiting for Bills feedback (now CCed).

Richard.

> Thanks,
> bin
>
> 2019-05-15  Bin Cheng  <bin.cheng@linux.alibaba.com>
>
>         * gimple-ssa-strength-reduction.c (slsr_process_copycast): Record
>         information about next_interp and the first cand.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]