[Mlir-commits] [mlir] [mlir][transform] TrackingListener: Improve dead handles detection (PR #74290)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Mon Dec 4 02:54:03 PST 2023
================
@@ -784,12 +782,12 @@ class TransformState {
/// location.
InvalidatedHandleMap invalidatedHandles;
-#if LLVM_ENABLE_ABI_BREAKING_CHECKS
/// A stack of nested regions that are being processed in the transform IR.
/// Each region must be an ancestor of the following regions in this list.
/// These are also the keys for "mappings".
- SmallVector<Region *> regionStack;
-#endif // LLVM_ENABLE_ABI_BREAKING_CHECKS
+ SmallVector<RegionScope *> regionStack;
+
+ std::unique_ptr<RegionScope> topLevelRegionScope;
----------------
ftynse wrote:
Ditto.
https://github.com/llvm/llvm-project/pull/74290
More information about the Mlir-commits
mailing list