#include "mlir/ExecutionEngine/JitRunner.h"
#include "mlir/ExecutionEngine/OptUtils.h"
#include "mlir/IR/Dialect.h"
-#include "mlir/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.h"
-#include "mlir/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.h"
+#include "mlir/Target/LLVMIR/Dialect/All.h"
#include "llvm/Support/InitLLVM.h"
#include "llvm/Support/TargetSelect.h"
mlir::initializeLLVMPasses();
mlir::DialectRegistry registry;
- mlir::registerLLVMDialectTranslation(registry);
- mlir::registerOpenMPDialectTranslation(registry);
+ mlir::registerAllToLLVMIRTranslations(registry);
return mlir::JitRunnerMain(argc, argv, registry);
}