1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00

[HotColdSplit] Fix variable name spelling

This commit is contained in:
Aditya Kumar 2020-08-12 22:38:03 -07:00
parent e685b4674e
commit 11fc43fd2a

View File

@ -78,8 +78,8 @@ STATISTIC(NumColdRegionsOutlined, "Number of cold regions outlined.");
using namespace llvm;
static cl::opt<bool> EnableStaticAnalyis("hot-cold-static-analysis",
cl::init(true), cl::Hidden);
static cl::opt<bool> EnableStaticAnalysis("hot-cold-static-analysis",
cl::init(true), cl::Hidden);
static cl::opt<int>
SplittingThreshold("hotcoldsplit-threshold", cl::init(2), cl::Hidden,
@ -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;