[llvm] f902a7e - [HotColdSplit] Fix variable name spelling
Aditya Kumar via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 22:58:53 PDT 2020
Author: Aditya Kumar
Date: 2020-08-12T22:50:08-07:00
New Revision: f902a7eccf30a762d9a533c3884edfb692c26a09
URL: https://github.com/llvm/llvm-project/commit/f902a7eccf30a762d9a533c3884edfb692c26a09
DIFF: https://github.com/llvm/llvm-project/commit/f902a7eccf30a762d9a533c3884edfb692c26a09.diff
LOG: [HotColdSplit] Fix variable name spelling
Added:
Modified:
llvm/lib/Transforms/IPO/HotColdSplitting.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/IPO/HotColdSplitting.cpp b/llvm/lib/Transforms/IPO/HotColdSplitting.cpp
index a83ca582f337..ad7df0607377 100644
--- a/llvm/lib/Transforms/IPO/HotColdSplitting.cpp
+++ b/llvm/lib/Transforms/IPO/HotColdSplitting.cpp
@@ -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;
More information about the llvm-commits
mailing list