[clang] [llvm] [RISCV] Add MIPS extensions (PR #121394)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 14:35:23 PST 2025


================
@@ -238,3 +247,11 @@ void RISCVSubtarget::overridePostRASchedPolicy(MachineSchedPolicy &Policy,
     Policy.OnlyBottomUp = false;
   }
 }
+
+bool RISCVSubtarget::useLoadStorePairs() const {
+  return UseMIPSLoadStorePairsOpt && HasVendorXMIPSLSP;
+}
----------------
lenary wrote:

Nit: I'm not sure this is used any more.

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


More information about the llvm-commits mailing list