From 86202124ccf636943cc2c88b812e893b6409a3e9 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sun, 24 May 2020 12:41:05 +0100 Subject: [PATCH] LoopSimplify.h - reduce unnecessary includes to forward declarations. NFC. --- include/llvm/Transforms/Utils/LoopSimplify.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/llvm/Transforms/Utils/LoopSimplify.h b/include/llvm/Transforms/Utils/LoopSimplify.h index 2c1df7942f6..d017fd12026 100644 --- a/include/llvm/Transforms/Utils/LoopSimplify.h +++ b/include/llvm/Transforms/Utils/LoopSimplify.h @@ -38,14 +38,16 @@ #ifndef LLVM_TRANSFORMS_UTILS_LOOPSIMPLIFY_H #define LLVM_TRANSFORMS_UTILS_LOOPSIMPLIFY_H -#include "llvm/Analysis/AssumptionCache.h" -#include "llvm/Analysis/ScalarEvolution.h" -#include "llvm/IR/Dominators.h" #include "llvm/IR/PassManager.h" namespace llvm { +class AssumptionCache; +class DominatorTree; +class Loop; +class LoopInfo; class MemorySSAUpdater; +class ScalarEvolution; /// This pass is responsible for loop canonicalization. class LoopSimplifyPass : public PassInfoMixin {