This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferize][NFC] Refactor createAlloc function signature
ClosedPublic

Authored by springerm on Jan 24 2022, 3:19 AM.

Details

Summary

Pass a ValueRange instead of an ArrayRef<Value> for better compatibility. Also provide an additional function overload that automatically deallocates the buffer if specified.

Diff Detail

Event Timeline

springerm created this revision.Jan 24 2022, 3:19 AM
springerm requested review of this revision.Jan 24 2022, 3:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 24 2022, 3:19 AM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 24 2022, 3:26 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.