Add missing CMake dependency for mlir/lib/Reducer (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Wed, 2 Jun 2021 16:55:09 +0000 (16:55 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 2 Jun 2021 16:55:09 +0000 (16:55 +0000)
The `OptReductionPass.cpp` file depends on the TableGen generated
`mlir/Reducer/Passes.h.inc` file.

mlir/lib/Reducer/CMakeLists.txt

index e6dd933..cd92802 100644 (file)
@@ -8,6 +8,7 @@ add_mlir_library(MLIRReduce
    MLIRPass
    MLIRRewrite
    MLIRTransformUtils
+   MLIRReducerIncGen
 )
 
 mlir_check_all_link_libraries(MLIRReduce)