From e08cc599b8af381e485d5514406e622d576e4f4c Mon Sep 17 00:00:00 2001 From: Quentin Colombet Date: Thu, 22 Dec 2016 21:56:35 +0000 Subject: [MIRParser] Fix a typo in comment and error message. We have long switched from size to type. llvm-svn: 290378 --- llvm/lib/CodeGen/MIRParser/MIParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/MIRParser') diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.cpp b/llvm/lib/CodeGen/MIRParser/MIParser.cpp index db513703332..35dab438738 100644 --- a/llvm/lib/CodeGen/MIRParser/MIParser.cpp +++ b/llvm/lib/CodeGen/MIRParser/MIParser.cpp @@ -1026,9 +1026,9 @@ bool MIParser::parseRegisterOperand(MachineOperand &Dest, } } } else if (consumeIfPresent(MIToken::lparen)) { - // Virtual registers may have a size with GlobalISel. + // Virtual registers may have a tpe with GlobalISel. if (!TargetRegisterInfo::isVirtualRegister(Reg)) - return error("unexpected size on physical register"); + return error("unexpected type on physical register"); LLT Ty; if (parseLowLevelType(Token.location(), Ty)) -- cgit v1.2.3