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

--- Comment #2 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Tue Jan  5 16:06:06 2016
New Revision: 232077

URL: https://gcc.gnu.org/viewcvs?rev=232077&root=gcc&view=rev
Log:
[combine][v2] Canonicalise (r + r) to (r << 1) to aid recognition

        PR rtl-optimization/68651
        * combine.c (combine_simplify_rtx): Canonicalize x + x into
        x << 1.

        * gcc.target/aarch64/pr68651_1.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/aarch64/pr68651_1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to