Remove unused llvm/Support/Parallel.h from MLIR (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Tue, 14 Sep 2021 23:30:42 +0000 (23:30 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 14 Sep 2021 23:30:42 +0000 (23:30 +0000)
This header aren't needed anymore: MLIR is using a thread pool
injected in the context instead of a global one.

mlir/lib/IR/Verifier.cpp
mlir/lib/Pass/Pass.cpp
mlir/lib/Pass/PassCrashRecovery.cpp
mlir/lib/Transforms/Inliner.cpp

index 084fd8c..0b381d6 100644 (file)
@@ -33,7 +33,6 @@
 #include "mlir/IR/Threading.h"
 #include "llvm/ADT/StringMap.h"
 #include "llvm/Support/FormatVariadic.h"
-#include "llvm/Support/Parallel.h"
 #include "llvm/Support/PrettyStackTrace.h"
 #include "llvm/Support/Regex.h"
 #include <atomic>
index af86c4e..2e2df8b 100644 (file)
@@ -23,7 +23,6 @@
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/CrashRecoveryContext.h"
 #include "llvm/Support/Mutex.h"
-#include "llvm/Support/Parallel.h"
 #include "llvm/Support/Signals.h"
 #include "llvm/Support/Threading.h"
 #include "llvm/Support/ToolOutputFile.h"
index 8618073..c9b9166 100644 (file)
@@ -18,7 +18,6 @@
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/CrashRecoveryContext.h"
 #include "llvm/Support/Mutex.h"
-#include "llvm/Support/Parallel.h"
 #include "llvm/Support/Signals.h"
 #include "llvm/Support/Threading.h"
 #include "llvm/Support/ToolOutputFile.h"
index fe5643f..03219c4 100644 (file)
@@ -22,7 +22,6 @@
 #include "mlir/Transforms/Passes.h"
 #include "llvm/ADT/SCCIterator.h"
 #include "llvm/Support/Debug.h"
-#include "llvm/Support/Parallel.h"
 
 #define DEBUG_TYPE "inlining"