[HotColdSplit] Fix variable name spelling

This commit is contained in:
Aditya Kumar 2020-08-12 22:38:03 -07:00
parent 7d32e6e3f0
commit f902a7eccf
1 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ STATISTIC(NumColdRegionsOutlined, "Number of cold regions outlined.");
using namespace llvm;
static cl::opt<bool> EnableStaticAnalyis("hot-cold-static-analysis",
static cl::opt<bool> EnableStaticAnalysis("hot-cold-static-analysis",
cl::init(true), cl::Hidden);
static cl::opt<int>
@ -599,7 +599,7 @@ bool HotColdSplitting::outlineColdRegions(Function &F, bool HasProfileSummary) {
continue;
bool Cold = (BFI && PSI->isColdBlock(BB, BFI)) ||
(EnableStaticAnalyis && unlikelyExecuted(*BB, PSI, BFI));
(EnableStaticAnalysis && unlikelyExecuted(*BB, PSI, BFI));
if (!Cold)
continue;