[Mlir-commits] [mlir] [mlir] Extend moveValueDefinitions/moveOperationDependencies with cross-region support (PR #176343)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jan 21 09:36:21 PST 2026
================
@@ -1096,31 +1096,116 @@ LogicalResult mlir::simplifyRegions(RewriterBase &rewriter,
// Move operation dependencies
//===---------------------------------------------------------------------===//
+/// Check if a block argument would dominate at the insertion point.
+/// Returns true if there's a dominance issue.
+static bool blockArgHasDominanceIssue(BlockArgument arg, Block *insertionBlock,
----------------
MaheshRavishankar wrote:
Nit: I think the suffix of "Issue" is strange. Maybe rename to `blockArgDominatesInsertionPoint`
https://github.com/llvm/llvm-project/pull/176343
More information about the Mlir-commits
mailing list