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/65963] Missed vectorization of loads strided with << when equivalent * succeeds


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

--- Comment #2 from alalaw01 at gcc dot gnu.org ---
Author: alalaw01
Date: Thu Nov  5 18:39:38 2015
New Revision: 229825

URL: https://gcc.gnu.org/viewcvs?rev=229825&root=gcc&view=rev
Log:
[PATCH] tree-scalar-evolution.c: Handle LSHIFT by constant

gcc/:

        PR tree-optimization/65963
        * tree-scalar-evolution.c (interpret_rhs_expr): Try to handle
        LSHIFT_EXPRs as equivalent unsigned MULT_EXPRs.

gcc/testsuite/:

        * gcc.dg/pr68112.c: New.
        * gcc.dg/vect/vect-strided-shift-1.c: New.

Added:
    trunk/gcc/testsuite/gcc.dg/pr68112.c
    trunk/gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-scalar-evolution.c

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