[mlir] Support bufferization of arith.constant to memref.global with memory space
authorMaya Amrami <mayaam88@gmail.com>
Sun, 19 Mar 2023 14:28:23 +0000 (16:28 +0200)
committerMaya Amrami <mayaam88@gmail.com>
Mon, 20 Mar 2023 15:09:51 +0000 (17:09 +0200)
commit8bb5ca58327ec5d0788b1546844b06b1118c5cb5
tree7cb0e98d2e6334e92cee462bd934bf859d87915d
parent5a222c0b82f8ade6904aa25b33fe93c2d09516f8
[mlir] Support bufferization of arith.constant to memref.global with memory space

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D146381
mlir/include/mlir/Dialect/Bufferization/Transforms/BufferUtils.h
mlir/lib/Dialect/Arith/Transforms/BufferizableOpInterfaceImpl.cpp
mlir/lib/Dialect/Bufferization/Transforms/BufferUtils.cpp
mlir/test/Dialect/Arith/one-shot-bufferize-memory-space-invalid.mlir