[mlir] NFC: Remove ConvertToLLVMPattern::getDataPtr(). All call sites use getStridedElementPtr() now.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D93751
This commit is contained in:
Christian Sigg 2020-12-23 10:51:23 +01:00
parent 65ba0cd395
commit 8451d4872e
2 changed files with 0 additions and 11 deletions

View File

@ -512,11 +512,6 @@ protected:
ValueRange indices,
ConversionPatternRewriter &rewriter) const;
// Forwards to getStridedElementPtr. TODO: remove.
Value getDataPtr(Location loc, MemRefType type, Value memRefDesc,
ValueRange indices,
ConversionPatternRewriter &rewriter) const;
/// Returns if the givem memref type is supported.
bool isSupportedMemRefType(MemRefType type) const;

View File

@ -1085,12 +1085,6 @@ Value ConvertToLLVMPattern::getStridedElementPtr(
: base;
}
Value ConvertToLLVMPattern::getDataPtr(
Location loc, MemRefType type, Value memRefDesc, ValueRange indices,
ConversionPatternRewriter &rewriter) const {
return getStridedElementPtr(loc, type, memRefDesc, indices, rewriter);
}
// Check if the MemRefType `type` is supported by the lowering. We currently
// only support memrefs with identity maps.
bool ConvertToLLVMPattern::isSupportedMemRefType(MemRefType type) const {