[Mlir-commits] [mlir] [MLIR][Math] Handle dynamic-shaped tensors without assertion (PR #204510)
Matthias Springer
llvmlistbot at llvm.org
Fri Jun 26 03:50:54 PDT 2026
================
@@ -77,6 +86,9 @@ static LogicalResult convertSinhOp(math::SinhOp op, PatternRewriter &rewriter) {
Value operand = op.getOperand();
Type opType = operand.getType();
+ if (isDynamicShaped(opType))
----------------
matthias-springer wrote:
There's no nice way to handle unranked tensors. They are mostly used at the function / ABI boundary, so skipping them sounds like the right approach to me.
https://github.com/llvm/llvm-project/pull/204510
More information about the Mlir-commits
mailing list