craig.topper added a comment. If I remember correctly cpuid.h implementation handles this. Can we copy that? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D101338/new/ https://reviews.llvm.org/D101338