[Mlir-commits] [mlir] [mlir] ADTExtras: include mlir/Support/LLVM.h (PR #69479)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Oct 18 09:15:00 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-core

Author: Emilio Cota (cota)

<details>
<summary>Changes</summary>

To forward-declare LLVM's support types.

---
Full diff: https://github.com/llvm/llvm-project/pull/69479.diff


1 Files Affected:

- (modified) mlir/include/mlir/Support/ADTExtras.h (+1) 


``````````diff
diff --git a/mlir/include/mlir/Support/ADTExtras.h b/mlir/include/mlir/Support/ADTExtras.h
index 1e4708f8f7d3f9e..51ec7ac25dbb599 100644
--- a/mlir/include/mlir/Support/ADTExtras.h
+++ b/mlir/include/mlir/Support/ADTExtras.h
@@ -9,6 +9,7 @@
 #ifndef MLIR_SUPPORT_ADTEXTRAS_H
 #define MLIR_SUPPORT_ADTEXTRAS_H
 
+#include "mlir/Support/LLVM.h"
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/SmallVector.h"
 

``````````

</details>


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


More information about the Mlir-commits mailing list