mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-22 20:26:31 +00:00
Removing dead code; NFC. This code was triggering a C4718 warning (recursive call has no side effects, deleting) with MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235717 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
45a69610a7
commit
c195a0c52c
@ -299,9 +299,6 @@ struct LCSSA : public FunctionPass {
|
||||
AU.addPreserved<AliasAnalysis>();
|
||||
AU.addPreserved<ScalarEvolution>();
|
||||
}
|
||||
|
||||
private:
|
||||
void verifyAnalysis() const override;
|
||||
};
|
||||
}
|
||||
|
||||
@ -329,18 +326,3 @@ bool LCSSA::runOnFunction(Function &F) {
|
||||
return Changed;
|
||||
}
|
||||
|
||||
static void verifyLoop(Loop &L, DominatorTree &DT) {
|
||||
// Recurse depth-first through inner loops.
|
||||
for (Loop::iterator LI = L.begin(), LE = L.end(); LI != LE; ++LI)
|
||||
verifyLoop(**LI, DT);
|
||||
|
||||
// Check the special guarantees that LCSSA makes.
|
||||
//assert(L.isLCSSAForm(DT) && "LCSSA form not preserved!");
|
||||
}
|
||||
|
||||
void LCSSA::verifyAnalysis() const {
|
||||
// Verify each loop nest in the function, assuming LI still points at that
|
||||
// function's loop info.
|
||||
for (LoopInfo::iterator I = LI->begin(), E = LI->end(); I != E; ++I)
|
||||
verifyLoop(**I, *DT);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user