[Mlir-commits] [mlir] [mlir][Target][Cpp] Cleanup includes (PR #85105)
Marius Brehler
llvmlistbot at llvm.org
Wed Mar 13 09:17:57 PDT 2024
https://github.com/marbre created https://github.com/llvm/llvm-project/pull/85105
None
>From 86ce84862f2b8532226646810d7ae14e253ac234 Mon Sep 17 00:00:00 2001
From: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: Wed, 13 Mar 2024 16:16:46 +0000
Subject: [PATCH] [mlir][Target][Cpp] Cleanup includes
---
mlir/include/mlir/Target/Cpp/CppEmitter.h | 4 ----
mlir/lib/Target/Cpp/TranslateToCpp.cpp | 2 ++
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/mlir/include/mlir/Target/Cpp/CppEmitter.h b/mlir/include/mlir/Target/Cpp/CppEmitter.h
index 30d3fff9fca88b..c1febd22fd93ca 100644
--- a/mlir/include/mlir/Target/Cpp/CppEmitter.h
+++ b/mlir/include/mlir/Target/Cpp/CppEmitter.h
@@ -13,11 +13,7 @@
#ifndef MLIR_TARGET_CPP_CPPEMITTER_H
#define MLIR_TARGET_CPP_CPPEMITTER_H
-#include "mlir/IR/BuiltinTypes.h"
-#include "mlir/IR/Value.h"
-#include "llvm/ADT/ScopedHashTable.h"
#include "llvm/Support/raw_ostream.h"
-#include <stack>
namespace mlir {
namespace emitc {
diff --git a/mlir/lib/Target/Cpp/TranslateToCpp.cpp b/mlir/lib/Target/Cpp/TranslateToCpp.cpp
index 7cbb1e9265e174..da2e6e5891da63 100644
--- a/mlir/lib/Target/Cpp/TranslateToCpp.cpp
+++ b/mlir/lib/Target/Cpp/TranslateToCpp.cpp
@@ -18,11 +18,13 @@
#include "mlir/Support/LLVM.h"
#include "mlir/Target/Cpp/CppEmitter.h"
#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/ScopedHashTable.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FormatVariadic.h"
+#include <stack>
#include <utility>
#define DEBUG_TYPE "translate-to-cpp"
More information about the Mlir-commits
mailing list