[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 10:21:18 PDT 2024


================
@@ -494,7 +497,7 @@ void SubtargetEmitter::EmitStageAndOperandCycleData(
   // operand cycles, and pipeline bypass tables. Then add the new Itinerary
   // object with computed offsets to the ProcItinLists result.
   unsigned StageCount = 1, OperandCycleCount = 1;
-  std::map<std::string, unsigned> ItinStageMap, ItinOperandMap;
+  std::unordered_map<std::string, unsigned> ItinStageMap, ItinOperandMap;
----------------
jurahul wrote:

Done.

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


More information about the llvm-commits mailing list