tree-scalar-evolution.c: Handle LSHIFT by constant
authorAlan Lawrence <alan.lawrence@arm.com>
Tue, 27 Oct 2015 12:36:55 +0000 (12:36 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Tue, 27 Oct 2015 12:36:55 +0000 (12:36 +0000)
commit6f9071656286512360ca22b6668c9c8d823ec907
treee86f482365a51e41752e05345ed006755044537f
parent85f5231d73ab398af64c03e4121ab16c6c172cf6
tree-scalar-evolution.c: Handle LSHIFT by constant

gcc/:

tree-scalar-evolution.c (interpret_rhs_expr): Handle some LSHIFT_EXPRs
as equivalent MULT_EXPRs.

gcc/testsuite/:

gcc.dg/vect/vect-strided-shift.c: New.

From-SVN: r229437
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-strided-shift-1.c [new file with mode: 0644]
gcc/tree-scalar-evolution.c