diff options
author | Martin Erhart <merhart@google.com> | 2023-07-08 08:57:23 +0000 |
---|---|---|
committer | Martin Erhart <merhart@google.com> | 2023-07-08 09:30:41 +0000 |
commit | 9312b4f90fcd9e1bf0186b66912c3b83c2d35f51 (patch) | |
tree | d1a071ea26ed3ed54f806ec4a8c4bb9486be0641 /llvm/lib/Support/Error.cpp | |
parent | fc6b12689c5001aa050fc1d855209a5e319112b7 (diff) | |
download | llvm-9312b4f90fcd9e1bf0186b66912c3b83c2d35f51.zip llvm-9312b4f90fcd9e1bf0186b66912c3b83c2d35f51.tar.gz llvm-9312b4f90fcd9e1bf0186b66912c3b83c2d35f51.tar.bz2 |
[mlir][bufferization] Cache enclosing repetitive region
The `getEnclosingRepetitiveRegion` functions walk the ancestor regions everytime which can be expensive especially when there are multiple regions inbetween. This commit adds a cache to the bufferization analysis to remember the result of the walk.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D154710
Diffstat (limited to 'llvm/lib/Support/Error.cpp')
0 files changed, 0 insertions, 0 deletions