[Mlir-commits] [mlir] [MLIR][Shape] Fix crash in ShapeOfOp canonicalization during inlining (PR #178839)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Feb 9 12:11:42 PST 2026


Sejal-07661 wrote:

Fix ShapeOfOp canonicalization for dynamic extent tensors by constructing shape.const_shape with a concrete ranked tensor type and inserting a tensor.cast when needed.

Updated canonicalize.mlir accordingly. All Shape dialect tests pass locally.


https://github.com/llvm/llvm-project/pull/178839


More information about the Mlir-commits mailing list