[all-commits] [llvm/llvm-project] 4d6f44: [mlir][spirv] Lower allocation/deallocations of wo...
MaheshRavishankar via All-commits
all-commits at lists.llvm.org
Wed May 27 09:53:51 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4d6f44f5f0925f2d05431065d9f197644d07b1b5
https://github.com/llvm/llvm-project/commit/4d6f44f5f0925f2d05431065d9f197644d07b1b5
Author: MaheshRavishankar <ravishankarm at google.com>
Date: 2020-05-27 (Wed, 27 May 2020)
Changed paths:
M mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h
M mlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
M mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
M mlir/test/Conversion/GPUToSPIRV/load-store.mlir
M mlir/test/Conversion/GPUToSPIRV/loop.mlir
A mlir/test/Conversion/StandardToSPIRV/alloc.mlir
M mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
Log Message:
-----------
[mlir][spirv] Lower allocation/deallocations of workgroup memory.
This allocation of a workgroup memory is lowered to a
spv.globalVariable. Only static size allocation with element type
being int or float is handled. The lowering does account for the
element type that are not supported in the lowered spv.module based on
the extensions/capabilities and adjusts the number of elements to get
the same byte length.
Differential Revision: https://reviews.llvm.org/D80411
More information about the All-commits
mailing list