[Mlir-commits] [mlir] 20b12fa - Fix MathTransforms library dependencies

Uday Bondhugula llvmlistbot at llvm.org
Wed May 3 17:11:59 PDT 2023


Author: Uday Bondhugula
Date: 2023-05-04T05:41:48+05:30
New Revision: 20b12fa898641c932717d22e59c749ff71d9d06b

URL: https://github.com/llvm/llvm-project/commit/20b12fa898641c932717d22e59c749ff71d9d06b
DIFF: https://github.com/llvm/llvm-project/commit/20b12fa898641c932717d22e59c749ff71d9d06b.diff

LOG: Fix MathTransforms library dependencies

The dependencies were set up improperly likely due to past code
locations. MathTransforms shouldn't depend on VectorUtils which add a
whole bunch of additional dependencies; it instead depends on the SCF
dialect.

Differential Revision: https://reviews.llvm.org/D149797

Added: 
    

Modified: 
    mlir/lib/Dialect/Math/Transforms/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Math/Transforms/CMakeLists.txt b/mlir/lib/Dialect/Math/Transforms/CMakeLists.txt
index f0c57158714b5..c23c2f1a9b650 100644
--- a/mlir/lib/Dialect/Math/Transforms/CMakeLists.txt
+++ b/mlir/lib/Dialect/Math/Transforms/CMakeLists.txt
@@ -8,12 +8,12 @@ add_mlir_dialect_library(MLIRMathTransforms
 
   LINK_LIBS PUBLIC
   MLIRArithDialect
-  MLIRDialectUtils  
+  MLIRDialectUtils
   MLIRIR
   MLIRMathDialect
+  MLIRSCFDialect
   MLIRPass
   MLIRTransforms
   MLIRX86VectorDialect
   MLIRVectorDialect
-  MLIRVectorUtils
   )


        


More information about the Mlir-commits mailing list