[mlir] Expose a function to populate tensor constant bufferization patterns
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 7 Jun 2021 19:57:55 +0000 (21:57 +0200)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 9 Jun 2021 11:47:33 +0000 (13:47 +0200)
commitc0db8d50ca3ceb1301b2ade2fb86c591a5b64e5c
tree0cf469d94fb30400dc40b1ab72d73a80e9a51dd2
parent639b3979310d8cec82b9b0a3ad3e64566244717f
[mlir] Expose a function to populate tensor constant bufferization patterns

This makes it easier to use it from other bufferization passes.

Differential Revision: https://reviews.llvm.org/D103838
mlir/include/mlir/Dialect/StandardOps/Transforms/Passes.h
mlir/lib/Dialect/StandardOps/Transforms/TensorConstantBufferize.cpp