[llvm] [VPlan] Speed up VPSlotTracker by using ModuleSlotTracker (PR #139881)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 10 01:05:39 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"
----------------
fhahn wrote:

Does unique_ptr require the full definition of ModuelSlotTracker or can it be forward declared w/o pulling in the header here?

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


More information about the llvm-commits mailing list