mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +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:
@ -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)
|
||||
|
Reference in New Issue
Block a user