Limit the number of places where shaped type has to explicitly reference its...
authorGeoffrey Martin-Noble <gcmn@google.com>
Sat, 25 May 2019 00:44:21 +0000 (17:44 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 03:01:22 +0000 (20:01 -0700)
commit58a766705bcf38e7d4d132979b7402789376cc6d
treec1c082c104b4564f7afa8b9261bb7e85bf1f723f
parent8b4c21404617cc71ede4d7ebc52eddec4143b4db
Limit the number of places where shaped type has to explicitly reference its base classes.

    Introduces a hasRank() method to make checking for rank a bit easier.

    This is partially to make it easier to make MemRef subclass ShapedType

--

PiperOrigin-RevId: 249927442
mlir/include/mlir/IR/StandardTypes.h
mlir/lib/IR/StandardTypes.cpp