This is an archive of the discontinued LLVM Phabricator instance.

[mlir][affine] Skip point-wise copy for scalar memref
Needs ReviewPublic

Authored by Lewuathe on Mar 30 2023, 10:07 PM.

Details

Summary

Point wise copy does not consider scalar typed memref and it does not generate any affine.for on top. It causes segmentation fault. We can skip the point-wise copy in case of scalar memref. Issue: https://github.com/llvm/llvm-project/issues/61167

Diff Detail

Event Timeline

Lewuathe created this revision.Mar 30 2023, 10:07 PM
Lewuathe requested review of this revision.Mar 30 2023, 10:07 PM

@bondhugula @nicolasvasilache @dcaballe Sorry for bothering you but can I ask you to review this change at your convenience?