mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
revert r99862 which is causing FNT failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99870 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Analysis/LoopPass.h"
|
||||
#include "llvm/Support/Timer.h"
|
||||
using namespace llvm;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
@@ -229,9 +228,9 @@ bool LPPassManager::runOnFunction(Function &F) {
|
||||
|
||||
{
|
||||
PassManagerPrettyStackEntry X(P, *CurrentLoop->getHeader());
|
||||
TimeRegion PassTimer(getPassTimer(P));
|
||||
|
||||
Timer *T = StartPassTimer(P);
|
||||
Changed |= P->runOnLoop(CurrentLoop, *this);
|
||||
StopPassTimer(P, T);
|
||||
}
|
||||
|
||||
if (Changed)
|
||||
@@ -246,10 +245,9 @@ bool LPPassManager::runOnFunction(Function &F) {
|
||||
// is a function pass and it's really expensive to verify every
|
||||
// loop in the function every time. That level of checking can be
|
||||
// enabled with the -verify-loop-info option.
|
||||
{
|
||||
TimeRegion PassTimer(getPassTimer(LI));
|
||||
CurrentLoop->verifyLoop();
|
||||
}
|
||||
Timer *T = StartPassTimer(LI);
|
||||
CurrentLoop->verifyLoop();
|
||||
StopPassTimer(LI, T);
|
||||
|
||||
// Then call the regular verifyAnalysis functions.
|
||||
verifyPreservedAnalysis(P);
|
||||
|
||||
Reference in New Issue
Block a user