aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>2023-01-09 16:04:09 +0000
committerKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>2023-02-09 21:44:57 +0000
commit7fb9bbe5f0c850ae9480e7a35b7e92e721c26039 (patch)
tree98f799a949cce3ef75037e03c767ca6eff0b5abb /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parentb7a2ff296352acacdc413d6f3f912e50f90ebb31 (diff)
downloadllvm-7fb9bbe5f0c850ae9480e7a35b7e92e721c26039.zip
llvm-7fb9bbe5f0c850ae9480e7a35b7e92e721c26039.tar.gz
llvm-7fb9bbe5f0c850ae9480e7a35b7e92e721c26039.tar.bz2
[mlir][Memref] Add memref.memory_space_cast and its lowerings
Address space casts are present in common MLIR targets (LLVM, SPIRV). Some planned rewrites (such as one of the potential fixes to the fact that the AMDGPU backend requires alloca() to live in address space 5 / the GPU private memory space) may require such casts to be inserted into MLIR code, where those address spaces could be represented by arbitrary memory space attributes. Therefore, we define memref.memory_space_cast and its lowerings. Depends on D141293 Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D141148
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions