StdToLLVM conversion: drop getMemRefElementType utility function
authorAlex Zinenko <zinenko@google.com>
Tue, 17 Dec 2019 19:38:53 +0000 (11:38 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 17 Dec 2019 19:43:59 +0000 (11:43 -0800)
commit0bdc72d2df87aec68d7a1920026bcc37422a823b
treee372fa7667d697dd0d6ff04c1babb792570a1f6d
parent651eaa03e8cda04ffcec846d9b84f310aaeeda6e
StdToLLVM conversion: drop getMemRefElementType utility function

This function has become redundant with MemRefDescriptor::getElementType and is
no longer necessary. Use the MemRefDescriptor pervasively to concentrate
descriptor-related logic in one place and drop the utility function.

PiperOrigin-RevId: 286024168
mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp