[Mlir-commits] [mlir] [mlir][llvm] Add support for memset.inline (PR #115711)
Tobias Gysi
llvmlistbot at llvm.org
Tue Nov 12 04:08:19 PST 2024
================
@@ -931,38 +939,52 @@ static bool areAllIndicesI32(const DestructurableMemorySlot &slot) {
}
//===----------------------------------------------------------------------===//
-// Interfaces for memset
+// Interfaces for memset && memset.inline
//===----------------------------------------------------------------------===//
-bool LLVM::MemsetOp::loadsFrom(const MemorySlot &slot) { return false; }
+template <class MemsetLike>
+static bool memsetCanRewire(MemsetLike op, const DestructurableMemorySlot &slot,
----------------
gysit wrote:
Ok I didn't see that. Then let's stick to the convention we already have.
https://github.com/llvm/llvm-project/pull/115711
More information about the Mlir-commits
mailing list