[all-commits] [llvm/llvm-project] 151355: [mlir][spirv] Use functors for default memory spac...
Lei Zhang via All-commits
all-commits at lists.llvm.org
Tue Aug 9 11:39:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 15135553c4cf34d3915e45b55e915154b33ab67b
https://github.com/llvm/llvm-project/commit/15135553c4cf34d3915e45b55e915154b33ab67b
Author: Lei Zhang <antiagainst at google.com>
Date: 2022-08-09 (Tue, 09 Aug 2022)
Changed paths:
M mlir/include/mlir/Conversion/MemRefToSPIRV/MemRefToSPIRV.h
M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
M mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp
Log Message:
-----------
[mlir][spirv] Use functors for default memory space mappings
This makes it easier to use as a utility function to query the
mappings, including the reverse.
This commit also drops some storage classes that aren't needed
for now.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D131411
More information about the All-commits
mailing list