[llvm] [RISCV] Add optimization for memset inline (PR #146673)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 6 20:20:22 PDT 2025


================
@@ -2020,7 +2020,7 @@ class LLVM_ABI TargetLoweringBase {
   /// It returns EVT::Other if the type should be determined using generic
   /// target-independent logic.
   virtual EVT
-  getOptimalMemOpType(const MemOp &Op,
+  getOptimalMemOpType(LLVMContext &Context, const MemOp &Op,
                       const AttributeList & /*FuncAttributes*/) const {
     return MVT::Other;
   }
----------------
arsenm wrote:

Can you precommit these signature changes 

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


More information about the llvm-commits mailing list