[Mlir-commits] [mlir] [mlir][interface] Add getRegionNonForwardedValues API to RegionBranchOpInterface (PR #175212)
Matthias Springer
llvmlistbot at llvm.org
Fri Jan 23 03:37:11 PST 2026
================
@@ -443,6 +442,31 @@ RegionBranchOpInterface::getSuccessorOperands(RegionBranchPoint src,
return src.getTerminatorPredecessorOrNull().getSuccessorOperands(dest);
}
+SmallVector<Value>
+RegionBranchOpInterface::getRegionNonForwardedValues(RegionBranchPoint src,
----------------
matthias-springer wrote:
Maybe also assert that the elements that we are removing are exactly the successorInputs. (To protect against incorrect `getSuccessorInputs` implementation by the user.)
]
https://github.com/llvm/llvm-project/pull/175212
More information about the Mlir-commits
mailing list