[Mlir-commits] [mlir] [tosa] : Enhance EqualizeRanks to handle dynamic dimensions. (PR #168564)
Sayan Saha
llvmlistbot at llvm.org
Tue Nov 18 11:24:32 PST 2025
================
@@ -87,7 +89,12 @@ computeReshapeOutput(ArrayRef<int64_t> higherRankShape,
higherRankDim = higherRankShape[i + rankDiff];
lowerRankDim = lowerRankShape[i];
- if (lowerRankDim != 1 && higherRankDim != 1 &&
+ auto isKnownStaticShapeNotEqualToOne = [](int64_t dim) {
----------------
sahas3 wrote:
Sure, that's more readable.
https://github.com/llvm/llvm-project/pull/168564
More information about the Mlir-commits
mailing list