Remove restriction on static dimensions in Shape method
authorTres Popp <tpopp@google.com>
Tue, 8 Feb 2022 10:15:04 +0000 (11:15 +0100)
committerTres Popp <tpopp@google.com>
Tue, 8 Feb 2022 10:20:01 +0000 (11:20 +0100)
commit64b918852c09db6461d4c4c97df288c7b7fee865
tree33fe674bb6709b90a6e20e4541f37db4c6b707b6
parent99d95025e1259f8ffca89ff6c4c521bb7aea5b3b
Remove restriction on static dimensions in Shape method

mlir::shape::ToExtentTensorOp::areCastCompatible didn't allow the input
to have a static dimension, but that is allowed.
mlir/lib/Dialect/Shape/IR/Shape.cpp
mlir/test/Dialect/Shape/ops.mlir