diff options
author | Quentin Colombet <qcolombet@apple.com> | 2016-12-22 21:56:35 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2016-12-22 21:56:35 +0000 |
commit | e08cc599b8af381e485d5514406e622d576e4f4c (patch) | |
tree | 31c006670316a4df37dc7d212e109ff9269c7312 /llvm/lib/CodeGen | |
parent | f38015e5fef7298f7f38ae5440442b16c33e8e92 (diff) | |
download | bcm5719-llvm-e08cc599b8af381e485d5514406e622d576e4f4c.tar.gz bcm5719-llvm-e08cc599b8af381e485d5514406e622d576e4f4c.zip |
[MIRParser] Fix a typo in comment and error message.
We have long switched from size to type.
llvm-svn: 290378
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/MIRParser/MIParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |