[Bug tree-optimization/54579] missed optimization: ASR idiom
miyuki at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 17 20:51:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54579
--- Comment #2 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
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-bugs
mailing list