[llvm] [SLP]Represent SLP graph as a tree (PR #126771)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 01:53:08 PST 2025


================
@@ -3335,7 +3348,7 @@ class BoUpSLP {
 
     /// The TreeEntry index containing the user of this entry.  We can actually
     /// have multiple users so the data structure is not truly a tree.
-    SmallVector<EdgeInfo, 1> UserTreeIndices;
+    EdgeInfo UserTreeIndex;
----------------
lukel97 wrote:

I think the comment above can be updated?

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


More information about the llvm-commits mailing list