Simplify mult where both arguments are 0 or 1 (PR tree-optimization/87954).
authorMartin Liska <mliska@suse.cz>
Thu, 6 Jun 2019 07:55:51 +0000 (09:55 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 6 Jun 2019 07:55:51 +0000 (07:55 +0000)
commitea8a6038b0b86ccc037d80a9b600e51b1558ad14
tree0df38b73b39e84424d2945135bc584dc7b237e41
parent8ce6fb5fec60f0ce6363d2a41f30e5fc620a4beb
Simplify mult where both arguments are 0 or 1 (PR tree-optimization/87954).

2019-06-06  Martin Liska  <mliska@suse.cz>

PR tree-optimization/87954
* match.pd: Simplify mult where both arguments are 0 or 1.
2019-06-06  Martin Liska  <mliska@suse.cz>

PR tree-optimization/87954
* gcc.dg/pr87954.c: New test.

From-SVN: r271991
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr87954.c [new file with mode: 0644]