forked from OSchip/llvm-project
[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:
parent
65ba0cd395
commit
8451d4872e
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue