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

glisse@gcc.gnu.org glisse@gcc.gnu.org
Tue May 17 17:57:00 GMT 2016


Author: glisse
Date: Tue May 17 17:57:27 2016
New Revision: 236338

URL: https://gcc.gnu.org/viewcvs?rev=236338&root=gcc&view=rev
Log:
x & C -> x if we know that x & ~C == 0

2016-05-17  Marc Glisse  <marc.glisse@inria.fr>

gcc/
	* match.pd (X & C): New transformation.

gcc/testsuite/
	* gcc.dg/tree-ssa/and-1.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/and-1.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/match.pd
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list