| commit | 943b212d56795064248a13adb13253d64ac51a8c | [log] [tgz] |
|---|---|---|
| author | abhishek-kaushik22 <abhishek.kaushik@intel.com> | Wed Jan 15 09:20:00 2025 -0800 |
| committer | GitHub <noreply@github.com> | Wed Jan 15 22:50:00 2025 +0530 |
| tree | db4f9d78c24fd223e6d2d72e8507088f7d80de5f | |
| parent | 06499f3672afc371b653bf54422c2e80e1e27c90 [diff] |
[TableGen] Use `std::move` to avoid copy (#123088)
diff --git a/llvm/utils/TableGen/DecoderEmitter.cpp b/llvm/utils/TableGen/DecoderEmitter.cpp index 90a6d0e..3f79de3 100644 --- a/llvm/utils/TableGen/DecoderEmitter.cpp +++ b/llvm/utils/TableGen/DecoderEmitter.cpp
@@ -2146,7 +2146,7 @@ InsnOperands.push_back(std::move(OpInfo)); } } - Operands[Opc] = InsnOperands; + Operands[Opc] = std::move(InsnOperands); #if 0 LLVM_DEBUG({