[llvm] [RISCV] Generate MIPS load/store pair instructions (PR #124717)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 13 15:04:52 PST 2025


================
@@ -62,14 +62,14 @@ static cl::opt<unsigned> RISCVMinimumJumpTableEntries(
     "riscv-min-jump-table-entries", cl::Hidden,
     cl::desc("Set minimum number of entries to use a jump table on RISCV"));
 
-static cl::opt<bool>
-    UseMIPSLoadStorePairsOpt("mips-riscv-load-store-pairs",
-                             cl::desc("RISCV: Optimize for load-store bonding"),
-                             cl::init(false), cl::Hidden);
+static cl::opt<bool> UseMIPSLoadStorePairsOpt(
+    "riscv-mips-load-store-pairs",
+    cl::desc("Enable the load/store pair optimization pass"), cl::init(false),
+    cl::Hidden);
 
-static cl::opt<bool>
-    UseCCMovInsn("riscv-ccmov", cl::desc("RISCV: Use 'mips.ccmov' instruction"),
-                 cl::init(true), cl::Hidden);
+static cl::opt<bool> UseCCMovInsn("riscv-ccmov",
----------------
topperc wrote:

This should have "use-" in the name too.

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


More information about the llvm-commits mailing list