[clang] [X86][AVX10] Permit AVX512 options/features used together with AVX10 (PR #71318)

Shengchen Kan via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 8 17:22:31 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;
----------------
KanRobert wrote:

Use std::optional<bool> ?

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


More information about the cfe-commits mailing list