diff --git a/lib/TableGen/SetTheory.cpp b/lib/TableGen/SetTheory.cpp index 07c538159dc..f56b17acbfb 100644 --- a/lib/TableGen/SetTheory.cpp +++ b/lib/TableGen/SetTheory.cpp @@ -196,7 +196,7 @@ struct SequenceOp : public SetTheory::Operator { if (IntInit *II = dyn_cast(Expr->arg_begin()[2])) To = II->getValue(); else - PrintFatalError(Loc, "From must be an integer: " + Expr->getAsString()); + PrintFatalError(Loc, "To must be an integer: " + Expr->getAsString()); if (To < 0 || To >= (1 << 30)) PrintFatalError(Loc, "To out of range");