Samarth Narang 4b893d25ea
[mlir][tensor] Emit diagnostics for unranked tensor reshape ops instead of asserting (#179005)
This PR updates tensor.expand_shape and tensor.collapse_shape ODS
definitions to require ranked tensor operands/results by switching from
AnyTensor to AnyRankedTensor.

Fixes https://github.com/llvm/llvm-project/issues/178228
2026-02-02 16:56:59 -05:00
..

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.