llvm.org GIT mirror llvm / fafa283
Fix for r162954. Return the Error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162955 91177308-0d34-0410-b5e6-96231b3b80d8 Chad Rosier 7 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
53735373 ((ARMOperand*)Operands[5])->getReg()) &&
53745374 (((ARMOperand*)Operands[3])->getReg() !=
53755375 ((ARMOperand*)Operands[4])->getReg())) {
5376 Error(Operands[3]->getStartLoc(),
5377 "destination register must match source register");
5376 return Error(Operands[3]->getStartLoc(),
5377 "destination register must match source register");
53785378 }
53795379 break;
53805380 }