aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleCache.cpp
diff options
context:
space:
mode:
authorJack Frankland <jack.frankland@arm.com>2025-09-30 09:44:06 +0100
committerGitHub <noreply@github.com>2025-09-30 09:44:06 +0100
commit048922edbb9d5d319622956d91ef062a08039949 (patch)
tree0fa1f8bedd05dae932598ff60d1056d69ca87eb2 /clang/lib/Serialization/ModuleCache.cpp
parent55054db762af3a177b89487a0c6aebf3efec5786 (diff)
downloadllvm-048922edbb9d5d319622956d91ef062a08039949.zip
llvm-048922edbb9d5d319622956d91ef062a08039949.tar.gz
llvm-048922edbb9d5d319622956d91ef062a08039949.tar.bz2
[mlir][memref-to-spirv]: Remap Image Load Coordinates (#160495)
When converting a `memref.load` from the image address space to a `spirv.ImageFetch` ensure that we correctly map the load indices to width, height and depth. The lowering currently assumes a linear image tiling, that is row-major memory layout. This allows us to support any memref layout that is a permutation of the dimensions, more complex layouts are not currently supported. Because the ordering of the dimensions in the vector passed to image fetch is the opposite to that in the memref directions a final reversal of the mapped dimensions is always required. --------- Signed-off-by: Jack Frankland <jack.frankland@arm.com>
Diffstat (limited to 'clang/lib/Serialization/ModuleCache.cpp')
0 files changed, 0 insertions, 0 deletions