diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-21 01:53:35 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-21 01:53:35 +0000 |
commit | 612886fc8c1374e991b8dd0711ff391d4fbaae79 (patch) | |
tree | 1d600c49428ad8fce73522e1a34327c9105d6fff /llvm/lib/Transforms/Utils/SimplifyInstructions.cpp | |
parent | f6ec74826e492f31a2e92e5ecbc80ac94d1a3c4b (diff) | |
download | llvm-612886fc8c1374e991b8dd0711ff391d4fbaae79.zip llvm-612886fc8c1374e991b8dd0711ff391d4fbaae79.tar.gz llvm-612886fc8c1374e991b8dd0711ff391d4fbaae79.tar.bz2 |
Rename a few more DataLayout variables.
llvm-svn: 201833
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyInstructions.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyInstructions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp b/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp index 56bc9dd..b337e9d 100644 --- a/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp @@ -48,7 +48,7 @@ namespace { const DominatorTreeWrapperPass *DTWP = getAnalysisIfAvailable<DominatorTreeWrapperPass>(); const DominatorTree *DT = DTWP ? &DTWP->getDomTree() : 0; - const DataLayout *TD = getAnalysisIfAvailable<DataLayout>(); + const DataLayout *DL = getAnalysisIfAvailable<DataLayout>(); const TargetLibraryInfo *TLI = &getAnalysis<TargetLibraryInfo>(); SmallPtrSet<const Instruction*, 8> S1, S2, *ToSimplify = &S1, *Next = &S2; bool Changed = false; @@ -65,7 +65,7 @@ namespace { continue; // Don't waste time simplifying unused instructions. if (!I->use_empty()) - if (Value *V = SimplifyInstruction(I, TD, TLI, DT)) { + if (Value *V = SimplifyInstruction(I, DL, TLI, DT)) { // Mark all uses for resimplification next time round the loop. for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); UI != UE; ++UI) |