]> git.ipfire.org Git - thirdparty/gcc.git/commit
[RS6000] Bogus easy_fp_constant call
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Nov 2018 04:56:33 +0000 (04:56 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Nov 2018 04:56:33 +0000 (04:56 +0000)
commitfa31be6baeb8be6965c5075ab14f1c1b83be222b
tree0da3af213c56add11115c8d1f52f3f04044e2074
parent5969e425db96af584ac640094beb980ce0810b6e
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266606 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/predicates.md