onnx-mlir/test/mlir/krnl
Haruki Imai 278f10c3a4
Normalize memrefs with affine_map in krnl.memcpy (#322)
* Normalize memrefs with affine_map in krnl.memcpy

Added a trait of `MemRefsNormalizable` in `krnl.memcpy` to have
`krnl.memcpy` normalizable.
Reference: https://reviews.llvm.org/D86236

Signed-off-by: Haruki Imai <imaihal@jp.ibm.com>

* Simplified test case about normalizing memrefs in krnl.memcpy

Signed-off-by: Haruki Imai <imaihal@jp.ibm.com>

* Remove other krnl ops from test case for simplification

Signed-off-by: Haruki Imai <imaihal@jp.ibm.com>

* Fixed test code

Signed-off-by: Haruki Imai <imaihal@jp.ibm.com>

Co-authored-by: Alexandre Eichenberger <alexe@us.ibm.com>
2020-09-25 14:36:15 -04:00
..
pack_krnl_constants_be Compiling Models with Large Constant Arrays (#146) 2020-06-12 10:27:05 +08:00
pack_krnl_constants_le Compiling Models with Large Constant Arrays (#146) 2020-06-12 10:27:05 +08:00
block.mlir [NFC] Rename passes for stylistic consistency. (#232) 2020-07-31 21:37:35 +08:00
constant.mlir Using onnx-mlir through incremental stages (#257) 2020-09-10 10:29:55 +08:00
krnl_bundle_memory_pool.mlir Emit the dynamic memory pool (#290) 2020-09-03 10:31:06 -04:00
krnl_disconnect_dim_from_alloc.mlir Improve support for krnl.dim (#317) 2020-09-23 14:36:16 -04:00
krnl_getref_lowering.mlir Update LLVM commit ID to the version that corresponds to MLIR News, 13th edition (8/7/2020) (#248) 2020-08-14 12:52:48 +08:00
krnl_normalization.mlir Normalize memrefs with affine_map in krnl.memcpy (#322) 2020-09-25 14:36:15 -04:00
krnl_shape_lowering.mlir Introduce krnl.shape operation and its lowering (#267) 2020-08-19 12:57:40 -04:00
memory_pool.mlir Update LLVM commit ID to the version that corresponds to MLIR News, 13th edition (8/7/2020) (#248) 2020-08-14 12:52:48 +08:00
ops.mlir Remove optimize_loops/return_loops op. (#200) 2020-07-08 12:49:15 +08:00
pack_consts_mix_types.mlir Compiling Models with Large Constant Arrays (#146) 2020-06-12 10:27:05 +08:00
pack_krnl_consts_to_file.mlir Compiling Models with Large Constant Arrays (#146) 2020-06-12 10:27:05 +08:00
permute.mlir [NFC] Rename passes for stylistic consistency. (#232) 2020-07-31 21:37:35 +08:00
reshape.mlir Using onnx-mlir through incremental stages (#257) 2020-09-10 10:29:55 +08:00
unroll.mlir [NFC] Rename passes for stylistic consistency. (#232) 2020-07-31 21:37:35 +08:00