[Mlir-commits] [mlir] [MLIR] Change getBackwardSlice to return a logicalresult rather than … (PR #140961)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Wed May 21 14:38:03 PDT 2025
================
@@ -193,7 +204,8 @@ static bool dependsOnCarriedVals(Value value,
sliceOptions.filter = [&](Operation *op) {
return !ancestorOp->isAncestor(op);
};
- getBackwardSlice(value, &slice, sliceOptions);
+ auto result = getBackwardSlice(value, &slice, sliceOptions);
----------------
ftynse wrote:
```suggestion
LogicalResult result = getBackwardSlice(value, &slice, sliceOptions);
```
https://github.com/llvm/llvm-project/pull/140961
More information about the Mlir-commits
mailing list