[mlir][IR] Remove duplicate `isLastMemrefDimUnitStride` functions
authorMatthias Springer <me@m-sp.org>
Mon, 17 Jul 2023 14:08:08 +0000 (16:08 +0200)
committerMatthias Springer <me@m-sp.org>
Mon, 17 Jul 2023 14:31:04 +0000 (16:31 +0200)
commitb1d2687501f87d7158289a90a864ddf32b843d49
treedb554f6e0fc3b1a0b9ea6ff0b37c11604887dd40
parent371366ce27303e0b949aeb643b973a1a110da469
[mlir][IR] Remove duplicate `isLastMemrefDimUnitStride` functions

This function is duplicated in various dialects.

Differential Revision: https://reviews.llvm.org/D155462
mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
mlir/include/mlir/IR/BuiltinTypes.h
mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp
mlir/lib/Dialect/Vector/IR/VectorOps.cpp
mlir/lib/Dialect/Vector/Transforms/LowerVectorTransfer.cpp
mlir/lib/IR/BuiltinTypes.cpp