[llvm] d40fd9e - Fix typo in module inliner priority flag

Siu Chi Chan via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 16 09:26:43 PDT 2023


Author: Siu Chi Chan
Date: 2023-08-16T12:26:06-04:00
New Revision: d40fd9e1d99c241241af43368acba129fae21cde

URL: https://github.com/llvm/llvm-project/commit/d40fd9e1d99c241241af43368acba129fae21cde
DIFF: https://github.com/llvm/llvm-project/commit/d40fd9e1d99c241241af43368acba129fae21cde.diff

LOG: Fix typo in module inliner priority flag

Change-Id: If4a830fdacf1b0e7b7634f48f648427d5ec7ea21

Reviewed By: kazu, arsenm

Differential Revision: https://reviews.llvm.org/D158013

Added: 
    

Modified: 
    llvm/lib/Analysis/InlineOrder.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Analysis/InlineOrder.cpp b/llvm/lib/Analysis/InlineOrder.cpp
index 3b85820d7b8f1a..503880e3e8f0e9 100644
--- a/llvm/lib/Analysis/InlineOrder.cpp
+++ b/llvm/lib/Analysis/InlineOrder.cpp
@@ -36,7 +36,7 @@ static cl::opt<InlinePriorityMode> UseInlinePriority(
                clEnumValN(InlinePriorityMode::ML, "ml", "Use ML.")));
 
 static cl::opt<int> ModuleInlinerTopPriorityThreshold(
-    "moudle-inliner-top-priority-threshold", cl::Hidden, cl::init(0),
+    "module-inliner-top-priority-threshold", cl::Hidden, cl::init(0),
     cl::desc("The cost threshold for call sites that get inlined without the "
              "cost-benefit analysis"));
 


        


More information about the llvm-commits mailing list