File tree Expand file tree Collapse file tree 3 files changed +0
-23
lines changed Expand file tree Collapse file tree 3 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -6489,7 +6489,6 @@ class Compiler
6489
6489
bool fgPgoSynthesized;
6490
6490
bool fgPgoDynamic;
6491
6491
bool fgPgoConsistent;
6492
- bool fgPgoSingleEdge = false ;
6493
6492
6494
6493
#ifdef DEBUG
6495
6494
bool fgPgoDeferredInconsistency;
Original file line number Diff line number Diff line change @@ -89,11 +89,6 @@ bool Compiler::fgHaveSufficientProfileWeights()
89
89
case ICorJitInfo::PgoSource::Blend:
90
90
return true ;
91
91
92
- case ICorJitInfo::PgoSource::Synthesis:
93
- // Single-edge methods always have sufficient profile data.
94
- // Assuming we don't synthesize value and class profile data (which we don't currently).
95
- return fgPgoSingleEdge;
96
-
97
92
case ICorJitInfo::PgoSource::Static:
98
93
{
99
94
// We sometimes call this very early, eg evaluating the prejit root.
@@ -139,12 +134,6 @@ bool Compiler::fgHaveTrustedProfileWeights()
139
134
case ICorJitInfo::PgoSource::Blend:
140
135
case ICorJitInfo::PgoSource::Text:
141
136
return true ;
142
-
143
- case ICorJitInfo::PgoSource::Synthesis:
144
- // Single-edge methods with synthetic profile are trustful.
145
- // Assuming we don't synthesize value and class profile data (which we don't currently).
146
- return fgPgoSingleEdge;
147
-
148
137
default :
149
138
return false ;
150
139
}
Original file line number Diff line number Diff line change @@ -148,17 +148,6 @@ void ProfileSynthesis::Run(ProfileSynthesisOption option)
148
148
m_comp->fgPgoSynthesized = true ;
149
149
m_comp->fgPgoConsistent = !m_approximate;
150
150
151
- // A simple check whether the current method has more than one edge.
152
- m_comp->fgPgoSingleEdge = true ;
153
- for (BasicBlock* const block : m_comp->Blocks ())
154
- {
155
- if (block->NumSucc () > 1 )
156
- {
157
- m_comp->fgPgoSingleEdge = false ;
158
- break ;
159
- }
160
- }
161
-
162
151
m_comp->Metrics .ProfileSynthesizedBlendedOrRepaired ++;
163
152
164
153
if (m_approximate)
You can’t perform that action at this time.
0 commit comments