llvm-project/mlir/lib/Conversion/GPUToNVVM
Vladislav Vinogradov 37eca08e5b [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
2021-03-02 11:08:54 +03:00
..
CMakeLists.txt [mlir] Use target-specific GPU kernel attributes in lowering pipelines 2021-02-12 14:09:24 +01:00
GPUToNVVM.td Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
LowerGpuOpsToNVVMOps.cpp [mlir][NFC] Rename `MemRefType::getMemorySpace` to `getMemorySpaceAsInt` 2021-03-02 11:08:54 +03:00