llvm-project/mlir/test/AffineOps
Uday Bondhugula bd7de6d4df Add rewrite pattern to compose maps into affine load/stores
- add canonicalization pattern to compose maps into affine loads/stores;
  templatize the pattern and reuse it for affine.apply as well

- rename getIndices -> getMapOperands() (getIndices is confusing since
  these are no longer the indices themselves but operands to the map
  whose results are the indices). This also makes the accessor uniform
  across affine.apply/load/store. Change arg names on the affine
  load/store builder to avoid confusion. Drop an unused confusing build
  method on AffineStoreOp.

- update incomplete doc comment for canonicalizeMapAndOperands (this was
  missed from a previous update).

Addresses issue tensorflow/mlir#121

Signed-off-by: Uday Bondhugula <uday@polymagelabs.com>

Closes tensorflow/mlir#122

COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/122 from bondhugula:compose-load-store e71de1771e56a85c4282c10cb43f30cef0701c4f
PiperOrigin-RevId: 269619540
2019-09-17 11:49:45 -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
ops.mlir Fix typo in test/AffineOps/ops.mlir 2019-09-15 09:06:39 -07:00