This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r232077 - in /trunk/gcc: ChangeLog combine.c te...
- From: ktkachov at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 05 Jan 2016 16:06:07 -0000
- Subject: r232077 - in /trunk/gcc: ChangeLog combine.c te...
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