[Mlir-commits] [mlir] [mlir][NFC] Add rewrite header to fix standalone header compile (PR #99370)
Jordan Rupprecht
llvmlistbot at llvm.org
Wed Jul 17 11:38:08 PDT 2024
https://github.com/rupprecht created https://github.com/llvm/llvm-project/pull/99370
This uses `MlirRewriterBase` from from `mlir-c/Rewrite.h` without including it.
>From 736a4a7e33eb6d19b6692d78a179599c595777db Mon Sep 17 00:00:00 2001
From: Jordan Rupprecht <rupprecht at google.com>
Date: Wed, 17 Jul 2024 11:36:16 -0700
Subject: [PATCH] [mlir][NFC] Add rewrite header to fix standalone header
compile
This uses `MlirRewriterBase` from from `mlir-c/Rewrite.h` without including it.
---
mlir/include/mlir/CAPI/Rewrite.h | 1 +
1 file changed, 1 insertion(+)
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"
More information about the Mlir-commits
mailing list