* 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>