Skip to content

Commit f902a7e

Browse files
committed
[HotColdSplit] Fix variable name spelling
1 parent 7d32e6e commit f902a7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Transforms/IPO/HotColdSplitting.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ STATISTIC(NumColdRegionsOutlined, "Number of cold regions outlined.");
7878

7979
using namespace llvm;
8080

81-
static cl::opt<bool> EnableStaticAnalyis("hot-cold-static-analysis",
82-
cl::init(true), cl::Hidden);
81+
static cl::opt<bool> EnableStaticAnalysis("hot-cold-static-analysis",
82+
cl::init(true), cl::Hidden);
8383

8484
static cl::opt<int>
8585
SplittingThreshold("hotcoldsplit-threshold", cl::init(2), cl::Hidden,
@@ -599,7 +599,7 @@ bool HotColdSplitting::outlineColdRegions(Function &F, bool HasProfileSummary) {
599599
continue;
600600

601601
bool Cold = (BFI && PSI->isColdBlock(BB, BFI)) ||
602-
(EnableStaticAnalyis && unlikelyExecuted(*BB, PSI, BFI));
602+
(EnableStaticAnalysis && unlikelyExecuted(*BB, PSI, BFI));
603603
if (!Cold)
604604
continue;
605605

0 commit comments

Comments
 (0)