From 4169338e75cdce73d34063532db598c95ee82ae4 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 28 Jun 2024 14:30:47 +0200 Subject: [IR] Don't include Module.h in Analysis.h (NFC) (#97023) Replace it with a forward declaration instead. Analysis.h is pulled in by all passes, but not all passes need to access the module. --- llvm/lib/CodeGen/MachineModuleSlotTracker.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp') diff --git a/llvm/lib/CodeGen/MachineModuleSlotTracker.cpp b/llvm/lib/CodeGen/MachineModuleSlotTracker.cpp index aa63411df965..965539ddaca8 100644 --- a/llvm/lib/CodeGen/MachineModuleSlotTracker.cpp +++ b/llvm/lib/CodeGen/MachineModuleSlotTracker.cpp @@ -9,6 +9,7 @@ #include "llvm/CodeGen/MachineModuleSlotTracker.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineModuleInfo.h" +#include "llvm/IR/Module.h" using namespace llvm; -- cgit v1.2.3