[Mlir-commits] [mlir] 0aea1f2 - [mlir] Add missing ManagedStatic.h includes (NFC)

Nikita Popov llvmlistbot at llvm.org
Fri Jun 21 07:15:36 PDT 2024


Author: Nikita Popov
Date: 2024-06-21T16:13:41+02:00
New Revision: 0aea1f2f21b8b3984072dc2ea33857d077d91af2

URL: https://github.com/llvm/llvm-project/commit/0aea1f2f21b8b3984072dc2ea33857d077d91af2
DIFF: https://github.com/llvm/llvm-project/commit/0aea1f2f21b8b3984072dc2ea33857d077d91af2.diff

LOG: [mlir] Add missing ManagedStatic.h includes (NFC)

Added: 
    

Modified: 
    mlir/lib/Debug/CLOptionsSetup.cpp
    mlir/lib/IR/AsmPrinter.cpp
    mlir/lib/Pass/PassCrashRecovery.cpp
    mlir/lib/Tools/mlir-translate/Translation.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Debug/CLOptionsSetup.cpp b/mlir/lib/Debug/CLOptionsSetup.cpp
index fbea5fdf6b4bb..340055adf5aab 100644
--- a/mlir/lib/Debug/CLOptionsSetup.cpp
+++ b/mlir/lib/Debug/CLOptionsSetup.cpp
@@ -16,6 +16,7 @@
 #include "mlir/IR/MLIRContext.h"
 #include "mlir/Support/FileUtilities.h"
 #include "llvm/Support/CommandLine.h"
+#include "llvm/Support/ManagedStatic.h"
 #include "llvm/Support/ToolOutputFile.h"
 
 using namespace mlir;

diff  --git a/mlir/lib/IR/AsmPrinter.cpp b/mlir/lib/IR/AsmPrinter.cpp
index 2c43a6f15aa83..13eb18036eeec 100644
--- a/mlir/lib/IR/AsmPrinter.cpp
+++ b/mlir/lib/IR/AsmPrinter.cpp
@@ -43,6 +43,7 @@
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/Endian.h"
+#include "llvm/Support/ManagedStatic.h"
 #include "llvm/Support/Regex.h"
 #include "llvm/Support/SaveAndRestore.h"
 #include "llvm/Support/Threading.h"

diff  --git a/mlir/lib/Pass/PassCrashRecovery.cpp b/mlir/lib/Pass/PassCrashRecovery.cpp
index 3f3928ec8b61b..af3071e256601 100644
--- a/mlir/lib/Pass/PassCrashRecovery.cpp
+++ b/mlir/lib/Pass/PassCrashRecovery.cpp
@@ -19,6 +19,7 @@
 #include "llvm/ADT/SetVector.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/CrashRecoveryContext.h"
+#include "llvm/Support/ManagedStatic.h"
 #include "llvm/Support/Mutex.h"
 #include "llvm/Support/Signals.h"
 #include "llvm/Support/Threading.h"

diff  --git a/mlir/lib/Tools/mlir-translate/Translation.cpp b/mlir/lib/Tools/mlir-translate/Translation.cpp
index a39a4675c2762..baacfb413a3fe 100644
--- a/mlir/lib/Tools/mlir-translate/Translation.cpp
+++ b/mlir/lib/Tools/mlir-translate/Translation.cpp
@@ -17,6 +17,7 @@
 #include "mlir/IR/Verifier.h"
 #include "mlir/Parser/Parser.h"
 #include "mlir/Tools/ParseUtilities.h"
+#include "llvm/Support/ManagedStatic.h"
 #include "llvm/Support/SourceMgr.h"
 #include <optional>
 


        


More information about the Mlir-commits mailing list