Fix a typo in error message.
authorMLIR Team <no-reply@google.com>
Wed, 5 Jun 2019 18:24:19 +0000 (11:24 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 9 Jun 2019 23:19:06 +0000 (16:19 -0700)
PiperOrigin-RevId: 251681475

mlir/lib/Translation/Translation.cpp

index be2fc35..0a5e96e 100644 (file)
@@ -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;
 }