[Mlir-commits] [mlir] [mlir][Tensor] Add rank-reducing slice in generatedSlices (PR #174248)
Jakub Kuderski
llvmlistbot at llvm.org
Tue Jan 6 09:51:42 PST 2026
================
@@ -1327,7 +1327,18 @@ getUntiledProducerFromSliceSource(OpOperand *source,
}
if (loopIt == loops.rend())
destinationIterArg = source;
- return {dyn_cast<OpResult>(source->get()), destinationIterArg};
+
+ OpResult result = dyn_cast<OpResult>(source->get());
----------------
kuhar wrote:
```suggestion
auto result = dyn_cast<OpResult>(source->get());
```
https://github.com/llvm/llvm-project/pull/174248
More information about the Mlir-commits
mailing list