HomePhabricator

[mlir] Simplify code generated by ConvertToLLVMPattern::getStridedElementPtr().

Authored by csigg on Nov 17 2020, 1:22 AM.

Description

[mlir] Simplify code generated by ConvertToLLVMPattern::getStridedElementPtr().

Make the interface match the one of ConvertToLLVMPattern::getDataPtr() (to be removed in a separate change).

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D91599