SPIRV/ headers live under mlir/Dialect/.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D72141
TargetAndABI.cpp
ADDITIONAL_HEADER_DIRS
- ${MLIR_MAIN_INCLUDE_DIR}/mlir/SPIRV
+ ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/SPIRV
)
add_dependencies(MLIRSPIRV
TranslateRegistration.cpp
ADDITIONAL_HEADER_DIRS
- ${MLIR_MAIN_INCLUDE_DIR}/mlir/SPIRV
+ ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/SPIRV
)
add_dependencies(MLIRSPIRVSerialization
add_llvm_library(MLIRSPIRVTransforms
DecorateSPIRVCompositeTypeLayoutPass.cpp
LowerABIAttributesPass.cpp
+
+ ADDITIONAL_HEADER_DIRS
+ ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/SPIRV
)
target_link_libraries(MLIRSPIRVTransforms