diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:10:19 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:10:19 +0000 | 
| commit | 522600a229b950314b5f4af84eba4f3e8a0ffea1 (patch) | |
| tree | 32b4679ab4b8f28e5228daafc65e9dc436935353 /lib/Transforms/Utils/SimplifyIndVar.cpp | |
| parent | 902a7b529820e6a0aa85f98f21afaeb1805a22f8 (diff) | |
Notes
Diffstat (limited to 'lib/Transforms/Utils/SimplifyIndVar.cpp')
| -rw-r--r-- | lib/Transforms/Utils/SimplifyIndVar.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Utils/SimplifyIndVar.cpp b/lib/Transforms/Utils/SimplifyIndVar.cpp index 5d673f1824112..110f3808573e9 100644 --- a/lib/Transforms/Utils/SimplifyIndVar.cpp +++ b/lib/Transforms/Utils/SimplifyIndVar.cpp @@ -24,7 +24,7 @@  #include "llvm/Support/Debug.h"  #include "llvm/Support/raw_ostream.h"  #include "llvm/Transforms/Utils/SimplifyIndVar.h" -#include "llvm/Target/TargetData.h" +#include "llvm/DataLayout.h"  #include "llvm/ADT/SmallVector.h"  #include "llvm/ADT/Statistic.h" @@ -44,7 +44,7 @@ namespace {      Loop             *L;      LoopInfo         *LI;      ScalarEvolution  *SE; -    const TargetData *TD; // May be NULL +    const DataLayout *TD; // May be NULL      SmallVectorImpl<WeakVH> &DeadInsts; @@ -56,7 +56,7 @@ namespace {        L(Loop),        LI(LPM->getAnalysisIfAvailable<LoopInfo>()),        SE(SE), -      TD(LPM->getAnalysisIfAvailable<TargetData>()), +      TD(LPM->getAnalysisIfAvailable<DataLayout>()),        DeadInsts(Dead),        Changed(false) {        assert(LI && "IV simplification requires LoopInfo");  | 
