================ @@ -8,6 +8,7 @@ #include "mlir/Target/LLVMIR/Transforms/Passes.h" #include "mlir/Target/LLVMIR/Transforms/TargetUtils.h" +#include "llvm/ADT/SmallVectorExtras.h" ---------------- hanhanW wrote: ditto https://github.com/llvm/llvm-project/pull/178526