Replace constexpr MemRefType::kDynamicStrideOrOffset by a MemRefType:;getDynamicStrid...
authorNicolas Vasilache <ntv@google.com>
Fri, 4 Oct 2019 15:57:28 +0000 (08:57 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Fri, 4 Oct 2019 15:58:09 +0000 (08:58 -0700)
commit754ea72794c819dceeab1f4cc15933971d228aed
treec301f077239c751386cdf8f5d89a0d66ba78a563
parent516f6a3477073d52224a744a720f2d62f0ea3ca9
Replace constexpr MemRefType::kDynamicStrideOrOffset by a MemRefType:;getDynamicStrideOrOffset() method - NFC

This fixes global ODR-use issues, some of which manifest in Parser.cpp.

Fixes tensorflow/mlir#167.

PiperOrigin-RevId: 272886347
mlir/include/mlir/IR/StandardTypes.h
mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
mlir/lib/IR/StandardTypes.cpp
mlir/lib/Parser/Parser.cpp
mlir/test/lib/Transforms/TestMemRefStrideCalculation.cpp