[Mlir-commits] [mlir] [mlir][tosa] Harden folds/canonicalizations for unranked and dynamic shapes (PR #188188)
Hocky Yudhiono
llvmlistbot at llvm.org
Thu Mar 26 04:18:39 PDT 2026
================
@@ -946,6 +955,11 @@ binaryFolder(DenseElementsAttr lhs, DenseElementsAttr rhs, ShapedType returnTy,
if (!lhs || !rhs)
return {};
+ // DenseElementsAttr::get needs a static shape. Result types may be unranked
----------------
hockyy wrote:
all cool, thank you so much again for the review. Addressed here 44184f56a452
https://github.com/llvm/llvm-project/pull/188188
More information about the Mlir-commits
mailing list