mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
Tell PassManager that this pass does not invalidate the CFG so that dominator
information and Loop info will not have to be recomputed after this runs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4269 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
54b866b896
commit
a0877726df
@ -1499,6 +1499,7 @@ namespace {
|
||||
// getAnalysisUsage - We use LiveVarInfo...
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.addRequired<FunctionLiveVarInfo>();
|
||||
AU.setPreservesCFG();
|
||||
}
|
||||
|
||||
bool runOnFunction(Function &F);
|
||||
|
@ -63,6 +63,10 @@ namespace {
|
||||
int ruleForNode, short* nts);
|
||||
public:
|
||||
InstructionSelection(TargetMachine &T) : Target(T) {}
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.setPreservesCFG();
|
||||
}
|
||||
|
||||
bool runOnFunction(Function &F);
|
||||
};
|
||||
|
@ -1499,6 +1499,7 @@ namespace {
|
||||
// getAnalysisUsage - We use LiveVarInfo...
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.addRequired<FunctionLiveVarInfo>();
|
||||
AU.setPreservesCFG();
|
||||
}
|
||||
|
||||
bool runOnFunction(Function &F);
|
||||
|
@ -63,6 +63,10 @@ namespace {
|
||||
int ruleForNode, short* nts);
|
||||
public:
|
||||
InstructionSelection(TargetMachine &T) : Target(T) {}
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.setPreservesCFG();
|
||||
}
|
||||
|
||||
bool runOnFunction(Function &F);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user