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 | eb6e1d3165d4bfee460b6ea69610f57e295635a3 (patch) | |
| tree | 595123091a8779b7eedf18d5399013630350d869 /lib/Transforms/Scalar/LoopInstSimplify.cpp | |
| parent | f116e5308d2eed4b531da795e8eed91211c01241 (diff) | |
| download | llvm-eb6e1d3165d4bfee460b6ea69610f57e295635a3.tar.gz llvm-eb6e1d3165d4bfee460b6ea69610f57e295635a3.tar.bz2 llvm-eb6e1d3165d4bfee460b6ea69610f57e295635a3.tar.xz | |
Rename a few more DataLayout variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopInstSimplify.cpp')
| -rw-r--r-- | lib/Transforms/Scalar/LoopInstSimplify.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopInstSimplify.cpp b/lib/Transforms/Scalar/LoopInstSimplify.cpp index 362b8ab63b..34bd2345ab 100644 --- a/lib/Transforms/Scalar/LoopInstSimplify.cpp +++ b/lib/Transforms/Scalar/LoopInstSimplify.cpp @@ -72,7 +72,7 @@ bool LoopInstSimplify::runOnLoop(Loop *L, LPPassManager &LPM) { getAnalysisIfAvailable<DominatorTreeWrapperPass>(); DominatorTree *DT = DTWP ? &DTWP->getDomTree() : 0; LoopInfo *LI = &getAnalysis<LoopInfo>(); - const DataLayout *TD = getAnalysisIfAvailable<DataLayout>(); + const DataLayout *DL = getAnalysisIfAvailable<DataLayout>(); const TargetLibraryInfo *TLI = &getAnalysis<TargetLibraryInfo>(); SmallVector<BasicBlock*, 8> ExitBlocks; @@ -114,7 +114,7 @@ bool LoopInstSimplify::runOnLoop(Loop *L, LPPassManager &LPM) { // Don't bother simplifying unused instructions. if (!I->use_empty()) { - Value *V = SimplifyInstruction(I, TD, TLI, DT); + Value *V = SimplifyInstruction(I, DL, TLI, DT); if (V && LI->replacementPreservesLCSSAForm(I, V)) { // Mark all uses for resimplification next time round the loop. for (Value::use_iterator UI = I->use_begin(), UE = I->use_end(); |
