mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Rename a few more DataLayout variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201833 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user