[llvm] [LoopInterchange] Make the entries of the Dependency Matrix unique (PR #116195)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 16 01:45:23 PST 2024
================
@@ -110,6 +110,7 @@ static bool populateDependencyMatrix(CharMatrix &DepMatrix, unsigned Level,
<< " Loads and Stores to analyze\n");
ValueVector::iterator I, IE, J, JE;
+ SmallDenseSet<size_t> Seen;
----------------
nikic wrote:
For a string set that owns the strings you would normally use StringSet.
https://github.com/llvm/llvm-project/pull/116195
More information about the llvm-commits
mailing list