[MLIR][LLVM] Mark read/write behavior of memcpy/memset/memmove
authorWilliam S. Moses <gh@wsmoses.com>
Mon, 28 Mar 2022 01:59:52 +0000 (21:59 -0400)
committerWilliam S. Moses <gh@wsmoses.com>
Mon, 28 Mar 2022 17:57:02 +0000 (13:57 -0400)
commitcd331af06d35fb8469cb7d47eff9527993a5c67b
tree7b9a16281b3c328319349de88f54e16d4e31c275
parent39294589bf02a8f420430687be8a9c665d2f79dd
[MLIR][LLVM] Mark read/write behavior of memcpy/memset/memmove

This commit adds MemWrite (and MemRead, as appropriate) to the arugments of the memset/memcpy/memmove intrinsics within the LLVM dialect

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D122552
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td