[PATCH] D79441: [mlir][rocdl] Fix typo. NFC.

Wen-Heng (Jack) Chung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 13:31:20 PDT 2020


whchung created this revision.
whchung added a project: MLIR.
Herald added subscribers: llvm-commits, Kayjukh, frgossen, grosul1, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: ftynse.
Herald added a project: LLVM.

ROCLD -> ROCDL.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79441

Files:
  mlir/include/mlir/InitAllTranslations.h
  mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp


Index: mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
===================================================================
--- mlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
+++ 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);
Index: mlir/include/mlir/InitAllTranslations.h
===================================================================
--- mlir/include/mlir/InitAllTranslations.h
+++ 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;
   }();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79441.262206.patch
Type: text/x-patch
Size: 1310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200505/724ff4bc/attachment.bin>


More information about the llvm-commits mailing list