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

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Feb  8 13:21:36 2019
New Revision: 268689

URL: https://gcc.gnu.org/viewcvs?rev=268689&root=gcc&view=rev
Log:
2019-02-08  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/89247
        * tree-if-conv.c: Include tree-cfgcleanup.h.
        (version_loop_for_if_conversion): Record LOOP_VECTORIZED call.
        (tree_if_conversion): Pass through predicate vector.
        (pass_if_conversion::execute): Do CFG cleanup and SSA update
        inline, see if any if-converted loops we refrece in
        LOOP_VECTORIZED calls vanished and fixup.
        * tree-if-conv.h (tree_if_conversion): Adjust prototype.

        * gcc.dg/torture/pr89247.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr89247.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-if-conv.c
    trunk/gcc/tree-if-conv.h

Reply via email to