[llvm] [SLP][NFC] Extract VectorizableTree into own ForestTree class (PR #222805)
Ryan Buchner via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 11:53:07 PDT 2026
================
@@ -5384,7 +5410,12 @@ template <> struct llvm::DenseMapInfo<BoUpSLP::EdgeInfo> {
}
};
-template <> struct llvm::GraphTraits<BoUpSLP *> {
+struct SLPGraphView {
+ BoUpSLP *R;
+ BoUpSLP::ForestTree *FT;
+};
+
+template <> struct llvm::GraphTraits<SLPGraphView *> {
----------------
bababuck wrote:
Thanks, I'll figure out how to test to make sure I haven't broken that.
https://github.com/llvm/llvm-project/pull/222805
More information about the llvm-commits
mailing list