aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorMatthias Springer <springerm@google.com>2021-11-05 09:35:14 +0900
committerMatthias Springer <springerm@google.com>2021-11-05 09:44:10 +0900
commit9714444f1e43fafc7e5235f4d3675b9d2056d97b (patch)
tree2999b5556c65ad7ecf26606551e089de57ef4c66 /llvm/lib/IR/Module.cpp
parent7373cabcda8f5c0ed83cf40034ff69bc47a4a8c9 (diff)
downloadllvm-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