Exclude all ShapedType subclasses other than TensorType subclasses from having...
authorGeoffrey Martin-Noble <gcmn@google.com>
Wed, 29 May 2019 23:07:17 +0000 (16:07 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 03:09:42 +0000 (20:09 -0700)
commit1c681a7cafc26266c511fd590da24855f0622fc3
treefdbbe6355fc9e37e9ffd5c381eb294123196f0c0
parent17022b1bc516f42d8bdb5d0fed9739fb7584e13d
Exclude all ShapedType subclasses other than TensorType subclasses from having non-scalar elements.

    The current logic assumes that ShapedType indicates a vector or tensor, which will not be true soon when MemRef subclasses ShapedType

--

PiperOrigin-RevId: 250586364
mlir/lib/IR/StandardTypes.cpp