[llvm] [TableGen] Emit better error message for duplicate Subtarget features. (PR #102090)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 09:56:52 PDT 2024
================
@@ -259,8 +259,8 @@ unsigned SubtargetEmitter::FeatureKeyValues(
llvm::sort(FeatureList, LessRecordFieldName());
- // Check that there are no duplicate keys
- std::set<StringRef> UniqueKeys;
+ // Check that there are no duplicate keys.
+ DenseMap<StringRef, const Record *> UniqueKeys;
----------------
jurahul wrote:
Done.
https://github.com/llvm/llvm-project/pull/102090
More information about the llvm-commits
mailing list