[Mlir-commits] [mlir] f649aca - [mlir][rocdl] Fix typo. NFC.
Alex Zinenko
llvmlistbot at llvm.org
Thu May 7 02:55:56 PDT 2020
Author: Wen-Heng (Jack) Chung
Date: 2020-05-07T11:55:47+02:00
New Revision: f649aca9f3a2d083b7decc06348302992659f3b3
URL: https://github.com/llvm/llvm-project/commit/f649aca9f3a2d083b7decc06348302992659f3b3
DIFF: https://github.com/llvm/llvm-project/commit/f649aca9f3a2d083b7decc06348302992659f3b3.diff
LOG: [mlir][rocdl] Fix typo. NFC.
ROCLD -> ROCDL.
Differential Revision: https://reviews.llvm.org/D79441
Added:
Modified:
mlir/include/mlir/InitAllTranslations.h
mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
Removed:
################################################################################
diff --git a/mlir/include/mlir/InitAllTranslations.h b/mlir/include/mlir/InitAllTranslations.h
index 8efae67df205..31ca0254cf89 100644
--- a/mlir/include/mlir/InitAllTranslations.h
+++ b/mlir/include/mlir/InitAllTranslations.h
@@ -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;
}();
diff --git a/mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp b/mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
index 1b511f4b61f4..34c39c0be2ea 100644
--- a/mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
+++ b/mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
@@ -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);
More information about the Mlir-commits
mailing list