[Mlir-commits] [mlir] [MLIR] Remove unneeded FuncOps.h include in AffineAnalysis (PR #85912)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Mar 20 02:41:49 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-affine
Author: Thomas Preud'homme (RoboTux)
<details>
<summary>Changes</summary>
This fixes the following failure when doing a clean build (in particular
no .ninja* lying around) of lib/libMLIRAffineAnalysis.a only:
In file included from
mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp:20:
mlir/include/mlir/Dialect/Func/IR/FuncOps.h:29:10: fatal error:
mlir/Dialect/Func/IR/FuncOps.h.inc: No such file or directory
---
Full diff: https://github.com/llvm/llvm-project/pull/85912.diff
1 Files Affected:
- (modified) mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp (-1)
``````````diff
diff --git a/mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp b/mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp
index 1ba0bc8b6bfbe5..61244921bc38ac 100644
--- a/mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp
+++ b/mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp
@@ -17,7 +17,6 @@
#include "mlir/Dialect/Affine/Analysis/Utils.h"
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Affine/IR/AffineValueMap.h"
-#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/IR/AffineExprVisitor.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/IntegerSet.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/85912
More information about the Mlir-commits
mailing list