[all-commits] [llvm/llvm-project] 18a2f4: [mlir][NFC] Replace `getMemorySpaceAsInt` with `ge...

Vladislav Vinogradov via All-commits all-commits at lists.llvm.org
Wed Mar 24 03:24:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18a2f479bf475c7cb94b742b39290bef98e3d305
      https://github.com/llvm/llvm-project/commit/18a2f479bf475c7cb94b742b39290bef98e3d305
  Author: Vladislav Vinogradov <vlad.vinogradov at intel.com>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

  Changed paths:
    M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/lib/Dialect/Vector/VectorOps.cpp

  Log Message:
  -----------
  [mlir][NFC] Replace `getMemorySpaceAsInt` with `getMemorySpace` where possible

Use new `MemRefType::getMemorySpace` method with generic Attribute
in cases, where there is no specific logic around the memory space.

Reviewed By: rriddle

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




More information about the All-commits mailing list