[llvm] [VPlan] Speed up VPSlotTracker by using ModuleSlotTracker (PR #139881)
Igor Kirillov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 11 02:08:52 PDT 2025
================
@@ -23,6 +23,7 @@
#include "llvm/Analysis/DomTreeUpdater.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/IR/DebugLoc.h"
+#include "llvm/IR/ModuleSlotTracker.h"
----------------
igogo-x86 wrote:
We need this header because std::unique_ptr<ModuleSlotTracker> requires the full type — the destructor triggers static_assert(sizeof(T) > 0) if it’s incomplete.
https://github.com/llvm/llvm-project/pull/139881
More information about the llvm-commits
mailing list