[llvm] [RISCV] Add MinimumJumpTableEntries to TuneInfo (PR #72963)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 09:29:29 PST 2023


================
@@ -57,6 +57,10 @@ static cl::opt<unsigned> RISCVMaxBuildIntsCost(
 static cl::opt<bool> UseAA("riscv-use-aa", cl::init(true),
                            cl::desc("Enable the use of AA during codegen."));
 
+static cl::opt<unsigned> RISCVMinimumJumpTableEntries(
+    "riscv-min-jump-table-entries", cl::init(5), cl::Hidden,
----------------
mshockwave wrote:

I don't think you need the default value based on how RISCVMinimumJumpTableEntries is used.

https://github.com/llvm/llvm-project/pull/72963


More information about the llvm-commits mailing list