https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71734

--- Comment #13 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Wed Aug 10 15:03:02 2016
New Revision: 239326

URL: https://gcc.gnu.org/viewcvs?rev=239326&root=gcc&view=rev
Log:
Fix PR tree-optimization/71734

2016-08-10  Yuri Rumyantsev  <ysrum...@gmail.com>

        PR tree-optimization/71734
        * tree-ssa-loop-im.c (ref_indep_loop_p): Add new argument
        REF_LOOP, invoke ref_indep_loop_p_1.
        (outermost_indep_loop): Pass LOOP argumnet where REF was defined
        to ref_indep_loop_p.
        (ref_indep_loop_p_1): Fix commentary, add argument REF_LOOP,
        combine it with ref_indep_lopp_p_2, update SAFELEN if only REF
        is inside LOOP, do not cache dpendence value for loops with
        non-zero SAFELEN.
        (ref_indep_loop_p_2): Delete function.
        (can_sm_ref_p): Pass LOOP as additional argument to
        ref_indep_loop_p.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-loop-im.c

Reply via email to