[Mlir-commits] [mlir] [mlir][llvm] Add support for memset.inline (PR #115711)

Tobias Gysi llvmlistbot at llvm.org
Mon Nov 11 08:21:05 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>
----------------
gysit wrote:

```suggestion
template <class MemsetIntr>
```
nit: should we use MemsetIntr to match the naming used by definitelyWritesOnlyWithinSlot? Here and below.

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


More information about the Mlir-commits mailing list