forked from OSchip/llvm-project
1ce524623c
MemRefType::getStrides uses AffineExpr::walk which operates in post-order from the leaves. In order to compute strides properly, it needs to escape on terminal nodes and analyze binary ops only. This did not work for AffineExpr that consist of a single term (i.e. without a binary op). This CL fixes the corner case and adds relevant tests. PiperOrigin-RevId: 271975746 |
||
---|---|---|
.. | ||
canonicalize.mlir | ||
dma.mlir | ||
inlining.mlir | ||
invalid.mlir | ||
load-store-invalid.mlir | ||
load-store.mlir | ||
memref-stride-calculation.mlir | ||
ops.mlir |