Skip to content

Commit 7c6848a

Browse files
Update DecoderEmitter.cpp
1 parent c0e13d2 commit 7c6848a

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
@@ -2143,7 +2143,7 @@ populateInstruction(const CodeGenTarget &Target, const Record &EncodingDef,
21432143
// instruction! (This is a longstanding bug, which will be addressed in an
21442144
// upcoming change.)
21452145
if (OpInfo.numFields() > 0)
2146-
InsnOperands.push_back(OpInfo);
2146+
InsnOperands.push_back(std::move(OpInfo));
21472147
}
21482148
}
21492149
Operands[Opc] = InsnOperands;

0 commit comments

Comments
 (0)