[Mlir-commits] [mlir] 9fd1c41 - [MLIR] Add missing MLIRLinalgTransforms to LinalgToStandard conv (#84545)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Mar 20 02:26:19 PDT 2024


Author: Thomas Preud'homme
Date: 2024-03-20T09:26:16Z
New Revision: 9fd1c4121f7c797ff7222161cb40cd68ecf0fbc8

URL: https://github.com/llvm/llvm-project/commit/9fd1c4121f7c797ff7222161cb40cd68ecf0fbc8
DIFF: https://github.com/llvm/llvm-project/commit/9fd1c4121f7c797ff7222161cb40cd68ecf0fbc8.diff

LOG: [MLIR] Add missing MLIRLinalgTransforms to LinalgToStandard conv (#84545)

This fixes the following failure when doing a clean build (in particular
no .ninja* lying around) of lib/libMLIRLinalgToStandard.a only:
```
In file included from mlir/include/mlir/Dialect/Vector/Transforms/VectorTransforms.h:12,
                 from mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h:21,
                 from mlir/lib/Conversion/LinalgToStandard/LinalgToStandard.cpp:15:
mlir/include/mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h:20:10: fatal error: mlir/Dialect/Vector/Transforms/VectorTransformsEnums.h.inc: No such file or directory
```

Added: 
    

Modified: 
    mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt b/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt
index 0c8816b65d194e..cbe85789b29a37 100644
--- a/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt
+++ b/mlir/lib/Conversion/LinalgToStandard/CMakeLists.txt
@@ -14,6 +14,7 @@ add_mlir_conversion_library(MLIRLinalgToStandard
   MLIRFuncDialect
   MLIRIR
   MLIRLinalgDialect
+  MLIRLinalgTransforms
   MLIRMemRefDialect
   MLIRPass
   MLIRSCFDialect


        


More information about the Mlir-commits mailing list