[clang] [X86][AVX10] Permit AVX512 options/features used together with AVX10 (PR #71318)
Phoebe Wang via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 9 05:43:06 PST 2023
================
@@ -119,9 +119,13 @@ bool X86TargetInfo::initFeatureMap(
setFeatureEnabled(Features, F, true);
std::vector<std::string> UpdatedFeaturesVec;
- bool HasEVEX512 = true;
+ std::vector<std::string> UpdatedAVX10FeaturesVec;
+ int HasEVEX512 = -1;
----------------
phoebewang wrote:
I think it's better to use enum. It's a 3-status flag. std::optional isn't much useful here.
https://github.com/llvm/llvm-project/pull/71318
More information about the cfe-commits
mailing list