[all-commits] [llvm/llvm-project] 4c97c5: [TableGen] Emit better error message for duplicate...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Tue Aug 6 14:39:25 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c97c52fe05bb2fda4584cea4738d59db31329dc
https://github.com/llvm/llvm-project/commit/4c97c52fe05bb2fda4584cea4738d59db31329dc
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2024-08-06 (Tue, 06 Aug 2024)
Changed paths:
A llvm/test/TableGen/SubtargetFeatureUniqueNames.td
M llvm/utils/TableGen/SubtargetEmitter.cpp
Log Message:
-----------
[TableGen] Emit better error message for duplicate Subtarget features. (#102090)
- Keep track of last definition of a feature in a `DenseMap` and use
it to report a better error message when a duplicate feature is found.
- Use StringMap instead of a std::map in `EmitStageAndOperandCycleData`
- Add a unit test to check if duplicate names are flagged.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list