https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104666
--- Comment #2 from Hongtao.liu <crazylht at gmail dot com> --- So builtins are registered in the beginning, but isa checking is during pass_expand, and gimple folding is between them, maybe we should restrict builtin gimple folding under their required target.