[Mlir-commits] [mlir] [mlir][Bufferization] Accelerate bufferization pass (PR #160655)
Matthias Springer
llvmlistbot at llvm.org
Thu Sep 25 03:00:02 PDT 2025
================
@@ -577,6 +577,9 @@ class AnalysisState {
/// regions.
DenseMap<std::pair<Operation *, Operation *>, bool>
insideMutuallyExclusiveRegionsCache;
+
+ /// Cache for getAliasingOpOperands results to avoid expensive recomputation.
+ mutable DenseMap<Value, AliasingOpOperandList> aliasingOpOperandsCache;
----------------
matthias-springer wrote:
Is the `mutable` keyword necessary here?
https://github.com/llvm/llvm-project/pull/160655
More information about the Mlir-commits
mailing list