[RS6000] Bogus easy_fp_constant call
authorAlan Modra <amodra@gmail.com>
Thu, 29 Nov 2018 04:56:33 +0000 (15:26 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 29 Nov 2018 04:56:33 +0000 (15:26 +1030)
commitabf07e52b2f16ad1234bdb89b9c8b3d704b67b11
tree0da3af213c56add11115c8d1f52f3f04044e2074
parent3f79c0ad268bc64d0cc231ba6d51098983bdb67b
[RS6000] Bogus easy_fp_constant call

easy_fp_constant accepts const_double, easy_vector_constant accepts
const_vector.  Calling one from the other therefore will always return
false.  I believe the zero_constant call in easy_vector_constant will
cover the 0.0 case of easy_fp_constant.

* config/rs6000/predicates.md (easy_vector_constant): Don't call
easy_fp_constant.

From-SVN: r266606
gcc/ChangeLog
gcc/config/rs6000/predicates.md