Skip to content

Commit 2ce9d2a

Browse files
Update DecoderEmitter.cpp
1 parent 7c6848a commit 2ce9d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/DecoderEmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2112,7 +2112,7 @@ populateInstruction(const CodeGenTarget &Target, const Record &EncodingDef,
21122112

21132113
addOneOperandFields(EncodingDef, Bits, TiedNames, SubOpName,
21142114
SubOpInfo);
2115-
InsnOperands.push_back(SubOpInfo);
2115+
InsnOperands.push_back(std::move(SubOpInfo));
21162116
}
21172117
continue;
21182118
}

0 commit comments

Comments
 (0)