diff --git a/mlir/include/mlir/Support/CyclicReplacerCache.h b/mlir/include/mlir/Support/CyclicReplacerCache.h index d6d679f2782760..786bc49040d7e9 100644 --- a/mlir/include/mlir/Support/CyclicReplacerCache.h +++ b/mlir/include/mlir/Support/CyclicReplacerCache.h @@ -17,6 +17,8 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseSet.h" +#include "llvm/ADT/SmallVector.h" +#include #include #include diff --git a/mlir/unittests/Support/CyclicReplacerCacheTest.cpp b/mlir/unittests/Support/CyclicReplacerCacheTest.cpp index ca02a3d692b2a8..ca2eb6ce4171f7 100644 --- a/mlir/unittests/Support/CyclicReplacerCacheTest.cpp +++ b/mlir/unittests/Support/CyclicReplacerCacheTest.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "mlir/Support/CyclicReplacerCache.h" +#include "mlir/Support/LLVM.h" #include "llvm/ADT/SetVector.h" #include "gmock/gmock.h" #include