[Mlir-commits] [mlir] [mlir][NFC] Add rewrite header to fix standalone header compile (PR #99370)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jul 17 11:38:42 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Jordan Rupprecht (rupprecht)
<details>
<summary>Changes</summary>
This uses `MlirRewriterBase` from from `mlir-c/Rewrite.h` without including it.
---
Full diff: https://github.com/llvm/llvm-project/pull/99370.diff
1 Files Affected:
- (modified) mlir/include/mlir/CAPI/Rewrite.h (+1)
``````````diff
diff --git a/mlir/include/mlir/CAPI/Rewrite.h b/mlir/include/mlir/CAPI/Rewrite.h
index f0bb9337e49ea..1038c0a575cf2 100644
--- a/mlir/include/mlir/CAPI/Rewrite.h
+++ b/mlir/include/mlir/CAPI/Rewrite.h
@@ -15,6 +15,7 @@
#ifndef MLIR_CAPI_REWRITE_H
#define MLIR_CAPI_REWRITE_H
+#include "mlir-c/Rewrite.h"
#include "mlir/CAPI/Wrap.h"
#include "mlir/IR/PatternMatch.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/99370
More information about the Mlir-commits
mailing list