[all-commits] [llvm/llvm-project] 13b197: [mlir][spirv] Add dialect-specific attribute for t...
Lei Zhang via All-commits
all-commits at lists.llvm.org
Tue Feb 4 18:33:20 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 13b197c7d18b7c74df6e97fcb5c0f5cb3a04fcb4
https://github.com/llvm/llvm-project/commit/13b197c7d18b7c74df6e97fcb5c0f5cb3a04fcb4
Author: Lei Zhang <antiagainst at google.com>
Date: 2020-02-04 (Tue, 04 Feb 2020)
Changed paths:
M mlir/docs/Dialects/SPIR-V.md
M mlir/include/mlir/Dialect/SPIRV/SPIRVDialect.h
M mlir/include/mlir/Dialect/SPIRV/TargetAndABI.h
M mlir/include/mlir/Dialect/SPIRV/TargetAndABI.td
M mlir/lib/Conversion/LinalgToSPIRV/LinalgToSPIRV.cpp
M mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
M mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
M mlir/lib/Dialect/SPIRV/TargetAndABI.cpp
M mlir/test/Conversion/LinalgToSPIRV/linalg-to-spirv.mlir
M mlir/test/Dialect/SPIRV/target-and-abi.mlir
M mlir/test/Dialect/SPIRV/target-env.mlir
Log Message:
-----------
[mlir][spirv] Add dialect-specific attribute for target environment
We were using normal dictionary attribute for target environment
specification. It becomes cumbersome with more and more fields.
This commit changes the modelling to a dialect-specific attribute,
where we can have control over its storage and assembly form.
Differential Revision: https://reviews.llvm.org/D73959
More information about the All-commits
mailing list