simplify-rtx: Handle truncate of extract
commit42207fe3c16ede45ccf9b6325a1977a8466ac954
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Nov 2016 01:48:30 +0000 (29 01:48 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Nov 2016 01:48:30 +0000 (29 01:48 +0000)
tree2c9d73fb0ca8669cbec06f9357fe5860c278ac14
parent03443d4f192eea6cf431fe2642b44a53febd9468
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242946 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/simplify-rtx.c