https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109011
--- Comment #19 from Hongtao.liu <crazylht at gmail dot com> --- Created attachment 54678 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54678&action=edit gcc13-pr109011-3.patch Fix an ICE when gimple_call_lhs (call_stmt) is NULL in vect_recog_ctz_ffs_pattern, recognize ctz/ffs generated by vect_recog_popcount_clz_ctz_ffs_pattern. Add testcases for them, bootstrapped and regtested on icelaker.