[all-commits] [llvm/llvm-project] a290c3: [mlir][spirv] Improve stride support in array types
Lei Zhang via All-commits
all-commits at lists.llvm.org
Mon Apr 13 11:12:55 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a290c3af9dd01dd3f13a5231626892f6a658f4e4
https://github.com/llvm/llvm-project/commit/a290c3af9dd01dd3f13a5231626892f6a658f4e4
Author: Lei Zhang <antiagainst at google.com>
Date: 2020-04-13 (Mon, 13 Apr 2020)
Changed paths:
M mlir/docs/Dialects/SPIR-V.md
M mlir/include/mlir/Dialect/SPIRV/LayoutUtils.h
M mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
M mlir/lib/Dialect/SPIRV/LayoutUtils.cpp
M mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
M mlir/lib/Dialect/SPIRV/SPIRVTypes.cpp
M mlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
M mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
M mlir/lib/Dialect/SPIRV/Transforms/DecorateSPIRVCompositeTypeLayoutPass.cpp
M mlir/lib/Dialect/SPIRV/Transforms/LowerABIAttributesPass.cpp
M mlir/test/Conversion/GPUToSPIRV/load-store.mlir
M mlir/test/Conversion/GPUToSPIRV/simple.mlir
M mlir/test/Conversion/GPUToVulkan/lower-gpu-launch-vulkan-launch.mlir
M mlir/test/Conversion/StandardToSPIRV/std-to-spirv.mlir
M mlir/test/Conversion/StandardToSPIRV/std-types-to-spirv.mlir
M mlir/test/Conversion/StandardToSPIRV/subview-to-spirv.mlir
M mlir/test/Dialect/SPIRV/Serialization/array.mlir
M mlir/test/Dialect/SPIRV/Serialization/constant.mlir
M mlir/test/Dialect/SPIRV/Serialization/loop.mlir
M mlir/test/Dialect/SPIRV/Serialization/memory-ops.mlir
M mlir/test/Dialect/SPIRV/Serialization/struct.mlir
M mlir/test/Dialect/SPIRV/Transforms/abi-interface.mlir
M mlir/test/Dialect/SPIRV/Transforms/abi-load-store.mlir
M mlir/test/Dialect/SPIRV/Transforms/layout-decoration.mlir
M mlir/test/Dialect/SPIRV/structure-ops.mlir
M mlir/test/Dialect/SPIRV/types.mlir
Log Message:
-----------
[mlir][spirv] Improve stride support in array types
This commit added stride support in runtime array types. It also
adjusted the assembly form for the stride from `[N]` to `stride=N`.
This makes the IR more readable, especially for the cases where
one mix array types and struct types.
Differential Revision: https://reviews.llvm.org/D78034
More information about the All-commits
mailing list