SuccessChanges

Summary

  1. [mlir][NFC] Rename `MemRefType::getMemorySpace` to `getMemorySpaceAsInt` (details)
Commit 37eca08e5bcfbe926176412a4a0acf5b963da7e6 by vlad.vinogradov
[mlir][NFC] Rename `MemRefType::getMemorySpace` to `getMemorySpaceAsInt`

Just a pure method renaming.

It is a preparation step for replacing "memory space as raw integer"
with more generic "memory space as attribute", which will be done in
separate commit.

The `MemRefType::getMemorySpace` method will return `Attribute` and
become the main API, while `getMemorySpaceAsInt` will be declared as
deprecated and will be replaced in all in-tree dialects (also in separate
commits).

Reviewed By: mehdi_amini, rriddle

Differential Revision: https://reviews.llvm.org/D97476
The file was modifiedmlir/lib/IR/BuiltinTypes.cpp (diff)
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp (diff)
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.h (diff)
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp (diff)
The file was modifiedmlir/include/mlir/IR/BuiltinTypes.h (diff)
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.cpp (diff)
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Affine/IR/AffineOps.h (diff)
The file was modifiedmlir/lib/Conversion/VectorToROCDL/VectorToROCDL.cpp (diff)
The file was modifiedmlir/lib/IR/AsmPrinter.cpp (diff)
The file was modifiedmlir/lib/CAPI/IR/BuiltinTypes.cpp (diff)
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp (diff)
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp (diff)
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp (diff)
The file was modifiedmlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp (diff)
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp (diff)
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp (diff)
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp (diff)