[Mlir-commits] [mlir] [MLIR] Allow `constFoldBinaryOp` to fold `(T1, T1) -> T2` (PR #151410)

Mehdi Amini llvmlistbot at llvm.org
Wed Aug 6 11:53:57 PDT 2025


================
@@ -15,10 +15,16 @@
 #ifndef MLIR_DIALECT_COMMONFOLDERS_H
 #define MLIR_DIALECT_COMMONFOLDERS_H
 
+#include "mlir/IR/Attributes.h"
+#include "mlir/IR/BuiltinAttributeInterfaces.h"
 #include "mlir/IR/BuiltinAttributes.h"
-#include "mlir/IR/BuiltinTypes.h"
+#include "mlir/IR/BuiltinTypeInterfaces.h"
+#include "mlir/IR/Types.h"
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/STLExtras.h"
+
+#include <cassert>
+#include <cstddef>
----------------
joker-eph wrote:

I suspect these two headers are just spurious addition from your IDE?

https://github.com/llvm/llvm-project/pull/151410


More information about the Mlir-commits mailing list