Get rid of separate getRank() on MemRef now that it subclasses ShapedType
authorGeoffrey Martin-Noble <gcmn@google.com>
Fri, 31 May 2019 20:28:37 +0000 (13:28 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 03:13:00 +0000 (20:13 -0700)
commit65eae3f75f2cfba90eada0a3620e52a619b1d3d7
treefe9cb28b593927873589964d7941427e16240ba0
parentac4b0a1e7b288698b565afac1cfa2217d9216b69
Get rid of separate getRank() on MemRef now that it subclasses ShapedType

    We are moving towards int64_t for these shape/dimension -related values to avoid buginess with unsigned arithmetic

--

PiperOrigin-RevId: 250945322
mlir/examples/Linalg/Linalg1/lib/ConvertToLLVMDialect.cpp
mlir/examples/Linalg/Linalg1/lib/ViewOp.cpp
mlir/include/mlir/IR/StandardTypes.h
mlir/lib/StandardOps/Ops.cpp
mlir/lib/VectorOps/VectorOps.cpp