https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111791
--- Comment #7 from JuzheZhong <juzhe.zhong at rivai dot ai> --- I don't think this is popcount vectorization issue. This code should not be vectorized. It's true this code won' be vectorized if we use default COST model. So this is not an issue.