summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-08-16 21:27:08 +0000
committerCraig Topper <craig.topper@gmail.com>2015-08-16 21:27:08 +0000
commitc4de7ee73d2e8a985e975a89de09feb84d5752a9 (patch)
tree8b6c4af23dc244fbe1034e1babf32304cfcdd578 /llvm/utils/TableGen
parentbb70d751de723894c57f9c3522f4218efba23821 (diff)
downloadbcm5719-llvm-c4de7ee73d2e8a985e975a89de09feb84d5752a9.tar.gz
bcm5719-llvm-c4de7ee73d2e8a985e975a89de09feb84d5752a9.zip
[TableGen] Move the ConversionRow vector into the ConversionTable instead of copying.
llvm-svn: 245190
Diffstat (limited to 'llvm/utils/TableGen')
-rw-r--r--llvm/utils/TableGen/AsmMatcherEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
index 8403aa56556..30dbb11b62a 100644
--- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp
+++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp
@@ -1974,7 +1974,7 @@ static void emitConvertFuncs(CodeGenTarget &Target, StringRef ClassName,
continue;
// Add the row to the table.
- ConversionTable.push_back(ConversionRow);
+ ConversionTable.push_back(std::move(ConversionRow));
}
// Finish up the converter driver function.
OpenPOWER on IntegriCloud