Full revamp of the 'quant' dialect. This is an implementation for the RFC at https://discourse.llvm.org/t/rfc-improvements-in-the-quant-dialect/79942
27 lines
469 B
CMake
27 lines
469 B
CMake
add_mlir_dialect_library(MLIRQuantTransforms
|
|
LowerQuantOps.cpp
|
|
StripFuncQuantTypes.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
{$MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Quant/Transforms
|
|
|
|
DEPENDS
|
|
MLIRQuantTransformsIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRArithDialect
|
|
MLIRFuncDialect
|
|
MLIRFuncTransforms
|
|
MLIRIndexDialect
|
|
MLIRIR
|
|
MLIRLinalgDialect
|
|
MLIRLinalgUtils
|
|
MLIRPass
|
|
MLIRQuantDialect
|
|
MLIRShapeDialect
|
|
MLIRTensorDialect
|
|
MLIRTransforms
|
|
MLIRTransformUtils
|
|
|
|
)
|