This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/53090] suboptimal ivopt


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

--- Comment #9 from amker at gcc dot gnu.org ---
Author: amker
Date: Thu May 11 09:50:15 2017
New Revision: 247893

URL: https://gcc.gnu.org/viewcvs?rev=247893&root=gcc&view=rev
Log:
        PR tree-optimization/53090
        * tree-ssa-loop-ivopts.c (enum comp_iv_rewrite): New enum value
        COMP_IV_EXPR_2.
        (extract_cond_operands): Detect condition with IV on both sides
        and return COMP_IV_EXPR_2.
        (find_interesting_uses_cond): Add iv_use for both IVs in condition.
        (rewrite_use_compare): Simplify by removing call to function
        extract_cond_operands.

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

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