This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferization] Restrict function boundary buffer. to func.call.
ClosedPublic

Authored by ingomueller-net on Feb 10 2023, 3:36 AM.

Details

Summary

The current bufferization on function boundaries works on func.func
and any call op implementing CallOpInterface. Then, an error is thrown
if there is a CallOpInterface op that is not func.call. This is
unnecessary and breaks the pass whenever such an op occurs (such as
llvm.call). This PR simply restricts the handling of call ops to
func.call.

Diff Detail

Event Timeline

ingomueller-net requested review of this revision.Feb 10 2023, 3:36 AM
springerm accepted this revision.Feb 10 2023, 3:40 AM
This revision is now accepted and ready to land.Feb 10 2023, 3:40 AM