mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 21:53:12 +08:00
[mlir][rocdl] Fix typo. NFC.
ROCLD -> ROCDL. Differential Revision: https://reviews.llvm.org/D79441
This commit is contained in:
committed by
Alex Zinenko
parent
a99f62c40a
commit
f649aca9f3
@@ -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;
|
||||
}();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user