[llvm] [TableGen] Rework error reporting for duplicate Feature/Processor. (PR #102257)

Tomas Matheson via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 12:28:45 PDT 2024


================
@@ -289,20 +286,12 @@ unsigned SubtargetEmitter::FeatureKeyValues(
     printFeatureMask(OS, ImpliesList, FeatureMap);
 
     OS << " },\n";
-    ++NumFeatures;
-
-    auto [It, Inserted] = UniqueFeatures.insert({CommandLineName, Feature});
----------------
tmatheson-arm wrote:

Ah yes of course.

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


More information about the llvm-commits mailing list