mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[HotColdSplit] Fix variable name spelling
This commit is contained in:
parent
e685b4674e
commit
11fc43fd2a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user