[llvm-commits] [llvm] r127842 - /llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
Andrew Trick
atrick at apple.com
Thu Mar 17 17:36:39 PDT 2011
Author: atrick
Date: Thu Mar 17 19:36:39 2011
New Revision: 127842
URL: http://llvm.org/viewvc/llvm-project?rev=127842&view=rev
Log:
Remove TargetData and ValueTracking includes. I didn't mean for them to sneak in my last checkin.
Modified:
llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp?rev=127842&r1=127841&r2=127842&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp Thu Mar 17 19:36:39 2011
@@ -51,14 +51,12 @@
#include "llvm/Analysis/ScalarEvolutionExpander.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/LoopPass.h"
-#include "llvm/Analysis/ValueTracking.h"
#include "llvm/Support/CFG.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
-#include "llvm/Target/TargetData.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
@@ -75,7 +73,6 @@
LoopInfo *LI;
ScalarEvolution *SE;
DominatorTree *DT;
- const TargetData *TD;
SmallVector<WeakVH, 16> DeadInsts;
bool Changed;
public:
@@ -529,7 +526,6 @@
LI = &getAnalysis<LoopInfo>();
SE = &getAnalysis<ScalarEvolution>();
DT = &getAnalysis<DominatorTree>();
- TD = getAnalysisIfAvailable<TargetData>();
DeadInsts.clear();
Changed = false;
More information about the llvm-commits
mailing list