This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242946 - in /trunk/gcc: ChangeLog simplify-rtx.c
- From: segher at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 29 Nov 2016 01:48:32 -0000
- Subject: r242946 - in /trunk/gcc: ChangeLog simplify-rtx.c
Author: segher
Date: Tue Nov 29 01:48:30 2016
New Revision: 242946
URL: https://gcc.gnu.org/viewcvs?rev=242946&root=gcc&view=rev
Log:
simplify-rtx: Handle truncate of extract
simplify_truncation changes the truncation of many operations into
the operation on the truncation. This patch makes this code also
handle extracts.
* simplify-rtx.c (simplify_truncation): Handle truncate of zero_extract
and sign_extract.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/simplify-rtx.c