diff options
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.cpp')
| -rw-r--r-- | utils/TableGen/CodeGenInstruction.cpp | 13 | 
1 files changed, 7 insertions, 6 deletions
diff --git a/utils/TableGen/CodeGenInstruction.cpp b/utils/TableGen/CodeGenInstruction.cpp index 10602964e4850..e83d5033b1826 100644 --- a/utils/TableGen/CodeGenInstruction.cpp +++ b/utils/TableGen/CodeGenInstruction.cpp @@ -115,9 +115,9 @@ CGIOperandList::CGIOperandList(Record *R) : TheDef(R) {        PrintFatalError("In instruction '" + R->getName() + "', operand #" +                        Twine(i) + " has the same name as a previous operand!"); -    OperandList.push_back(OperandInfo(Rec, ArgName, PrintMethod, EncoderMethod, -                                      OperandNamespace + "::" + OperandType, -				      MIOperandNo, NumOps, MIOpInfo)); +    OperandList.emplace_back(Rec, ArgName, PrintMethod, EncoderMethod, +                             OperandNamespace + "::" + OperandType, MIOperandNo, +                             NumOps, MIOpInfo);      MIOperandNo += NumOps;    } @@ -320,6 +320,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R)    isRegSequence = R->getValueAsBit("isRegSequence");    isExtractSubreg = R->getValueAsBit("isExtractSubreg");    isInsertSubreg = R->getValueAsBit("isInsertSubreg"); +  isConvergent = R->getValueAsBit("isConvergent");    bool Unset;    mayLoad      = R->getValueAsBitOrUnset("mayLoad", Unset); @@ -641,9 +642,9 @@ CodeGenInstAlias::CodeGenInstAlias(Record *R, unsigned Variant,            // Take care to instantiate each of the suboperands with the correct            // nomenclature: $foo.bar -          ResultOperands.push_back( -              ResultOperand(Result->getArgName(AliasOpNo) + "." + -                            MIOI->getArgName(SubOp), SubRec)); +          ResultOperands.emplace_back(Result->getArgName(AliasOpNo) + "." + +                                          MIOI->getArgName(SubOp), +                                      SubRec);            ResultInstOperandIndex.push_back(std::make_pair(i, SubOp));           }           ++AliasOpNo;  | 
