llvm-project/mlir/test/AffineOps
Nicolas Vasilache 1ce524623c Fix MemRefType::getStrides corner case
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
2019-09-30 07:27:39 -07:00
..
canonicalize.mlir Add rewrite pattern to compose maps into affine load/stores 2019-09-17 11:49:45 -07:00
dma.mlir Standardize the value numbering in the AsmPrinter. 2019-07-09 10:41:00 -07:00
inlining.mlir Add support for conservatively inlining Affine operations. 2019-09-05 15:20:25 -07:00
invalid.mlir Emit an error for missing '[' when parsing an AffineMapOfSSAIds. 2019-07-22 15:06:44 -07:00
load-store-invalid.mlir Verify that affine.load/store/dma_start/dma_wait operands are valid dimension or symbol identifiers. 2019-07-27 08:20:38 -07:00
load-store.mlir Fix verification of zero-dim memref in affine.load/affine.store/std.load/std.store 2019-08-07 10:31:49 -07:00
memref-stride-calculation.mlir Fix MemRefType::getStrides corner case 2019-09-30 07:27:39 -07:00
ops.mlir Fix typo in test/AffineOps/ops.mlir 2019-09-15 09:06:39 -07:00