[mlir][bufferization][NFC] Simplify func bufferization state
authorMatthias Springer <springerm@google.com>
Mon, 30 Jan 2023 09:12:28 +0000 (10:12 +0100)
committerMatthias Springer <springerm@google.com>
Mon, 30 Jan 2023 09:14:10 +0000 (10:14 +0100)
commitb7858f85f54c92ea6db2cd94247dea41c0e64026
tree324f3e2a6aa12c582c9422b393ccd46f4ce7beba
parentf3483c23ce2c833f9bcb6edb2ac99e7af76218ad
[mlir][bufferization][NFC] Simplify func bufferization state

The analysis previous kept track of OpOperand -> OpResult and OpResult -> OpOperand aliasing mappings. Only one mapping is needed, the other one can be inferred.

Differential Revision: https://reviews.llvm.org/D142128
mlir/include/mlir/Dialect/Bufferization/Transforms/FuncBufferizableOpInterfaceImpl.h
mlir/lib/Dialect/Bufferization/Transforms/FuncBufferizableOpInterfaceImpl.cpp
mlir/lib/Dialect/Bufferization/Transforms/OneShotModuleBufferize.cpp