[clang] [llvm] [X86][Driver] Do not add `-evex512` for `-march=native` when the target doesn't support AVX512 (PR #91694)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Thu May 9 21:03:38 PDT 2024


phoebewang wrote:

> Could you make getHostCPUFeatures only write the Features["evex512"] entry if Features["avx512f"] is true? Instead of copying Features["avx512f"]?

Good idea, done.

https://github.com/llvm/llvm-project/pull/91694


More information about the cfe-commits mailing list