mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 21:53:12 +08:00
Fix a typo in error message.
PiperOrigin-RevId: 251681475
This commit is contained in:
@@ -57,7 +57,8 @@ TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(
|
||||
translationFromMLIRRegistry.end())
|
||||
llvm::report_fatal_error(
|
||||
"Attempting to overwrite an existing <from> function");
|
||||
assert(function && "Attempting to register an empty translate <to> function");
|
||||
assert(function &&
|
||||
"Attempting to register an empty translate <from> function");
|
||||
translationFromMLIRRegistry[name] = function;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user