[all-commits] [llvm/llvm-project] 8c2025: [MLIR] Refactor memref type -> LLVM Type conversion

Rahul Joshi via All-commits all-commits at lists.llvm.org
Wed Nov 4 10:33:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c2025cc617aa0413dee269084b4a66bcb7de4d5
      https://github.com/llvm/llvm-project/commit/8c2025cc617aa0413dee269084b4a66bcb7de4d5
  Author: Rahul Joshi <jurahul at google.com>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp

  Log Message:
  -----------
  [MLIR] Refactor memref type -> LLVM Type conversion

- Eliminate duplicated information about mapping from memref -> its descriptor fields
  by consolidating that mapping in two functions:  getMemRefDescriptorFields and
  getUnrankedMemRefDescriptorFields.
- Change convertMemRefType() and convertUnrankedMemRefType() to use these
  functions.
- Remove convertMemrefSignature and convertUnrankedMemrefSignature.

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




More information about the All-commits mailing list