Add missing include to llvm Allocator.h
authorMehdi Amini <aminim@google.com>
Sat, 19 Oct 2019 19:10:34 +0000 (12:10 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Sat, 19 Oct 2019 19:11:01 +0000 (12:11 -0700)
This header is not self-contained otherwise.

PiperOrigin-RevId: 275651582

mlir/include/mlir/Support/StorageUniquer.h
mlir/lib/Support/StorageUniquer.cpp

index 1873df1..b7d95b6 100644 (file)
@@ -21,6 +21,7 @@
 #include "mlir/Support/STLExtras.h"
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/DenseSet.h"
+#include "llvm/Support/Allocator.h"
 
 namespace mlir {
 namespace detail {
index c004b61..3672c0f 100644 (file)
@@ -16,9 +16,8 @@
 // =============================================================================
 
 #include "mlir/Support/StorageUniquer.h"
+
 #include "mlir/Support/LLVM.h"
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/Support/Allocator.h"
 #include "llvm/Support/RWMutex.h"
 
 using namespace mlir;