[Mlir-commits] [mlir] cb3bc5b - [mlir] Fix build breakage on some systems
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jul 10 19:44:02 PDT 2024
Author: Mogball
Date: 2024-07-11T02:43:55Z
New Revision: cb3bc5be9c20d893adf94cdf436092657ab5ab40
URL: https://github.com/llvm/llvm-project/commit/cb3bc5be9c20d893adf94cdf436092657ab5ab40
DIFF: https://github.com/llvm/llvm-project/commit/cb3bc5be9c20d893adf94cdf436092657ab5ab40.diff
LOG: [mlir] Fix build breakage on some systems
Some includes were shuffled around in LLVM support headers, causing
`<vector>` to no longer be included in certain files. Depending on the
system stdlib, the header might not transitively get included. Adding
`<vector>` to `DialectInterface.h` fixes a build breakage on some
systems
Added:
Modified:
mlir/include/mlir/IR/DialectInterface.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/IR/DialectInterface.h b/mlir/include/mlir/IR/DialectInterface.h
index 3a7ad87b161ee..36502cc304b69 100644
--- a/mlir/include/mlir/IR/DialectInterface.h
+++ b/mlir/include/mlir/IR/DialectInterface.h
@@ -12,6 +12,7 @@
#include "mlir/Support/TypeID.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/STLExtras.h"
+#include <vector>
namespace mlir {
class Dialect;
More information about the Mlir-commits
mailing list