[mlir][spirv] NFC: Move shader ABI attributes to a new file
authorLei Zhang <antiagainst@google.com>
Thu, 2 Jan 2020 03:42:39 +0000 (22:42 -0500)
committerLei Zhang <antiagainst@google.com>
Thu, 2 Jan 2020 03:43:09 +0000 (22:43 -0500)
commit0359e1d6be2e4449ece5063c6b2a08a5094798b4
tree9f879405eed319ba46923f25ce4d1479f459a537
parent5d38b2610f5805525c2b6d15898d6ccf0cc12bdd
[mlir][spirv] NFC: Move shader ABI attributes to a new file

This allows us to include the definitions of these attributes in
other files without pulling in all dependencies for lowering.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D72054
mlir/include/mlir/Dialect/SPIRV/CMakeLists.txt
mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h
mlir/include/mlir/Dialect/SPIRV/TargetAndABI.h [new file with mode: 0644]
mlir/include/mlir/Dialect/SPIRV/TargetAndABI.td [moved from mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.td with 100% similarity]
mlir/lib/Dialect/SPIRV/CMakeLists.txt
mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
mlir/lib/Dialect/SPIRV/TargetAndABI.cpp [new file with mode: 0644]
mlir/lib/Dialect/SPIRV/Transforms/LowerABIAttributesPass.cpp