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 @@ -21,7 +21,7 @@ void registerToLLVMIRTranslation(); void registerToSPIRVTranslation(); void registerToNVVMIRTranslation(); -void registerToROCLDIRTranslation(); +void registerToROCDLIRTranslation(); void registerAVX512ToLLVMIRTranslation(); // This function should be called before creating any MLIRContext if one @@ -34,7 +34,7 @@ registerToLLVMIRTranslation(); registerToSPIRVTranslation(); registerToNVVMIRTranslation(); - registerToROCLDIRTranslation(); + registerToROCDLIRTranslation(); registerAVX512ToLLVMIRTranslation(); return true; }(); diff --git a/mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp b/mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp --- a/mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp +++ b/mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp @@ -98,7 +98,7 @@ } namespace mlir { -void registerToROCLDIRTranslation() { +void registerToROCDLIRTranslation() { TranslateFromMLIRRegistration registration( "mlir-to-rocdlir", [](ModuleOp module, raw_ostream &output) { auto llvmModule = mlir::translateModuleToROCDLIR(module);