[Mlir-commits] [mlir] 260ac8e - [MLIR] Remove unneeded FuncOps.h include in AffineAnalysis (#85912)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Mar 20 03:12:06 PDT 2024


Author: Thomas Preud'homme
Date: 2024-03-20T10:12:03Z
New Revision: 260ac8e52f6dac02958aca874ba46dea0b99fef3

URL: https://github.com/llvm/llvm-project/commit/260ac8e52f6dac02958aca874ba46dea0b99fef3
DIFF: https://github.com/llvm/llvm-project/commit/260ac8e52f6dac02958aca874ba46dea0b99fef3.diff

LOG: [MLIR] Remove unneeded FuncOps.h include in AffineAnalysis (#85912)

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

Added: 
    

Modified: 
    mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp

Removed: 
    


################################################################################
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"


        


More information about the Mlir-commits mailing list