[llvm] [LoopInterchange] Make the entries of the Dependency Matrix unique (PR #116195)

Madhur Amilkanthwar via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 07:18:04 PST 2024


================
@@ -110,6 +111,7 @@ static bool populateDependencyMatrix(CharMatrix &DepMatrix, unsigned Level,
                     << " Loads and Stores to analyze\n");
 
   ValueVector::iterator I, IE, J, JE;
+  std::unordered_set<std::string> UniqueDepEntries;
----------------
madhur13490 wrote:

Using `unordered_set` is frowned upon as per [manual ](https://llvm.org/docs/ProgrammersManual.html#other-set-like-container-options)

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


More information about the llvm-commits mailing list