[llvm] [RISCV][IA] Factor out code for extracting operands from mem insts [nfc] (PR #149344)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 17 09:02:03 PDT 2025


================
@@ -102,6 +102,52 @@ static bool isMultipleOfN(const Value *V, const DataLayout &DL, unsigned N) {
   return false;
 }
 
+static bool getMemOperands(IRBuilderBase &Builder, unsigned Factor,
----------------
preames wrote:

This interface ends up being a lot uglier than I'd hoped.  I still think this is probably the right direction overall, but if anyone has any good alternate ideas, please share!

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


More information about the llvm-commits mailing list