diff options
author | Matthias Springer <springerm@google.com> | 2021-11-05 09:35:14 +0900 |
---|---|---|
committer | Matthias Springer <springerm@google.com> | 2021-11-05 09:44:10 +0900 |
commit | 9714444f1e43fafc7e5235f4d3675b9d2056d97b (patch) | |
tree | 2999b5556c65ad7ecf26606551e089de57ef4c66 /llvm/lib/IR/Module.cpp | |
parent | 7373cabcda8f5c0ed83cf40034ff69bc47a4a8c9 (diff) | |
download | llvm-9714444f1e43fafc7e5235f4d3675b9d2056d97b.zip llvm-9714444f1e43fafc7e5235f4d3675b9d2056d97b.tar.gz llvm-9714444f1e43fafc7e5235f4d3675b9d2056d97b.tar.bz2 |
[mlir][linalg][bufferize] Remove redundant methods from op interface
These two methods are redundant and removed:
* `bufferizesToAliasOnly`: If not `bufferizesToMemoryRead` and not `bufferizesToMemoryWrite` but `getAliasingOpResult` returns a non-null value, we know that this OpOperand is alias-only. This method now has a default implementation and does not have to be implemented.
* `getInplaceableOpResult`: The analysis does not differentiate between "inplaceable" and "aliasing". The only thing that matters is whether or not OpOperand and OpResult are aliasing. That is the key property that makes buffer copies necessary.
Differential Revision: https://reviews.llvm.org/D112902
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions