The bufferization implementation of func.func and func.call can be simplified. It still contained code that was necessary when One-Shot Bufferize removed return values. This functionality has been extracted into a separate pass a while ago.
Depends On: D157863
There is no way for a static method to be overridden, the body is supposed to use information from the concrete op class here otherwise it does not make sense.
Shall we make it a non-static method?