mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Now IndVarSimplify is a LoopPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35003 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Analysis/LoopPass.h"
|
||||
#include "llvm/Analysis/ScalarEvolutionExpander.h"
|
||||
using namespace llvm;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
@@ -148,6 +149,8 @@ void LPPassManager::getAnalysisUsage(AnalysisUsage &Info) const {
|
||||
// LPPassManager needs LoopInfo. In the long term LoopInfo class will
|
||||
// become part of LPPassManager.
|
||||
Info.addRequired<LoopInfo>();
|
||||
// Used by IndVar doInitialization.
|
||||
Info.addRequired<ScalarEvolution>();
|
||||
Info.setPreservesAll();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user