[Mlir-commits] [mlir] 90fec5e - [mlir] make MLIRPresburger depend on MLIRIR

Alex Zinenko llvmlistbot at llvm.org
Tue Mar 9 00:20:58 PST 2021


Author: Alex Zinenko
Date: 2021-03-09T09:19:53+01:00
New Revision: 90fec5ed65ff9fd6692b89582fb501574137e1aa

URL: https://github.com/llvm/llvm-project/commit/90fec5ed65ff9fd6692b89582fb501574137e1aa
DIFF: https://github.com/llvm/llvm-project/commit/90fec5ed65ff9fd6692b89582fb501574137e1aa.diff

LOG: [mlir] make MLIRPresburger depend on MLIRIR

The analysis library uses Location, which is defined in the MLIRIR
library.

Added: 
    

Modified: 
    mlir/lib/Analysis/Presburger/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Analysis/Presburger/CMakeLists.txt b/mlir/lib/Analysis/Presburger/CMakeLists.txt
index 2561013696d9..73e2103c4c8e 100644
--- a/mlir/lib/Analysis/Presburger/CMakeLists.txt
+++ b/mlir/lib/Analysis/Presburger/CMakeLists.txt
@@ -1,4 +1,10 @@
 add_mlir_library(MLIRPresburger
   Simplex.cpp
   Matrix.cpp
+
+  DEPENDS
+  MLIRBuiltinLocationAttributesIncGen
+
+  LINK_LIBS PUBLIC
+  MLIRIR
   )


        


More information about the Mlir-commits mailing list