On Sun, Nov 25, 2018 at 10:41:11PM +1030, Alan Modra wrote: > 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 for KFmode and TFmode. > > Bootstrapped and regression tested powerpc64le-linux.
Okay for trunk. Thanks! Segher > * config/rs6000/predicates.md (easy_vector_constant): Don't call > easy_fp_constant.