[mlir][rocdl] Fix typo. NFC.

ROCLD -> ROCDL.

Differential Revision: https://reviews.llvm.org/D79441
This commit is contained in:
Wen-Heng (Jack) Chung
2020-05-07 11:54:18 +02:00
committed by Alex Zinenko
parent a99f62c40a
commit f649aca9f3
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ void registerFromSPIRVTranslation();
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 @@ inline void registerAllTranslations() {
registerToLLVMIRTranslation();
registerToSPIRVTranslation();
registerToNVVMIRTranslation();
registerToROCLDIRTranslation();
registerToROCDLIRTranslation();
registerAVX512ToLLVMIRTranslation();
return true;
}();

View File

@@ -98,7 +98,7 @@ std::unique_ptr<llvm::Module> mlir::translateModuleToROCDLIR(Operation *m) {
}
namespace mlir {
void registerToROCLDIRTranslation() {
void registerToROCDLIRTranslation() {
TranslateFromMLIRRegistration registration(
"mlir-to-rocdlir", [](ModuleOp module, raw_ostream &output) {
auto llvmModule = mlir::translateModuleToROCDLIR(module);