[Mlir-commits] [mlir] 30bb5dc - Add missing header <atomic> in lib/IR/Verifier.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Tue Jun 8 10:09:05 PDT 2021


Author: Mehdi Amini
Date: 2021-06-08T17:08:55Z
New Revision: 30bb5dcb0a5cfe933136340318cbff2ba329a8c4

URL: https://github.com/llvm/llvm-project/commit/30bb5dcb0a5cfe933136340318cbff2ba329a8c4
DIFF: https://github.com/llvm/llvm-project/commit/30bb5dcb0a5cfe933136340318cbff2ba329a8c4.diff

LOG: Add missing header <atomic> in lib/IR/Verifier.cpp (NFC)

Fix the build on some platform.

Added: 
    

Modified: 
    mlir/lib/IR/Verifier.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/IR/Verifier.cpp b/mlir/lib/IR/Verifier.cpp
index 700e50425e88..ffb8236ffc70 100644
--- a/mlir/lib/IR/Verifier.cpp
+++ b/mlir/lib/IR/Verifier.cpp
@@ -34,6 +34,8 @@
 #include "llvm/Support/Parallel.h"
 #include "llvm/Support/PrettyStackTrace.h"
 
+#include <atomic>
+
 using namespace mlir;
 
 namespace {


        


More information about the Mlir-commits mailing list