match.pd ((convert (op:s (convert@2 @0) (convert?@3 @1)))): Add support for constant...
authorBin Cheng <bin.cheng@arm.com>
Thu, 27 Oct 2016 14:59:04 +0000 (14:59 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 27 Oct 2016 14:59:04 +0000 (14:59 +0000)
commit93f90bec31ba60f78a1242fe2c3544c1d7ac3469
treed967b316fe6af130249a30a38dff681ae741f5f9
parent9a6ac422ec269e12c88a852369bb3cc32c72c2b9
match.pd ((convert (op:s (convert@2 @0) (convert?@3 @1)))): Add support for constant operand for OP.

* match.pd ((convert (op:s (convert@2 @0) (convert?@3 @1)))): Add
support for constant operand for OP.

gcc/testsuite
* gcc.dg/fold-narrowbopcst-1.c: New test.

From-SVN: r241624
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fold-narrowbopcst-1.c [new file with mode: 0644]