[all-commits] [llvm/llvm-project] 0a925a: [mlir][NFC] Promote memory space to BaseMemRefType

Diego Caballero via All-commits all-commits at lists.llvm.org
Thu Sep 24 14:07:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a925a813a5003049bf12330111d61cb823b8814
      https://github.com/llvm/llvm-project/commit/0a925a813a5003049bf12330111d61cb823b8814
  Author: Diego Caballero <diego.caballero at intel.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M mlir/include/mlir/IR/StandardTypes.h
    M mlir/lib/IR/StandardTypes.cpp
    M mlir/lib/IR/TypeDetail.h

  Log Message:
  -----------
  [mlir][NFC] Promote memory space to BaseMemRefType

This patch moves the memory space field from MemRefType and UnrankedMemRefType
to their base class BaseMemRefType so that it can be retrieved from it without
downcasting it to the specific memref.

Reviewed By: silvas

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




More information about the All-commits mailing list