This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] replace ad-hoc MemRef struct with CRunnerUtils definition
ClosedPublic

Authored by aartbik on Sep 21 2021, 11:02 PM.

Details

Summary

This revision removes the ad-hoc MemRefs that were needed using the old
ABI (when we still passed by value) and replaces them with the shared
StridedMemRef definitions of CRunnerUtils (possible now that we pass by
pointer). This avoids code duplication and makes sure we have a consistent
view of strided memory references in all our support libraries.

Diff Detail