[X86] Enable EVEX512 when host CPU has AVX512 (#90479)
authorPhoebe Wang <phoebe.wang@intel.com>
Tue, 30 Apr 2024 02:09:41 +0000 (10:09 +0800)
committerTom Stellard <tstellar@redhat.com>
Wed, 1 May 2024 18:32:03 +0000 (11:32 -0700)
commita7b8b890600a33e0c88d639f311f1d73ccb1c8d2
treeceef31abbd0440998a3301bf8a89958ba2c47098
parent4da5b14174938bc69b8e729bc8b5bb393bd70b9e
[X86] Enable EVEX512 when host CPU has AVX512 (#90479)

This is used when -march=native run on an unknown CPU to old version of
LLVM.

(cherry picked from commit b3291793f11924a3b62601aabebebdcfbb12a9a1)
llvm/lib/TargetParser/Host.cpp