[MLIR][Shape] Add canonicalization pattern for `shape.rank`
Replace any `rank(shape_of(tensor))` that relies on a ranked tensor with the corresponding constant `const_size`. Differential Revision: https://reviews.llvm.org/D82077
Loading
Please register or sign in to comment