[PATCH] D85860: [HotColdSplit] Fix variable name spelling
Ruijie Fang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 16:01:15 PDT 2020
rjf created this revision.
rjf added reviewers: hiraditya, vsk, rcorcs.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
rjf requested review of this revision.
Rename `EnableStaticAnalyis` to `EnableStaticAnalysis`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D85860
Files:
llvm/lib/Transforms/IPO/HotColdSplitting.cpp
Index: llvm/lib/Transforms/IPO/HotColdSplitting.cpp
===================================================================
--- llvm/lib/Transforms/IPO/HotColdSplitting.cpp
+++ llvm/lib/Transforms/IPO/HotColdSplitting.cpp
@@ -78,8 +78,8 @@
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 @@
continue;
bool Cold = (BFI && PSI->isColdBlock(BB, BFI)) ||
- (EnableStaticAnalyis && unlikelyExecuted(*BB, PSI, BFI));
+ (EnableStaticAnalysis && unlikelyExecuted(*BB, PSI, BFI));
if (!Cold)
continue;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85860.285202.patch
Type: text/x-patch
Size: 914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200812/ab3237ad/attachment.bin>
More information about the llvm-commits
mailing list