From 37dc9e19f56be33b139f60478676541519af6103 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 21 Feb 2014 00:06:31 +0000 Subject: Rename many DataLayout variables from TD to DL. I am really sorry for the noise, but the current state where some parts of the code use TD (from the old name: TargetData) and other parts use DL makes it hard to write a patch that changes where those variables come from and how they are passed along. llvm-svn: 201827 --- llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp') diff --git a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp index 0b21d52b94b..a75bb94ff27 100644 --- a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp @@ -48,7 +48,7 @@ namespace { Loop *L; LoopInfo *LI; ScalarEvolution *SE; - const DataLayout *TD; // May be NULL + const DataLayout *DL; // May be NULL SmallVectorImpl &DeadInsts; @@ -60,7 +60,7 @@ namespace { L(Loop), LI(LPM->getAnalysisIfAvailable()), SE(SE), - TD(LPM->getAnalysisIfAvailable()), + DL(LPM->getAnalysisIfAvailable()), DeadInsts(Dead), Changed(false) { assert(LI && "IV simplification requires LoopInfo"); -- cgit v1.2.3