mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Provide the right AnalysisID for postdominators
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1616 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0253ceeb56
commit
65b9709071
@ -152,10 +152,12 @@ void cfg::DominatorSet::calcPostDominatorSet(Method *M) {
|
||||
void cfg::DominatorSet::getAnalysisUsageInfo(Pass::AnalysisSet &Requires,
|
||||
Pass::AnalysisSet &Destroyed,
|
||||
Pass::AnalysisSet &Provided) {
|
||||
if (isPostDominator())
|
||||
if (isPostDominator()) {
|
||||
Provided.push_back(PostDomID);
|
||||
Requires.push_back(UnifyMethodExitNodes::ID);
|
||||
|
||||
Provided.push_back(ID);
|
||||
} else {
|
||||
Provided.push_back(ID);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -152,10 +152,12 @@ void cfg::DominatorSet::calcPostDominatorSet(Method *M) {
|
||||
void cfg::DominatorSet::getAnalysisUsageInfo(Pass::AnalysisSet &Requires,
|
||||
Pass::AnalysisSet &Destroyed,
|
||||
Pass::AnalysisSet &Provided) {
|
||||
if (isPostDominator())
|
||||
if (isPostDominator()) {
|
||||
Provided.push_back(PostDomID);
|
||||
Requires.push_back(UnifyMethodExitNodes::ID);
|
||||
|
||||
Provided.push_back(ID);
|
||||
} else {
|
||||
Provided.push_back(ID);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user