Revert "[mlir][bufferization] Remove unused function"

This reverts commit cb5fe6ce75.

This caused problems in downstream projects. We are reverting to give
them more time for integration.
This commit is contained in:
Martin Erhart 2023-09-13 13:33:31 +00:00
parent 75398f28eb
commit 99cd1e7004

View File

@ -16,6 +16,8 @@
using namespace mlir;
using namespace mlir::bufferization;
static bool isMemref(Value v) { return v.getType().isa<BaseMemRefType>(); }
namespace {
/// Provides custom logic to materialize ownership indicator values for the
/// result value of 'arith.select'. Instead of cloning or runtime alias