https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116616
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I had mentioned before we maybe should inling popcount for targets which don't implement the optab. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83171#c3 (and I know there is another reference too).