aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-11 06:30:04 +0000
committerChris Lattner <sabre@nondot.org>2008-01-11 06:30:04 +0000
commit3dab223dc9a398b30484fca23d912433ea0033f3 (patch)
tree1328aac41871f8f1fbacf364828015433d73fe07
parentfadcd4e60be40bcab198dcb0eef6e4a51b4c0627 (diff)
don't include loopinfo.h from this file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45858 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Transforms/Utils/Cloning.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h
index be15d6cd02..1e2bbaa295 100644
--- a/include/llvm/Transforms/Utils/Cloning.h
+++ b/include/llvm/Transforms/Utils/Cloning.h
@@ -20,7 +20,6 @@
#include <vector>
#include "llvm/ADT/DenseMap.h"
-#include "llvm/Analysis/LoopInfo.h"
namespace llvm {
@@ -37,6 +36,9 @@ class CallSite;
class Trace;
class CallGraph;
class TargetData;
+class LoopInfo;
+template<class N> class LoopBase;
+typedef LoopBase<BasicBlock> Loop;
/// CloneModule - Return an exact copy of the specified module
///