[Op][Binding] Support general load/store operation
Closed this issue · 0 comments
chhzh123 commented
Currently we use affine.load
and affine.store
to represent loading an element from an array or storing to it. However, not all the indices can be represented in AffineExpr
(e.g. A[arr[0]]), thus we need to use more generalized operations memref.load
and memref.store
to implement the remaining cases.