[llvm-branch-commits] [llvm] [SLP][modularisation][NFC] Move BoUpSLP class declaration to SLPTree.h (PR #222546)
Alexey Bataev via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Sep 10 03:29:03 PDT 2026
================
@@ -124,6 +123,10 @@ using namespace std::placeholders;
#define SV_NAME "slp-vectorizer"
#define DEBUG_TYPE "SLP"
+// Included after DEBUG_TYPE is defined: BoUpSLP's inline methods use
+// LLVM_DEBUG, which expands DEBUG_TYPE at the point of inclusion.
+#include "SLPVectorizer/SLPTree.h"
+
----------------
alexey-bataev wrote:
I don't like this structure, there should be cross file deps
https://github.com/llvm/llvm-project/pull/222546
More information about the llvm-branch-commits
mailing list