Trim unnecessary headers. Code in Analysis shouldn't use Transforms
authorDan Gohman <gohman@apple.com>
Thu, 7 May 2009 14:30:26 +0000 (14:30 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 7 May 2009 14:30:26 +0000 (14:30 +0000)
headers due to library dependencies.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71159 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index e00d1d9f80650b6b746886655dff3d31cdb5cc42..2b5ca520c21df30b7eeb935a79a9cb0b52706851 100644 (file)
@@ -70,8 +70,6 @@
 #include "llvm/Analysis/LoopInfo.h"
 #include "llvm/Assembly/Writer.h"
 #include "llvm/Target/TargetData.h"
-#include "llvm/Transforms/Scalar.h"
-#include "llvm/Support/CFG.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/ConstantRange.h"
@@ -84,7 +82,6 @@
 #include "llvm/ADT/STLExtras.h"
 #include <ostream>
 #include <algorithm>
-#include <cmath>
 using namespace llvm;
 
 STATISTIC(NumArrayLenItCounts,