[NFC][MLInliner] Don't initialize in an assert.

Since the build bots have assertions enabled, this flew under the radar.
This commit is contained in:
Mircea Trofin 2020-09-09 09:55:06 -07:00
parent 82fd96da09
commit 7134ae5a9c

View File

@ -171,7 +171,7 @@ unsigned getMaxDominatorTreeDepth(const Function &F,
IRToNativeSizeLearning::FunctionFeatures
IRToNativeSizeLearning::getFunctionFeatures(Function &F,
FunctionAnalysisManager &FAM) {
assert(ensureSortedTuples() && "expected lazy initialization");
ensureSortedTuples();
auto &DomTree = FAM.getResult<DominatorTreeAnalysis>(F);
FunctionFeatures FF;