Skip to content
Commit 9312b4f9 authored by Martin Erhart's avatar Martin Erhart
Browse files

[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
parent fc6b1268
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment