diff --git a/src/codegen/llvm/llvm_common.h b/src/codegen/llvm/llvm_common.h index c16229f5f10a..5ec8bb3f2a9c 100644 --- a/src/codegen/llvm/llvm_common.h +++ b/src/codegen/llvm/llvm_common.h @@ -33,6 +33,12 @@ #include #include +#if TVM_LLVM_VERSION >= 100 +#include +#include +#include +#include +#endif #include #include #include @@ -44,7 +50,6 @@ #include #include #include -#include #include #include