diff options
author | Quentin Colombet <qcolombet@apple.com> | 2016-12-22 22:50:34 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2016-12-22 22:50:34 +0000 |
commit | 3749f33888c17a2e9d05b47666ebad72fe4c958f (patch) | |
tree | 4851dfe0991cd63f396386192fcbe3f395348607 /llvm/lib/CodeGen/MIRParser | |
parent | e0e451d9278e12f5d6411565e0cb17b9c57362ce (diff) | |
download | bcm5719-llvm-3749f33888c17a2e9d05b47666ebad72fe4c958f.tar.gz bcm5719-llvm-3749f33888c17a2e9d05b47666ebad72fe4c958f.zip |
[GlobalISel] More fix for the size vs. type typo. NFC.
I missed those in my previous commit (r290378).
llvm-svn: 290387
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser')
-rw-r--r-- | llvm/lib/CodeGen/MIRParser/MIParser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.cpp b/llvm/lib/CodeGen/MIRParser/MIParser.cpp index 35dab438738..c8bed0890dd 100644 --- a/llvm/lib/CodeGen/MIRParser/MIParser.cpp +++ b/llvm/lib/CodeGen/MIRParser/MIParser.cpp @@ -1042,12 +1042,12 @@ bool MIParser::parseRegisterOperand(MachineOperand &Dest, MRI.setType(Reg, Ty); } else if (TargetRegisterInfo::isVirtualRegister(Reg)) { - // Generic virtual registers must have a size. - // If we end up here this means the size hasn't been specified and + // Generic virtual registers must have a type. + // If we end up here this means the type hasn't been specified and // this is bad! if (RegInfo->Kind == VRegInfo::GENERIC || RegInfo->Kind == VRegInfo::REGBANK) - return error("generic virtual registers must have a size"); + return error("generic virtual registers must have a type"); } Dest = MachineOperand::CreateReg( Reg, Flags & RegState::Define, Flags & RegState::Implicit, |