r236344 - in /trunk/gcc: ChangeLog match.pd tes...

miyuki@gcc.gnu.org miyuki@gcc.gnu.org
Tue May 17 20:50:00 GMT 2016


Author: miyuki
Date: Tue May 17 20:50:22 2016
New Revision: 236344

URL: https://gcc.gnu.org/viewcvs?rev=236344&root=gcc&view=rev
Log:
Fold bit_not through ASR and rotate

gcc/

	PR tree-optimization/54579
	PR middle-end/55299
	* match.pd (~(~X >> Y), ~(~X >>r Y), ~(~X <<r Y)): New patterns.

gcc/testsuite

	PR tree-optimization/54579
	PR middle-end/55299
	* gcc.dg/fold-notrotate-1.c: New test.
	* gcc.dg/fold-notshift-1.c: New test.
	* gcc.dg/fold-notshift-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/fold-notrotate-1.c
    trunk/gcc/testsuite/gcc.dg/fold-notshift-1.c
    trunk/gcc/testsuite/gcc.dg/fold-notshift-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/match.pd
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list