diff --git a/mlir/include/mlir/InitAllTranslations.h b/mlir/include/mlir/InitAllTranslations.h --- a/mlir/include/mlir/InitAllTranslations.h +++ b/mlir/include/mlir/InitAllTranslations.h @@ -17,6 +17,7 @@ namespace mlir { void registerFromLLVMIRTranslation(); +void registerFromSPIRVTranslation(); void registerToLLVMIRTranslation(); void registerToSPIRVTranslation(); void registerToNVVMIRTranslation(); @@ -29,6 +30,7 @@ inline void registerAllTranslations() { static bool init_once = []() { registerFromLLVMIRTranslation(); + registerFromSPIRVTranslation(); registerToLLVMIRTranslation(); registerToSPIRVTranslation(); registerToNVVMIRTranslation();