This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Fix bufferize_to_allocation error checking
ClosedPublic

Authored by springerm on Sep 4 2023, 1:40 AM.

Details

Summary

bufferize_to_allocation does not supports ops with regions, unless bufferize_destination_only is set. In that case, only the operand is replaced with an allocation and wrapped in a to_tensor op. The error checking was too strict.

Diff Detail