This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Provide getMixedOffsets/sizes/strides as free functions
ClosedPublic

Authored by Hardcode84 on Jan 12 2022, 5:48 AM.

Details

Summary
  • This is usedul when you need to build mixed array from external static/dynamic arrays (e.g. from adaptor during dialect conversion)
  • Also, to reduce C++ code in td and generated files

Diff Detail

Event Timeline

Hardcode84 created this revision.Jan 12 2022, 5:48 AM
Hardcode84 requested review of this revision.Jan 12 2022, 5:48 AM
nicolasvasilache accepted this revision.Jan 12 2022, 6:02 AM
This revision is now accepted and ready to land.Jan 12 2022, 6:02 AM

Fix linux build