https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101185
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Hongtao.liu from comment #7) > The key point here is cpuid check function should not be compiled with > -mavx512vl or -mavx512bw, rely on cost model or alloca order is not > all-inclusive. Yeah, it looks bogus to check for AVX512 in a function that has the ISA already enabled ...